Re: How to import instances and its corresponding property values from database to an ontology
Posted by jui guram on
URL: http://owlready.306.s1.nabble.com/How-to-import-instances-and-its-corresponding-property-values-from-database-to-an-ontology-tp387p402.html
Hi Jiba,
Thank you for the response.The str is wrong on my part it has to be an integer since its a customer number.
But I want to use an Inverse functional property for customer number since its a Primary key?
and since Inverse Functional Property is a subclass of object property it will create a customerNumber object property.
I read some research papers which mentioned that for primary keys use inverse functional property.
What do you think is the best way to express primary keys in ontology?
Also, In my example why does it create a object property as well as a datatype property when i create a
Inverse Functional Property since you said they are disjoint implicitely.Also it creates a class with name customerNumber.
Regards,
Jui