- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Tue, 28 Sep 2010 19:02:42 +0100
- To: SPARQL Working Group <public-rdf-dawg@w3.org>
In the draft response to a comment:
http://www.w3.org/2009/sparql/wiki/CommentResponse:PA-1
[[
Also, note that the actual syntax may still change, in fact, the group
is discussing whether to take your proposal on board to allow '+' as a
shortcut notation for string concatenation (fn:concat).
]]
There are several choices for the operator, or it could be a keyword (in
which case it can take a variable, but defined, number of arguments).
CONCAT(?a,?b,?c)
GROUP_CONCAT is related.
Less need for a separator as it's a definite list of variables:.
CONCAT(?a,",",?b,",",?c)
?a+","+?b+","+?c
CONCAT("(",?a,",",?b,")")
"("+?a+","+?b+")")
Andy
Received on Tuesday, 28 September 2010 18:03:18 UTC