[Pellet-users] Sorting the class hierarchie

sjtirtha sjtirtha at gmail.com
Tue Jun 12 10:29:22 UTC 2007


Hi,

is there any sort-function for the class hierarchie in Pellet ? I want to
sort the superclasses of a class according to "direct superclass", "2nd
direct superclass", and so on.
I use "reasoner.getAncestorClasses()" to get the ancestor classes of a
OWLClass. As result I get a Set of OWLClasses, but they are not sorted.
I want to implement the sort-function for these classes using TreeSet and
Comparator interface, but if there is already sort-function from Pellet I
prefer to reuse it.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070612/cfd5f7d3/attachment.htm 


More information about the Pellet-users mailing list