That's because everything in OWL is a subclass of Thing.
what can i do to calculate level of concepts?
"everything in OWL is a subclass of Thing." if i want to suppose only direct subclasses,then what can i do?
If you are using Jena then you can use `OntClass.listSubClasses(boolean direct)'.
Others maybe able to help you more if you give an example of what you are trying to achieve in the original question.
联系客服
ok. my current need is to calculate distance between "thing" and other classes. but OntTools.findShortestPath give me always 1.