W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2010

Re: Details of string operations

From: Gregory Williams <greg@evilfunhouse.com>
Date: Thu, 2 Dec 2010 01:10:17 -0500
Cc: SPARQL Working Group <public-rdf-dawg@w3.org>
Message-Id: <7765ABD0-DCEC-4CEE-BAF2-6CE199C61A2E@evilfunhouse.com>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
On Dec 1, 2010, at 5:30 PM, Andy Seaborne wrote:

> ENCODES(string)

You use "ENCODES" consistently in this email, but [1] had just "ENCODE". Is this a design decision or an oversight?

>   STARTS("abc"@en, "a"@en-UK) -> false  *** (could be error)

What about the reverse order: STARTS("abc"@en-UK, "a"@en) -> ?

> If the strings are a mix of simple literals, xsd:strings and LitLang and there are two or more different language tags
>   -> xsd:string
> 
> CONCAT("abc"@en, "def"@en-UK, "z"^^xsd:string) -> "abcdefz"

Based on your description, that should result in "abcdefz"^^xsd:string, right?

thanks,
.greg

[1] http://lists.w3.org/Archives/Public/public-rdf-dawg/2010OctDec/0283.html
Received on Thursday, 2 December 2010 06:11:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:44 GMT