[Pellet-users] Flat hierarchy

Georgios Meditskos gmeditsk at csd.auth.gr
Sun Mar 16 13:31:20 UTC 2008


Hi all,

is there any specific reason why Pellet does not take into account flat 
hierarchies?
For example, I you define a class, without any property, subclass or 
superclass,
the getClasses function returns an empty list.
For example, for the following simple ontology

<owl:Class rdf:ID="A" />
<owl:Class rdf:ID="B" />
<owl:Class rdf:ID="C" />

Pellet does not create any class. However, in the following ontology, 
the getClasses function returns the A and E classes.

<owl:Class rdf:ID="A" />
<owl:Class rdf:ID="B" />
<owl:Class rdf:ID="C" />
<owl:Class rdf:ID="E" >
  <rdfs:subClassOf rdf:resource="#A" />
</owl:Class>

Thank you.



More information about the Pellet-users mailing list