Re: Extracting properties with different namespaces
Posted by June27 on
URL: http://owlready.306.s1.nabble.com/Extracting-properties-with-different-namespaces-tp963p986.html
Thanks very much, that's clear now.
What's strange is that, using that same test ontology from above and the following code:
my_world = World()
onto = my_world.get_ontology("testontology.owl").load()
with onto:
class hasRelatedSynonym(AnnotationProperty): pass
The following returns an empty list:
list(onto.classes())[0].hasRelatedSynonym
Whereas this does not:
list(onto.classes())[0].label
I apologize if I'm missing something obvious!