Re: Negation section text updated.

On 2010-05-20, at 20:05, Andy Seaborne wrote:

> 
> 
> On 20/05/2010 9:23 AM, Steve Harris wrote:
>>> >  Note that there are two syntax for negation :
>>> >
>>> >  filter(not exists PAT)
>>> >
>>> >  filter(! exists PAT)
>> However, NOT doesn't appear to by a synonym of !, so it's not legal to write FILTER(NOT ?x=1), which seems a little odd.
>> 
>> I think we should either add a NOT operator, or remove NOT from EXISTS, and just use !.
>> 
> 
> NOT is used in two places:
> 
>    NOT EXISTS
>    ?x NOT IN (1,2,3)

Ah, OK, didn't know we had NOT IN, in that case I don't think it makes sense to have a general NOT.

- Steve

-- 
Steve Harris, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD

Received on Thursday, 20 May 2010 19:33:39 UTC