W3C home > Mailing lists > Public > public-sparql-dev@w3.org > April to June 2010

Re: Using CONSTRUCT to add language tag?

From: Bob DuCharme <bob@snee.com>
Date: Mon, 24 May 2010 10:05:00 -0400
Message-ID: <4BFA878C.5060902@snee.com>
To: Andy Seaborne <andy.seaborne@talis.com>
CC: Lee Feigenbaum <lee@thefigtrees.net>, public-sparql-dev@w3.org
Andy Seaborne wrote:
> fn:concat concentates strings but that does not mean it'll produce 
> strings with a language tag.
> fn:concat("abc","@en") -> "abc@en"
> is a plain string that just happens to end in the characters "@en".
> SPARQL 1.1 does introduce some constructors for RDF terms: one of them 
> is STRLANG to make a string with language tag:
> STRLANG("abc","en") -> "abc"@en
Well, that was easy to accommodate; after seeing on 
http://tech.groups.yahoo.com/group/jena-dev/message/43378 that ARQ 2.8.3 
adds support for STRLANG and realizing that although I was using ARQ 
2.8.2 I had apparently installed 2.8.3 a month ago, all I had to do was 
reset my ARQROOT to point to 2.8.3. Problem solved.

Thanks Andy!

Received on Monday, 24 May 2010 14:05:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:50 UTC