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 17:16:16 +0200
To: <public-owl-dev@w3.org>
Message-ID: <000001c7e8bd$38b35bd0$6e02a8c0@daheim.local>


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


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


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




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






And       <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?



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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:15 UTC