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