- From: Kendall Clark <kendall@monkeyfist.com>
- Date: Fri, 5 Aug 2005 19:42:50 -0400
- To: DAWG Mailing List <public-rdf-dawg@w3.org>
On Fri, Aug 05, 2005 at 05:49:11PM -0400, Kendall Clark wrote:
Argh... I should have said...
> --Query--
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
> PREFIX myfoaf: <http://clark.dallas.tx.us/kendall/foaf.rdf#>
>
> CONSTRUCT { myfoaf:kendall foaf:depiction <http://clark.dallas.tx.us/kendall/kendall.jpg>.
> myfoaf:kendall foaf:schoolHomepage <http://www.smu.edu/>.
> ?s ?p ?o.}
> WHERE { ?s ?p ?o.
> FILTER( ?s != myfoaf:kendall &&
> ?p != foaf:knows &&
> ?o != myfoaf:edd )}
WHERE { ?s ?p ?o.
FILTER( ?s != myfoaf:kendall &&
?p != foaf:knows &&
?o != myfoaf:edd)
FILTER( ?s != myfoaf:edd ) }
But it seems, from a quick look at the grammar, that there can only be one
FILTER in a WHERE? Is that correct? What's the reason for that restriction,
if so?
And is this legal instead?
WHERE { ?s ?p ?o.
FILTER( (?s != myfoaf:kendall || ?s != myfoaf:edd) &&
?p != foaf:knows &&
?o != myfoaf:edd) }
Cheers,
Kendall
Received on Friday, 5 August 2005 23:45:06 UTC