Dear all,
I am working with Jena for a project in my university. I read an ontology into an OntModel and I use Jena methods to retrieve information. The problemI face is, that when a property has multiple domains, the listDomains method does not return the names of the OntClasses. It returns a result such as : -26ae10e7:141bb413933:-7fbb. I use SPARQL to query my OntModel and the results are the same. I only guess that this is an anonymous node and the multiple Classes that are domains, are under this "-26ae10e7:141bb413933:-7fbb"? Can I get the names/URIs of the classes? I am sorry if this issue is discussed earlier, I searched the archive a bit, but did not find anything similar. Regards, Tasos
