Re: How to create Object and Data Properties dynamically ?

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/How-to-create-Object-and-Data-Properties-dynamically-tp244p246.html

Hello,

Yes, your method should works!

You can define the range and domain as follows:

ontology_data_property.range = [range...]
ontology_data_property.domain = [domain...]

Best regards,
Jiba