W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2009

RE: [ACTION-18] use case on !ASK in FILTERS to emulate negation

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 25 May 2009 18:26:39 +0000
To: "public-rdf-dawg@w3.org" <public-rdf-dawg@w3.org>
Message-ID: <B6CF1054FDC8B845BF93A6645D19BEA3646C2E04CC@GVW1118EXC.americas.hpqcorp.net>
Simon,

"""
Another possibility would be a binary UNSAID operator, which behave as a join with the right operator returning

    * a set with the empty binding, if the pattern does not match or
    * the empty set, if the pattern does match. 

As a result, if the pattern matches, the current result will be discarded.
"""

I don't understand this - if it's a join, and returns the empty set, won't the overall result be empty.  It's not considering the possibilities one-by-one, taking into account the variables if it's a join.  

I've taken the liberty of writing a form that makes it FILTER-like informal description which does ground the second pattern with respect to the bindings in the first part.  Do reverse the change if you meant something else and I missed the point.

	Andy


Received on Monday, 25 May 2009 18:27:25 GMT

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