W3C home > Mailing lists > Public > public-owl-dev@w3.org > July to September 2007

OWL 1.1: DataOneOf

From: Gerd Pühl <gerd.puehl@arcor.de>
Date: Mon, 27 Aug 2007 16:59:03 +0200
To: <public-owl-dev@w3.org>
Message-ID: <000001c7e8ba$cf47d1a0$6e02a8c0@daheim.local>
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 tell me the right usage of DataOneOf?

 

Thanks,

Gerd
Received on Monday, 27 August 2007 21:42:41 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 09:32:55 GMT