W3C home > Mailing lists > Public > public-sparql-dev@w3.org > October to December 2015

Call for Concensus: Update SPARQL 1.1 test suite to align with changes introduced in RDF 1.1

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Mon, 2 Nov 2015 16:32:41 -0800
Message-Id: <27A5D8EE-8C13-45C2-9D7F-21F1A228D34C@greggkellogg.net>
Cc: Gregory Williams <greg@evilfunhouse.com>
To: public-rdf-tests@w3.org, public-sparql-dev@w3.org
PR #21 https://github.com/w3c/rdf-tests/pull/21 proposes to remove strdt03 and strlang03 and replace them with strdt03-rdf11 and strlang03-rdf11 which are compatible with RDF 1.1 literal semantics.

The SPARQL 1.1 test suite expects "abc"^^xsd:string and
"DEF"^^xsd:string to produce an error when passed to STRDT and
STRLANG, leading to ?str1 being unbound in these tests. This is
because STRDT and STRLANG expect their first argument to a "simple
literal". However, in RDF 1.1 "simple literals" are merely syntactic
sugar for xsd:string datatyped literals. Therefore, both of these
literals should be acceptable to STRDT and STRLANG, yielding values
bound to ?str1.

The RDF Test Curation CG charter calls for a consensus to integrate these tests into the test suite. Also, following this, the tests at www.w3.org/2009/sparql/docs/tests/ should be either synchronized from, or redirected to https://w3c.github.io/rdf-tests/sparql11/.

Note that there are other changes to SPARQL tests being considered: https://github.com/w3c/rdf-tests/issues, so these may be batched together once resolved.

Gregg Kellogg
Received on Tuesday, 3 November 2015 00:33:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 3 November 2015 00:33:13 UTC