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

Re: Turtle parsing - follow up

From: Paul Gearon <pgearon@revelytix.com>
Date: Thu, 19 Jul 2012 11:12:15 -0400
Message-ID: <CAOQ8B2FtvnYE7KF_BPKrDspo1prxAhdYMrh+xM2Z2_iRWkKAwQ@mail.gmail.com>
To: public-rdf-dawg-comments <public-rdf-dawg-comments@w3.org>
Apologies, this was destined for the RDF WG.

Regards,
Paul Gearon

On Thu, Jul 19, 2012 at 11:06 AM, Paul Gearon <pgearon@revelytix.com> wrote:
> 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:12:42 GMT

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