W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2005

Re: construct test case, revised

From: Kendall Clark <kendall@monkeyfist.com>
Date: Mon, 8 Aug 2005 16:08:01 -0400
To: Dan Connolly <connolly@w3.org>
Cc: DAWG Mailing List <public-rdf-dawg@w3.org>
Message-ID: <20050808200801.GF18555@monkeyfist.com>

On Mon, Aug 08, 2005 at 01:28:54PM -0500, Dan Connolly wrote:

> I'm not sure what the syntax rules are, but multiple FILTERs,
> i.e. FILTER e1 FILTER 2 would surely mean the same thing as
> FILTER e1 && e2, right?

Yes. I was just finding them easier to read.

> I think what you want is
> 
>   FILTER ( ! (
>      ?s == myfoaf:kendall && ?p == foaf:knows && ?o == myfoaf:edd ) )
> 
> or if there's another triple you want to filter out:
> 
>   FILTER ( ! (
>      ?s == myfoaf:kendall && ?p == foaf:knows && ?o == myfoaf:edd )
>      && ! ( ?s = subj && ?p = pred && ?o = obj ) )
> 
> and so on.

Yep, that works. Wordy as hell, but it works. Thanks.

Kendall
Received on Monday, 8 August 2005 20:10:16 GMT

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