[Pellet-users] Getting all equivalent classes

Pavel Klinov pklinov at clarkparsia.com
Thu Jun 19 14:22:18 UTC 2008


Pellet guys will correct me if I'm wrong, but I believe that *unless* 
there was a change to the ontology, getAllEquivalentClasses(..) won't 
lead to reclassification.
A quick examination of the code supports this: classify() function first 
checks if classification has been done and only then builds the taxonomy.

If you see a different behavior (i.e. you load the ontology, classify, 
don't change anything after that and then call 
getAllEquivalentClasses()) then please provide a code/ontology snippet 
and the version of Pellet.

cheers,
pavel

PS. Moreover, even ABox additions shouldn't lead to reclassification but 
I'm not fully sure about the current support of incremental reasoning in 
Pellet.

Carlos Bobed wrote:
>  Hi,
>  
>  I've a problem with the java API of Pellet. Everytime I call the
> getAllEquivalentClasses method in the KnowledgeBase class, the ontology
> is classified again first (as stated in the javadoc), which leads to a
> unbearable computational overhead in my system. Is there any way of
> disabling it? I mean, once the loaded ontology has been loaded and
> classified, there isn't worth classifying it again if I only want to
> obtain the equivalent classes. 
>
> Thanks in advance, 
>
>   


More information about the Pellet-users mailing list