OWL 1.1: DataOneOf

Hi!

 

I want to use a DataOneOf-construct in the Range of a DatatypeProperty in an
OWL 1.1-Ontology, but I am not sure about the correct syntax. According to
http://www.webont.org/owl/1.1/rdf_mapping.html I tried the following two
things:

 

    <owl:DatatypeProperty rdf:about="#OrderState_OValue_enumeration">

        <rdfs:domain>

            <owl:Class rdf:about="#OrderState_OValue"/>

        </rdfs:domain>

        <rdfs:range>

            <owl:DataRange>

                <owl:oneOf "valid"^^xsd#string "invalid"^^xsd#string/>

                </owl:oneOf>

           </owl:DataRange>

        </rdfs:range>

    </owl:DatatypeProperty>

 

And       <owl:oneOf> 

<"valid"^^xsd#string/>

<"invalid"^^xsd#string/>

</owl:oneOf>

 

instead of <owl:oneOf "valid"^^xsd#string "invalid"^^xsd#string/>.

 

But both tries do not work (cant' even load the ontology any more)!

So can anybody please tell me the right usage of DataOneOf?

 

Thanks,

Gerd

Received on Monday, 27 August 2007 21:42:41 UTC