NOT IN is value expression - the others are pattern related.
It's just another way of saying !=
NOT IN(?x,1,2,3) is, by definition,
(?x != 1) && (?x != 2) && (?x != 3)
Tim - if you'd like to propose some text, we can refine the documentation.
Andy
On 01/11/13 22:56, Tim Harsch wrote:
Hi Rob,
I should have been more clear. Andy confirmed UNSAID should be removed from
documentation, and said MINUS was missing from the documentation, and I was
suggesting NOT IN is also missing.
Tim
On Friday, November 1, 2013 9:40 AM, Rob Vesse <rve...@dotnetrdf.org> wrote:
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