Re: How to import instances and its corresponding property values from database to an ontology
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/How-to-import-instances-and-its-corresponding-property-values-from-database-to-an-ontology-tp387p398.html
Hi,
In Owlready, ObjectProperties and DataProperties are implicitely disjoint (corresponding to OWL DL). You have nothing to do to assert it.
In your example, I think you should use a DataProperty instead of an ObjectProperty, since the values are restricted to string (str).
Best regards,
Jiba