Re: Possible Errata re CONCAT and COALESCE for SPARQL 1.1 Query

good afternoon;

On 22 Aug 2013, at 11:45 AM, Steve Harris wrote:

> On 21 Aug 2013, at 18:09, Andy Seaborne <andy@apache.org> wrote:
> 
>>>>> [...]
>> 
>> I agree : zero=> "" and one => the one argument.
>> 
>> This would make CONCAT like GROUP_CONCAT.
> 
> OK, that would make sense then.
> 
> What does STR() return? If that's "" as well, then I think it's pretty clear that's the right answer.

str does not permit a variable number of arguments.

> 
>> It is worth defining as cases
>> 
>> CONCAT() -> ""
>> CONCAT("abc") -> "abc"
>> and the fn:concat for the other cases so as not to redefine "fn:concat"
>> 
>> GROUP_CONCAT already gets this right.

best regards, from berlin,

Received on Thursday, 22 August 2013 10:44:46 UTC