W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > July 2012

Turtle parsing - follow up

From: Paul Gearon <pgearon@revelytix.com>
Date: Thu, 19 Jul 2012 11:06:21 -0400
Message-ID: <CAOQ8B2FEggKJTX_7iyA3ow5gWBPVqwDAp0Xwd+WVJKL3H44GJQ@mail.gmail.com>
To: public-rdf-dawg-comments <public-rdf-dawg-comments@w3.org>
Hi,

Since Turtle refers to SPARQL using it for TriplesBlock production, I
went there as a comparison.

SPARQL Query 4.1.2 "Syntax for Literals" points out that numbers can
be written directly (without quotes or datatype) as a convenience. The
text points out that the text remains unchanged, which is supported by
the example that is provided:
  1.300, which is the same as "1.300"^^xsd:decimal

So my presumption that canonicalization may be required appears to be incorrect.

Of course, any system that parses RDF may choose to canonicalize its
data. My point is that this is not a test that should be applied to
the parser.

Regards,
Paul Gearon
Received on Thursday, 19 July 2012 15:06:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 July 2012 15:06:50 GMT