Searching all object properties for specific individual
Posted by Martina on
URL: http://owlready.306.s1.nabble.com/Searching-all-object-properties-for-specific-individual-tp661.html
Good afternoon,
may I have a question? Is it possible to search all (e. g.) object properties for specific individual?
I can imagine that my ontology contains a name John and I would like to receive all its object properties with their values. Is it possible to do this without Sparql? I know that if I would like to receive all object properties from my ontology, I can do this: allObjectProperties = list(onto.object_properties()), where onto is a variable name with my loaded ontology.
Thank you very much for some feedback from you :-)
Best regards,
Martina