Re: Ontology tree

Posted by Sumit Purohit on
URL: http://owlready.306.s1.nabble.com/Ontology-tree-tp1178p1622.html

I am also trying to build an ontology tree But i see that owlready2 loads files differently.
I have three Owl ontologies in .nt format. A, B ,C
Both A, and B have classes which are rdfs:subClassOf classes defined in C

The issue is that parent of every class in A is listed as "C.nt.ClassName1" where as the parent of every class in B is listed as "C.ClassName1". (without ".nt"

Because of this, "Thing" only lists "C.nt.ClassName1" as its child so there is not way for me to traverse to classes of B using "Thing".

Why does owlready creates parent class names in two different ways ?

Thanks