W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2010

Syntax of MINUS

From: Andy Seaborne <andy.seaborne@talis.com>
Date: Wed, 31 Mar 2010 09:13:48 +0100
Message-ID: <4BB3043C.50006@talis.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
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 }
}

Either works from a grammar point of view.

	Andy
Received on Wednesday, 31 March 2010 08:14:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:42 GMT