ORDER BY and literals

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 UTC