lib/sparql/algebra/operator/notexists.rb in sparql-1.99.1 vs lib/sparql/algebra/operator/notexists.rb in sparql-2.0.0.beta1

- old
+ new

@@ -1,9 +1,11 @@ module SPARQL; module Algebra class Operator ## # The SPARQL logical `exists` operator. # + # There is a filter operator EXISTS that takes a graph pattern. EXISTS returns `true`/`false` depending on whether the pattern matches the dataset given the bindings in the current group graph pattern, the dataset and the active graph at this point in the query evaluation. No additional binding of variables occurs. The `NOT EXISTS` form translates into `fn:not(EXISTS{...})`. + # # @example # (prefix ((ex: <http://www.example.org/>)) # (filter (exists # (filter (notexists (bgp (triple ?s ?p ex:o2))) # (bgp (triple ?s ?p ex:o1))))