- From: David Wood <david@3roundstones.com>
- Date: Tue, 9 Apr 2013 13:22:31 -0400
- To: Thomas Visel <TVisel@algebraixdata.com>
- Cc: RDF WG <public-rdf-wg@w3.org>, Arthur Keen <AKeen@algebraixdata.com>
- Message-Id: <EA1F1679-80E0-4675-9CD3-0B2518188BD9@3roundstones.com>
Hi Thomas, Thank you for your comments. However, unless I misunderstand, I believe your comments are directed to the SPARQL Working Group [1] and not to the RDF Working Group. If so, your email should go to public-rdf-dawg-comments@w3.org. Regards, Dave -- http://about.me/david_wood [1] http://www.w3.org/2009/sparql/wiki/Main_Page On Apr 9, 2013, at 13:00, Thomas Visel <TVisel@algebraixdata.com> wrote: > Gentlemen, > While verifying our implementation of Sparql, I have encountered what several suspected problems in the grammar. > > 1st Case: The following production (in http://www.w3.org/TR/sparql11-query/#rUnaryExpression) permits decimal numbers of the following exemplary forms: ddd.d ddd.ddd .ddd . Decimals of the form ddd. are not permitted. > > [147] > DECIMAL > ::= > [0-9]* '.' [0-9]+ > > If this was not the intended result, the right-hand side of the production might better read as > > [0-9]* '.' [0-9]+ | [0-9] '.' > > The original motivation might be the conflicting use of a floating number in the object position of a triple, where a fraction-free float’s decimal point would conflict with the triple’s closing AND ‘.’ mark. > > The implications of leaving [147] as-is is that FILTER [?data > 29.] is not legal, a visible annoyance. > > > 2nd Case: There is a slight inconsistency in treatment of DECIMAL (per above) and DOUBLEs: > > [148] > DOUBLE > ::= > [0-9]+ '.' [0-9]* EXPONENT | '.' ([0-9])+ EXPONENT | ([0-9])+ EXPONENT > > For single precision DECIMAL, the leading digit is optional. For DOUBLE, a leading digit is mandatory. Is there a motivation for this difference? > > > My regards to the WG for taking 1.1 through to closure. > > Thomas A. Visel > AlgebraixData, Inc. > (512) 651-5834 >
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Tuesday, 9 April 2013 17:22:57 UTC