Re: MINUS vs. UNSAID

On 7 Jul 2009, at 01:58, Lee Feigenbaum wrote:
> Do you mean s/MINUS/UNSAID, I imagine
>
>> Result U3 (extrapolated from UNSAID results above):
>> ?who   ?nam  _:eve  "eve"
>
> If I understand UNSAID correctly, you'd do the above MINUS query as:
>
> ?who foaf:givenname ?name .
> UNSAID {
>  ?who foaf:holdsAccount ?act .
>  ?act foaf:accountName ?name .
> }
>
> "People with a certain name for whom it is unsaid that their account  
> has the same name."
>
> Is that right or wrong?
>
> If it's right, I find (to me) the UNSAID way to be a much more  
> natural way of writing this query - I'm not actually convinced the  
> MINUS version is any clearer than OPTIONAL + !bound :-)

Interesting, I find it easier to get my head around MINUS. For UNSAID  
with OPTIONAL I'd have to map that into a MINUS expression to figure  
out what (if anything) it meant.

- Steve

-- 
Steve Harris
Garlik Limited, 2 Sheen Road, Richmond, TW9 1AE, UK
+44(0)20 8973 2465  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 Tuesday, 7 July 2009 11:16:41 UTC