Re: Ontology tree
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Ontology-tree-tp1178p1186.html
Sorry, I think I have confounded OWL Thing and Class in my previous response!
Thing.subclasses() returns all classes that have only Thing as parent, or that have no parent al all. So it corresponds to what you want.
By the way, I've optimized Thing.subclasses() in the development version of Owlready; it is now much faster on large ontologies.
Jiba