Raf Guns wrote: > 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. Hi Raf, This is indeed an error in the example. Thanks for pointing it out. LeeReceived on Wednesday, 20 February 2008 17:58:13 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 February 2008 17:58:13 GMT