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

Re: Details of string operations

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Thu, 02 Dec 2010 09:29:01 +0000
Message-ID: <4CF766DD.4020002@epimorphics.com>
To: Gregory Williams <greg@evilfunhouse.com>
CC: SPARQL Working Group <public-rdf-dawg@w3.org>


On 02/12/10 06:10, Gregory Williams wrote:
> 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?

Just a typo - corrected

>
>>    STARTS("abc"@en, "a"@en-UK) ->  false  *** (could be error)
>
> What about the reverse order: STARTS("abc"@en-UK, "a"@en) ->  ?

Same - false or error as we decide.

>> 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?

Yes, you're right.

	Andy

>
> thanks,
> .greg
>
> [1] http://lists.w3.org/Archives/Public/public-rdf-dawg/2010OctDec/0283.html
>
Received on Thursday, 2 December 2010 09:29:40 GMT

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