Re: Syntax of MINUS

On 31 Mar 2010, at 09:13, Andy Seaborne wrote:

> Should the syntax of MINUS be like UNION with {} on the left-hand side
> 
> { { ?s a foaf:Person
>    ?s foaf:name ?name
>  }
>  MINUS
>  { ?s foaf:knows ?other }
> }
> 
> or without:
> 
> { ?s a foaf:Person .
>  ?s foaf:name ?name .
>  MINUS { ?s foaf:name ?name }
> }

My preference for the second one, saves a few editing process when adding / removing a MINUS clause from an existing query.
And I see MINUS more as a "negative FILTER" so it makes sense to me not to have these {} to the pattern before.

Alex.

> 
> Either works from a grammar point of view.
> 
> 	Andy
> 

--
Dr. Alexandre Passant
Digital Enterprise Research Institute
National University of Ireland, Galway
:me owl:sameAs <http://apassant.net/alex> .

Received on Wednesday, 31 March 2010 10:12:32 UTC