In the OWL API, I am unable to find a way to retrieve the equivalent class for a datatype that defines an enumeration of valid values. When I have an OWLDatatype in hand, how do I get a set of allowed values?
[I tried pasting RDF/XML as a code block here, but it doesn't work. I even looked at the markdown help. Please tell me how to do that.]
The ontology is using the following construct:
- rdfs:Datatype
- owl:equivalentClass
- rdfs:Datatype
- owl:oneOf
- rdf:Description
- rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"
- rdf:Description
- owl:oneOf
- rdfs:Datatype
- owl:equivalentClass
owl:equivalentClassandowl:oneOfwith a funky RDF way of listing the values. - Jim L.