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

ORDER BY and literals

From: John Snelson <John.Snelson@marklogic.com>
Date: Tue, 6 Nov 2012 16:29:32 -0800
To: "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
Message-ID: <85A89DA2-5F7C-40DD-BEA0-0EB4A3752EBC@marklogic.com>
The specification for "ORDER BY"[1] contains the following sentence:

"A plain literal is lower than an RDF literal with type xsd:string of the same lexical form."

Since the definition of the DATATYPE() function [2] describes the type of a simple literal as xsd:string, this sentence does not make any sense.

I suggest that the sentence quoted above be removed. In addition, the entries in the "variable bindings in ascending order" table relating to simple literals and literals typed explicitly as xsd:string needs to be revised.

John

[1] http://www.w3.org/TR/sparql11-query/#modOrderBy
[2] http://www.w3.org/TR/sparql11-query/#func-datatype
Received on Wednesday, 7 November 2012 00:29:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 00:29:56 GMT