NOT IN is valid syntax, see http://www.w3.org/TR/sparql11-query/#func-not-in
Rob On 31/10/2013 22:44, "Tim Harsch" <harschw...@yahoo.com> wrote: >My thoughts as well, and also "NOT IN"? > > > > > >> On Thursday, October 31, 2013 2:54 PM, Andy Seaborne <a...@apache.org> >>wrote: >> > On 31/10/13 21:35, Tim Harsch wrote: >>> Hello, >>> >>> The docs at http://jena.apache.org/documentation/query/negation.html >>> >>> Say that "UNSAIDis an alias for NOT EXISTS" >>> >>> >>> I wasn't familiar with that keyword so gave it a try at sparql.org >>>and >> got: >>> >>> Error 400: Parse error: >>> # Names of people who have not stated that they know anyone >>> PREFIX foaf: <http://xmlns.com/foaf/0.1/> >>> SELECT ?name >>> WHERE { ?x foaf:givenName ?name . UNSAID { ?x foaf:knows ?who } } >> Lexical error at line 5, column 11. Encountered: " " (32), after : >> "UNSAID" Fuseki - version 1.0.0 (Build date: 2013-09-12T10:49:49+0100) >>> >>> Is this a documentation bug? >> >> Yes. Fixed (in staging). >> >> Andy >> >> It ought to mention MINUS as well. >> >> >>> >>> Thanks, >>> Tim >>> >>