This document is also available in these non-normative formats: SPARQL 1.2 .
Copyright © 2010-2019 ® (MIT, ERCIM, Keio, Beihang). W3C liability , trademark and document use rules apply.
This document report test subject conformance for and related specifications for SPARQL 1.2 Specifications Test Suites according to the requirements of the Evaluation and Report Language (EARL) 1.0 Schema [EARL10-SCHEMA].
This report is also available in alternate formats: JSON-LD
This document is merely a W3C-internal document. It has no official standing of any kind and does not represent consensus of the W3C Membership.
This report describes the state of implementation conformance at the time of publication.
This implementation report covers the implementations of the SPARQL 1.2 specifications which have submitted test results. It is intended to be maintained by the RDF Tests Community Group, or a RDF & SPARQL Working Group if one is active. The implementation report serves two purposes:
To demonstrate that there are multiple, independent implementations of the specifications. This is a prerequisite for progression of any standard to Recommendation.
To catalog the known, conforming implementations and which features each supports.
There may be other SPARQL 1.2 implementations which are not listed in this report, either due to not submitting tests or by not being intended as direct implementations of the specification, but instead layering on top of such libraries.
Reports should be submitted in Turtle format to Public RDF & SPARQL WG or via a Pull Request to the w3c/rdf-tests.
Tests should be run using the test manifests defined in the Test Manifests Section.
The assumed base URI for the tests is <http://example/base/> if needed.
Include an earl:Assertion for each test, referencing the test
resource from the associated manifest and the test subject being
reported upon. See the example below:
[ a earl:Assertion;
earl:assertedBy <--your-developer-identifier-->;
earl:subject <--your-software-identifier-->;
earl:test <--uri-of-test-from-manifest>;
earl:result [
a earl:TestResult;
earl:outcome earl:passed;
dc:date "2016-12-26T10:18:04-08:00"^^xsd:dateTime];
earl:mode earl:automatic ] .
The Test Subject should be defined as a doap:Project, including the name,
homepage and developer(s) of the software (see DOAP). Optionally, including the
project description and programming language. An example test subject description is the following:
<> foaf:primaryTopic <--your-software-identifier--> ;
dc:issued "2016-12-26T10:18:04-08:00"^^xsd:dateTime ;
foaf:maker <--your-developer-identifier--> .
<--your-software-identifier--> a doap:Project, earl:TestSubject, earl:Software ;
doap:name "My Cool Turtle Parser" ;
doap:release [
doap:name "--short name wih version number--";
doap:revision "--Software version number--" ;
doap:created "2020-02-19"^^xsd:date;
] ;
doap:developer <--your-developer-identifier--> ;
doap:homepage <--your-software-homepace--> ;
doap:description "--your-project-description--"@en ;
doap:programming-language "--your-implementation-language--" .
The software developer, either an organization or one or more individuals SHOULD be
referenced from doap:developer using FOAF. For example:
<--your-developer-identifier--> a foaf:Person, earl:Assertor;
foaf:name "--My Name--";
foaf:homepage <--my homepage--> .
Evaluation tests for triple terms in SPARQL 1.2
| Test |
Comunica SPARQL
(JavaScript) |
Attean
(Perl) |
|---|---|---|
| Test not-not: not-not | PASS | PASS |
| Test triple-on-literals: triple on literals | PASS | PASS |
| Test triple-on-str-literals: triple on string literals | PASS | PASS |
| Test triple-on-triple-terms: triple on triple terms | PASS | PASS |
| Test triple-on-undefs: triple on undefs | PASS | PASS |
| Percentage passed out of 5 Tests | 100.0% | 100.0% |
| Test |
Comunica SPARQL
(JavaScript) |
Attean
(Perl) |
|---|---|---|
| Test group01: Group-1 | PASS | PASS |
| Test select-variable-reuse: Reuse of SELECT variable in an aggregating query | PASS | PASS |
| Percentage passed out of 2 Tests | 100.0% | 100.0% |
| Test |
Comunica SPARQL
(JavaScript) |
Attean
(Perl) |
|---|---|---|
| Test haslang: hasLANG | PASS | PASS |
| Test haslangdir: hasLANGDIR | PASS | PASS |
| Test lang: LANG | PASS | PASS |
| Test langdir: LANGDIR | PASS | PASS |
| Test langdir-literal: LANGDIR with inline literals | PASS | PASS |
| Test langdir-literal-invalid: Literal with invalid base direction | PASS | PASS |
| Test strlang: STRLANG | PASS | PASS |
| Test strlangdir: STRLANGDIR | PASS | PASS |
| Test datatype: DATATYPE and rdf:dirLangString | PASS | PASS |
| Test concat: CONCAT and rdf:dirLangString | PASS | PASS |
| Test contains: CONTAINS and rdf:dirLangString | PASS | PASS |
| Test lang-case-match: Language tags differing in case: graph pattern match | UNTESTED | PASS |
| Test lang-case-strlang: Language tags differing in case: STRLANG | UNTESTED | PASS |
| Percentage passed out of 13 Tests | 84.6% | 100.0% |
Negative syntax tests for triple terms in SPARQL 1.2
Positive syntax tests for triple terms in SPARQL 1.2
| Test |
Comunica SPARQL
(JavaScript) |
Attean
(Perl) |
|---|---|---|
| Test langstring-datatype: DATATYPE on rdf:langString | PASS | PASS |
| Test plain-string-datatype: DATATYPE on plain string literal | PASS | PASS |
| Test plain-string-same: xsd:string and plain literals are the same | PASS | PASS |
| Percentage passed out of 3 Tests | 100.0% | 100.0% |
| Test |
Comunica SPARQL
(JavaScript) |
Attean
(Perl) |
|---|---|---|
| Test codepoint-esc-01-bad: codepoint-esc-01-bad.rq | PASS | PASS |
| Test codepoint-esc-02-bad: codepoint-esc-02-bad.rq | PASS | PASS |
| Test codepoint-esc-03-bad: codepoint-esc-03-bad.rq | PASS | PASS |
| Test codepoint-esc-04-bad: codepoint-esc-04-bad.rq | PASS | PASS |
| Test codepoint-esc-05: codepoint-esc-05.rq | PASS | PASS |
| Test codepoint-esc-06: codepoint-esc-06.rq | PASS | PASS |
| Test codepoint-esc-07: codepoint-esc-07.rq | PASS | PASS |
| Test codepoint-esc-08: codepoint-esc-08.rq | PASS | PASS |
| Test codepoint-esc-09: codepoint-esc-09.rq | PASS | PASS |
| Test surrogate-esc-01-bad: surrogate-esc-01-bad.rq | PASS | PASS |
| Test surrogate-esc-02-bad: surrogate-esc-02-bad.rq | PASS | PASS |
| Test surrogate-esc-03-bad: surrogate-esc-03-bad.rq | PASS | PASS |
| Test surrogate-esc-04-bad: surrogate-esc-04-bad.rq | PASS | PASS |
| Test surrogate-esc-05-bad: surrogate-esc-05-bad.rq | PASS | PASS |
| Percentage passed out of 14 Tests | 100.0% | 100.0% |
| Test |
Comunica SPARQL
(JavaScript) |
Attean
(Perl) |
|---|---|---|
| Test version-01: version-01.rq | PASS | PASS |
| Test version-02: version-02.rq | PASS | PASS |
| Test version-03: version-03.rq | PASS | PASS |
| Test version-04: version-04.rq | PASS | PASS |
| Test version-05: version-05.rq | PASS | PASS |
| Test version-06: version-06.rq | PASS | PASS |
| Test version-bad-01: version-bad-01.rq | PASS | PASS |
| Test version-bad-02: version-bad-02.rq | PASS | PASS |
| Test version-bad-03: version-bad-03.rq | PASS | PASS |
| Percentage passed out of 9 Tests | 100.0% | 100.0% |
This report was tested using the following test subjects:
| Evaluation Triple Terms | 41/41 (100.0%) |
| Expression | 5/5 (100.0%) |
| Grouping | 2/2 (100.0%) |
| Language and base direction | 11/13 (84.6%) |
| Negative Syntax Triple Terms | 65/65 (100.0%) |
| Positive Syntax Triple Terms | 113/113 (100.0%) |
| RDF 1.1 literals handling | 3/3 (100.0%) |
| SPARQL Codepoint-Escaping Tests | 14/14 (100.0%) |
| Version announcement | 9/9 (100.0%) |
| Evaluation Triple Terms | 41/41 (100.0%) |
| Expression | 5/5 (100.0%) |
| Grouping | 2/2 (100.0%) |
| Language and base direction | 13/13 (100.0%) |
| Negative Syntax Triple Terms | 65/65 (100.0%) |
| Positive Syntax Triple Terms | 113/113 (100.0%) |
| RDF 1.1 literals handling | 3/3 (100.0%) |
| SPARQL Codepoint-Escaping Tests | 14/14 (100.0%) |
| Syntax | 6/6 (100.0%) |
| Version announcement | 9/9 (100.0%) |
Individual test results used to construct this report are available here:
This report generated by earl-report version 0.9.1 is a Ruby application freely available under the generous terms of the Unlicense. More information is available at https://github.com/gkellogg/earl-report .
This software is provided by Gregg Kellogg in hopes that it might make the lives of conformance testers easier.