Difference between revisions of "SPARQL 1.0 Errata"

From SPARQL Working Group
Jump to: navigation, search
(SPARQL XML Results)
(SPARQL XML Results: moved to perm page)
Line 131: Line 131:
 
== SPARQL XML Results ==
 
== SPARQL XML Results ==
  
* The [http://www.w3.org/TR/rdf-sparql-XMLres/#examples example in 3.1] has data.n3 with "<em>Alice</em>" but the results has "<b>Alice</b>"
+
See http://www.w3.org/2001/sw/DataAccess/XMLres-errata for the official errata.
* The [http://www.w3.org/TR/rdf-sparql-XMLres/result-to-html.xsl example XSLT] should (for performance reasons) replace <tt>//res:head/res:variable</tt> with <tt>/res:sparql/res:head/res:variable</tt>. ([http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2009Apr/0000.html ref])
+
* The results format elements are in the namespace <tt>http://www.w3.org/2007/SPARQL/results#</tt>, rather than <tt>http://www.w3.org/2005/sparql-results#</tt>. ([http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2009Jun/0001.html ref])
+
* (Andy =>) The namespace in the REC is <tt>.../2005/sparql-results#</tt> -- better to fix the <tt>.../2007/SPARQL/result.*</tt> docs.
+
 
+
* http://lists.w3.org/Archives/Public/public-rdf-dawg/2010OctDec/0215.html : The schemas for SPARQL XML Results:
+
 
+
http://www.w3.org/2007/SPARQL/result.rng
+
http://www.w3.org/2007/SPARQL/result.rnc
+
http://www.w3.org/2007/SPARQL/result.xsd
+
 
+
includes the optional "index" attribute but that didn't make the final design and was dropped. It isn't in the W3C REC doc at http://www.w3.org/TR/rdf-sparql-XMLres/
+
* http://lists.w3.org/Archives/Public/public-rdf-dawg/2011JulSep/0013.html : a small problem in the "SPARQL Query Results XML Format" doc (http://www.w3.org/TR/rdf-sparql-XMLres/)... In its introduction, it says
+
 
+
"The SPARQL Query Language for RDF [SPARQL-QUERY] defines several
+
  Query Result Forms (SPARQL Query section 10). This document
+
  defines a SPARQL Results Document that encodes the variable
+
  binding query results from SELECT queries (SPARQL Query
+
  section 10.2) and boolean query results from ASK queries
+
  (SPARQL Query section 10.5)"
+
 
+
but the section numbering is wrong:  "SELECT" is 10.1 and "ASK" is 10.3.
+

Revision as of 14:31, 8 May 2012

 SPARQL Errata.

SPARQL/Query 1.0

Outstanding

Use of bold in "Definition: ..." is still inconsistent.

Section 12.4: Better would be (adds "for all")

set-union
   { μ1 | μ1 in Ω1, for all μ2 in Ω2, μ1 and μ2 are compatible and expr(merge(μ1, μ2)) is false }

Wording / Typos

(done)

  • In the table of contents, s/Restricting the Value/Restricting the Values/ to match the actual section name (ref)

(done)

  • In the change log, s/14 June 2007 Candidate Recommendation/12 November 2007 Proposed Recommendation/. (ref)

(not relevant anymore)

[52] AdditiveExpression ::= MultiplicativeExpression 
                           ( '+' MultiplicativeExpression | 
                             '-' MultiplicativeExpression | 
                                ( NumericLiteralPositive | NumericLiteralNegative )
                                ( ( '*' UnaryExpression ) | ( '/' UnaryExpression ) )? 
                            )*

(fixed in grammar - wil be correct when SPARQL 1.1 Grammar is finialized)

(done - unique might imply a semantic relationship - it's just the distinctness of terms that can be done here)

(done)

(done)

  • Below the definition of LeftJoin, the text that says "{ μ1 | μ1 in Ω1and μ2 in Ω2, and μ1 and μ2 are not compatible }" is not clear in the case where Ω2 is empty. (ref)

(Added text to clarify "or Ω2 is empty")

  • In the example in 10.3 ASK the boolean element should be a direct child of the sparql element; the results element should be removed. (ref)

(done)

(done)

(done)

(done)

  •  ?? Andy has a note about language tags and stores that canonicalize the case, but I'm not clear on what the erratum is.

??

(done)

(done)

(done)

(done)

triple ( M(s), M(p)*,* M(o) ) is in the second." ;

(done)

Notes (c) These conditions do not impose the SPARQL requirement that SG share*s* no blank nodes with AG or BGP. 2009JulSep/0358

(done)

Presentation

(done)

  • Avoid shrinking users' browsers text in HTML and CSS. (ref)

(style sheet will be cleared up for 1.1)

Miscellaneous

(done)

  • Definition of Basic Graph Pattern Matching & Pattern Instance Mapping. 2009JulSep/0358

(Not simple errata)

SPARQL/Protocol 1.0

  • In 2.2.1.5 DESCRIBE with simple RDF dataset, the opening rdf:RDF tag should be closed with a right angle bracket. (ref)
  • Throughout, right-angle brackets should be coded in the HTML as an entity > (ref)
  • In section 2, check usage of 'comprises'. (ref)
  • In 2.2, s/under constrained/under-constrained. (ref)
  • (Presentation). Request to not have individual horizontal scroll bars on PRE elements. (ref)

SPARQL XML Results

See http://www.w3.org/2001/sw/DataAccess/XMLres-errata for the official errata.