W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2006

Comparing xsd:strings

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 06 Feb 2006 15:43:31 +0000
Message-ID: <43E76EA3.4060001@hp.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>

Ordering results delegates to "<" where possible but in working through some
comments I found:

  >> simple literal denotes a plain literal with no language tag.
which is not an xsd:string

but it also says in red text:
  >> A simple literal is a Unicode string, which correlates to an xsd:string.

"11.3 Operator Mapping" does not cover "<" applied to xsd:string, only simple
literals, numerics and xsd:dateTime's  This is despite the fact it is defined
in terms of (F&O) using op:numeric-equal(fn:compare(A, B)...)

If the cases for "<", ">", ">=", "<=" are added for xsd:string/xsd:string 
(same defn as the operator on simple literal), then SPARQL covers comparisons 
of xsd:strings (and ORDER BY will autmatically pick it up).

Received on Monday, 6 February 2006 15:44:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:50 UTC