W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > May 2009

[Query-errata] Small typo in "bound" query example

From: Jérôme Mainka <mainka@antidot.net>
Date: Thu, 14 May 2009 09:36:06 +0200
Message-Id: <72E0E447-23BE-4C92-BCF8-5C15B2F3954D@antidot.net>
To: public-rdf-dawg-comments@w3.org
Hi,

I spotted a small typo in the first query example in 11.4.1 bound.

The example reads:

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) ) }

It should be:

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) ) }


Jérôme Mainka

---
Antidot - Solutions de recherche et d'accès à l'information
Tél : 0950 28 37 46
Gsm: 06 78 88 57 44
Received on Thursday, 14 May 2009 07:36:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 May 2009 07:36:44 GMT