Hi again,

I have a ontology model created with "OntModelSpec.OWL_MEM_TRANS_INF".

Given the original ontology I added some new "subclass" relations
between some classes (using addSubClass and addSuperClass methods).

Now I have a class A that is a subclass of B and C.
And another class D that is subclass of A.

(these results are given by hasSubClass method)


Given this model I should get the result that D is a subclass of B and
C. But for some reason I'm not getting that result (again using
hasSubClass method)
Does this mean that the model does not fully update the new inferred
relations between classes ? What should I do?

It is odd, because A is only a subclass (not direct one) of C after
the addition of the new relations, i.e. A subclass C is inferred.

Any ideas ?!

Thanks!

Reply via email to