W3C home > Mailing lists > Public > public-owl-comments@w3.org > March 2013

There seems to be a typo on http://www.w3.org/TR/owl2-primer/#Advanced_Use_of_Datatypes

From: Thomas Grainger <tagrain@gmail.com>
Date: Sat, 30 Mar 2013 16:32:33 +0000
Message-ID: <CABnLcR5FvczR66b8WYrpqeojXuKPyQcgUGs=DXGNL9VFDM5ZNQ@mail.gmail.com>
To: public-owl-comments@w3.org
Public OWL Comments at the W3,

The Manchester syntax for the first example of
http://www.w3.org/TR/owl2-primer/#Advanced_Use_of_Datatypes

is as follows:

Datatype: personAge
   EquivalentTo: integer[<= 0 , >= 150]

However converting this to the functional syntax, using
http://owl.cs.manchester.ac.uk/converter/

I get:

Declaration(Datatype(:personAge))

DatatypeDefinition(
  :personAge
  DatatypeRestriction( xsd:integer
     xsd:*max*Inclusive "0"^^xsd:integer
     xsd:*min*Inclusive "150"^^xsd:integer)
  )
)

which is not the functional syntax as defined in the OWL2 Primer:

 DatatypeDefinition(
   :personAge
   DatatypeRestriction( xsd:integer
     xsd:*min*Inclusive "0"^^xsd:integer
     xsd:*max*Inclusive "150"^^xsd:integer
   )
 )

I believe the correct Manchester syntax for this part should be:

Datatype: personAge
   EquivalentTo: integer[>= 0 , <= 150]

Thanks,

Thomas Grainger
Received on Saturday, 30 March 2013 16:33:22 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 30 March 2013 16:33:22 UTC