[Pellet-users] Disjoint classes

Tiziano Furlan t.furlan at gmail.com
Wed Apr 9 21:29:12 UTC 2008


Hi,

 

I'm having some troubles with the kb.getDisjointClasses method using the
KnowledgeBase interface.

 

Here is the output of the class tree from kb.printClassTree():

 

owl:Thing = a:C

--- a:D

--- a:E

------ a:F

--- a:G

------ a:H

 

E and F are set as disjoint using kb.addDisjointClass(E, G)

 

When I call, for example, kb.getDisjointClasses(E), as a return value I get
just H and not (as I thought) also G. Is this correct?

 

Thank you,

Tiziano

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080409/19714ef3/attachment.htm 


More information about the Pellet-users mailing list