[Pellet-users] Flat hierarchy
Georgios Meditskos
gmeditsk at csd.auth.gr
Sun Mar 16 13:59:02 UTC 2008
Yes this is a solution.
However my question is why Pellet does not infer this relationship,
since every class is subsumed by owl:Thing,
according to OWL specifications.
Pavel Klinov wrote:
> 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