I try to get all 'subclass-of' axioms of an ontology. I tried by using the following statement.

MyOntology.getAxioms(AxiomType.SUBCLASS_OF));

Effectively, it returns the ontology 'subclass-of' axioms, except for the first 'subclass-of' axiom which links OWL:Thing with my first ontology class.

I cannot understand why this link isn't taken into account in that case ?

Please, is there any way to get all 'subclass-of' axioms including those linking OWL:Thing with other classes ?

More Hasna Abioui's questions See All
Similar questions and discussions