Re: Details of string operations

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 UTC