W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > July 2008

Small error in example used in SPARQL spec section 10.3 ASK

From: Jordi Albornoz Mulligan <jordi@cambridgesemantics.com>
Date: Mon, 30 Jun 2008 18:39:36 -0400
Message-ID: <486960A8.8050802@cambridgesemantics.com>
To: public-rdf-dawg-comments@w3.org

Hello,

I haven't seen this noted anywhere yet so I wanted to point it out in
case it can be corrected in the future.

The ASK example in the SPARQL query spec disagrees with the SPARQL Query
Results XML Format recommendation (http://www.w3.org/TR/rdf-sparql-XMLres/).

See http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#ask

The erroneous example is as follows:
<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
  <head></head>
  <results>
    <boolean>true</boolean>
  </results>
</sparql>

The results XML format rec requires the 'boolean' element be a child of
the 'sparql' element. Similarly, the JSON serialization note has that
structure as well: http://www.w3.org/TR/rdf-sparql-json-res/

-- 
Jordi Albornoz Mulligan
Founding Engineer - Cambridge Semantics
jordi@cambridgesemantics.com
(617) 401-7321
Received on Wednesday, 2 July 2008 15:26:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 July 2008 15:26:54 GMT