Re: [TF-LIB] COALESCE is an unhelpful choice of name

On 15/11/2009 09:51, Steve Harris wrote:
> On 14 Nov 2009, at 20:07, Andy Seaborne wrote:
>
>> What about TRY ?
>>
>> TRY(xsd:integer(?x), 0)
>
> Try is a bit too much like Try/Catch.

Seems fine to me.

>
>> > What happens if all the terms are unbound? An error?
>>
>> I think it has to be an error and XXX(expression) without a default
>> value is a no-op.
>
> It's NULL in SQL. That makes most sense I think.

So we agree?  There is no NULL in SPARQL.  unbound, as a value is an error.

	Andy

>
> - Steve
>

Received on Sunday, 15 November 2009 16:01:21 UTC