W3C home > Mailing lists > Public > public-rdf-star@w3.org > August 2020

Re: SPARQL* test suite

From: Jeen Broekstra <jb@metaphacts.com>
Date: Fri, 28 Aug 2020 10:37:17 +1000
Message-ID: <CAD8Bno-7cYb5gfM8FcXmO9pdc0fiov0q48TAJ+cQw5BpPpxgqw@mail.gmail.com>
To: Ruben Taelman <ruben.taelman@ugent.be>
Cc: public-rdf-star@w3.org
RDF4J has several tests related RDF*/SPARQL*, though currently none in the
W3C manifest form (they could be converted to that probably), for example:

-
https://github.com/eclipse/rdf4j/blob/master/core/queryparser/sparql/src/test/java/org/eclipse/rdf4j/query/parser/sparql/TestSparqlStarParser.java
  Test cases specific to parsing SPARQL* queries and updates
-
https://github.com/eclipse/rdf4j/blob/master/testsuites/repository/src/main/java/org/eclipse/rdf4j/repository/RDFStarSupportTest.java
  Test cases for basic handling of RDF* data in a triplestore, as well as
basic SPARQL* queries
-
https://github.com/eclipse/rdf4j/blob/master/core/rio/turtle/src/test/java/org/eclipse/rdf4j/rio/turtlestar/TurtleStarParserTest.java
   test cases for working with the extended Turtle* format
-
https://github.com/eclipse/rdf4j/blob/master/core/queryresultio/sparqljson/src/test/java/org/eclipse/rdf4j/query/resultio/sparqljson/SPARQLJSONTupleTest.java

   Test cases for extended SPARQL Json Query result format (RDF4J, Jena,
and Stardog variants)

Caveat that a lot of it is specific to RDF4J functionality (e.g. testing
fallback mechanisms in case a database or parser does not support RDF* or
SPARQL*).

An agreed-upon set of generic test cases in manifest form would be useful,
though I fully suspect that we will opening ourselves up to a lot of
confusion and conflicting views, as most implementations seem to have very
diverging ideas on what RDF*/SPARQL* is (or isn't). But perhaps that's all
to the good :)

Jeen


On Fri, 28 Aug 2020 at 01:45, Ruben Taelman <ruben.taelman@ugent.be> wrote:

> Dear all,
>
> I was wondering if anyone already has a test suite lying around for
> SPARQL*,
> similar to the SPARQL 1.1 test suite [1].
>
> If not, I would be happy to volunteer in creating one.
> The repo from the RDF Tests CG [2] may be a good place for this,
> but I’m open to alternatives.
>
> [1] https://w3c.github.io/rdf-tests/sparql11/
> [2] https://github.com/w3c/rdf-tests
>
> Kind regards,
> Ruben Taelman
>
>
>

-- 
Dr Jeen Broekstra
*principal software engineer*

jb@metaphacts.com
www.metaphacts.com

[image: htps://www.metaphacts.com/] <https://www.metaphacts.com/>
Received on Friday, 28 August 2020 00:37:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 28 August 2020 00:37:44 UTC