W3C home > Mailing lists > Public > public-owl-comments@w3.org > July 2009

error in OWL-XML example

From: Dmitry Repchevsky <dmitry.repchevski@bsc.es>
Date: Wed, 01 Jul 2009 17:17:05 -0700
Message-ID: <4A4BFC81.3050301@bsc.es>
To: public-owl-comments@w3.org
Hello,

In
http://www.w3.org/TR/2009/WD-owl2-primer-20090611/#Datatypes

********************************************
 <DatatypePropertyDomain>
   <DatatypeProperty IRI="hasAge"/>
   <Class IRI="Person"/>
 </DatatypePropertyDomain>
 <DatatypePropertyRange>
   <DatatypeProperty IRI="hasAge"/>
   <Datatype IRI="http://www.w3.org/2001/XMLSchema#NonNegativeInteger"/>
 </DatatypePropertyRange>
********************************************
IMHO should be:
********************************************
 <DataPropertyDomain>
   <DataProperty IRI="hasAge"/>
   <Class IRI="Person"/>
 </DataPropertyDomain>
 <DataPropertyRange>
   <DataProperty IRI="hasAge"/>
   <Datatype IRI="http://www.w3.org/2001/XMLSchema#NonNegativeInteger"/>
 </DataPropertyRange>
********************************************

Yours sincerely

Dmitry
Received on Thursday, 2 July 2009 06:28:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:40:22 UTC