[Pellet-users] Flat hierarchy
Pavel Klinov
pklinov at clarkparsia.com
Sun Mar 16 17:48:35 UTC 2008
A simple workaround is to define your classes as subclasses of Thing.
cheers,
--pavel
Georgios Meditskos wrote:
> 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.
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>
>
More information about the Pellet-users
mailing list