On 14/07/14 08:39, [email protected] wrote:
Hello All,
How can i handle circular dependency in ontological model
For eg, i have a complex model more than 12.5 mb in size which has a
lot of statements like
A subclassof b
b subclassof a
That's not really a circular dependency, just means that a and b are
equivalent class.
I’m trying to load similar statements into an OntModel and execute the
following code
ExtendedIterator<OntClass> subClassEnumeration = ontClass.listSubClasses(true);
Above statements runs forever. Is there a way to overcome this ?
Should work. It may not be a loop, but performance issues. Are you using
a reasoner? If so which one? Try without a reasoner and see if you get
answers back.
Dave