The ontology I am currently working with contains some enumeration datatypes defined the following way:
<rdfs:Datatype rdf:about="
http://my.ontology.com/plm/production/isa95#scheduleStateEnum"> <owl:equivalentClass>
<rdfs:Datatype>
<owl:oneOf>
<rdf:List>
<rdf:rest>
<rdf:List>
<rdf:rest rdf:resource="
http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> <rdf:first>Released</rdf:first>
</rdf:List>
</rdf:rest>
<rdf:first>Forcast</rdf:first>
</rdf:List>
</owl:oneOf>
</rdfs:Datatype>
</owl:equivalentClass>
</rdfs:Datatype>
Now I want to derieve the list values (Released / Forcast) from the DataType using the owlready2 python module but cannot find a way to access them. Could you please send some advice how to access the values from the list.
thanks a lot, Christian