W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > January 2006

Incorrect braces in Sparql test cases

From: Ian Davis <iand@internetalchemy.org>
Date: Mon, 16 Jan 2006 10:54:43 +0000
Message-ID: <43CB7B73.3090207@internetalchemy.org>
To: public-rdf-dawg-comments@w3.org

In the Sparql test cases[1] some of the test queries use round 
parentheses ( and ) rather than curly braces { and }

The grammer[2] appears to only allow the curly braces and this is 
supported by the prose.

One approved example using round parentheses is here:

http://www.w3.org/2001/sw/DataAccess/tests/data/simple2/dawg-tp-04.rq

I also believe the following to be incorrect, but not all of these are 
approved tests:

http://www.w3.org/2001/sw/DataAccess/tests/data/simple2/dawg-tp-01.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/simple2/dawg-tp-02.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/simple2/dawg-tp-03.rq

http://www.w3.org/2001/sw/DataAccess/tests/data/source-named/query-8.1.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/source-named/query-8.2.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/source-named/query-8.3.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/source-named/query-8.4.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/source-named/query-8.5.rq

http://www.w3.org/2001/sw/DataAccess/tests/data/SourceSimple/source-simple-01.rq

http://www.w3.org/2001/sw/DataAccess/tests/data/Syntax/syntax-001.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/Syntax/syntax-002.rq
http://www.w3.org/2001/sw/DataAccess/tests/data/Syntax/syntax-003.rq

http://www.w3.org/2001/sw/DataAccess/tests/data/unsaid-inference/query-01.rq


Is my interpretation of the grammar correct and should these tests be 
updated?

Ian

[1] http://www.w3.org/2001/sw/DataAccess/tests/
[2] http://www.w3.org/TR/rdf-sparql-query/#grammar
-- 
http://internetalchemy.org | http://purl.org/NET/iand
Working on... Spiral <http://www.semanticplanet.com/2005/spiral/>
Received on Monday, 16 January 2006 10:55:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:50 GMT