- From: Raf Guns <raf+w3c@randomseed.be>
- Date: Tue, 19 Feb 2008 12:58:43 +0100
- To: public-rdf-dawg-comments@w3.org
Hi all,
The first query example in section 11.4.1
(http://www.w3.org/TR/rdf-sparql-query/#func-bound) seems incorrect.
Currently, it says:
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?name
WHERE { ?x foaf:givenName ?givenName .
OPTIONAL { ?x dc:date ?date } .
FILTER ( bound(?date) ) }
which should become
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?name
WHERE { ?x foaf:givenName ?name .
OPTIONAL { ?x dc:date ?date } .
FILTER ( bound(?date) ) }
so the variable name in the SELECT clause matches with the variable
name in the WHERE clause. I couldn't find any mention of this issue,
which is why I'm signaling it here.
Kind regards,
--
Raf
Received on Wednesday, 20 February 2008 16:44:25 UTC