Does OWLReasoner has a method that lets you get all object properties that have a specified class as their domain?
For instance, given the below ontology
city rdf:type owl:Class
country rdf:type owl:Class
isCaptialOf rdf:type owl:ObjectProperty
isCapitalOf rdfs:domain city
isCapitalOf rdfs:range country
I would like a method that does the following:
getObjectPropertyWithDomain(city) *returns* isCapitalOf