Re: Searching all object properties for specific individual
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Searching-all-object-properties-for-specific-individual-tp661p662.html
Hi,
I think you mean "search all the properties for which individual x has at least one relation"?
This can be done with already using x.get_properties(). You can also filter ObjectProperty as follows :
for Prop in x.get_properties():
if isinstance(Prop, ObjectPropertyClass):
....
For SPARQL, I am not an expert, but maybe someone else could help you.
Best regards,
Jiba