W3C test reports

Every npm test invocation runs the cached W3C suites and writes:

The EARL assertions use the original manifest test identifiers and record the actual result, its diagnostic, automatic test mode and the run date. Negative syntax cases pass when the input is rejected. Filtered runs refresh complete reports too; they do not reuse results from an earlier run.

Each report can be submitted to an implementation report as it is. The document names its topic and maker and when it was issued. The tested software is a doap:Project, earl:TestSubject and earl:Software with its release, homepage, repository, issue tracker, license and language. Its description names the suite and the commit it ran against, from upstream.json. The assertor is the maintainer.

node tools/submit-reports.js submits the reports of the latest release: after asking, it forks each repository under the account gh is logged in to and opens one pull request there, unless that repository already holds these reports. --dry-run prepares the branches and shows the pull requests without forking or pushing; --ref TAG picks another release.

Report Repository Path
SHACL 1.2 w3c/data-shapes shacl12-test-suite/reports/eyemind-shacl12-earl.ttl
SPARQL 1.2 RL w3c/data-shapes shacl12-test-suite/reports/sparql-rl/eyemind-sparql-rl-earl.ttl
RDF 1.2, per syntax w3c/rdf-tests rdf/rdf12/rdf-SYNTAX/reports/eyemind-rdf12-SYNTAX.ttl
SPARQL 1.2 queries w3c/rdf-tests sparql/sparql12/reports/eyemind-sparql12.ttl

The RDF report is split by syntax into the RDF 1.2 tests of Turtle, TriG, N-Triples, N-Quads and RDF/XML, and the SPARQL 1.2 report holds the tests under sparql/sparql12/, as the reports of those folders do.

The upstream suites are downloaded into .cache/ when missing and reused on subsequent runs. npm run sync refreshes them.

Failed RDF, SPARQL RL and SPARQL query cases fail npm test and appear as failed assertions in their reports. Broken harness resources and manifests also fail the run.

SPARQL query

The query report covers syntax and evaluation on RDF datasets from the manifest list and cached revision. At that revision all 1,085 cases pass. The selected manifests cover local query evaluation and query syntax. The separate federation, entailment-regime and result-format manifests are outside this report’s scope. The implementation tests exercise result serialization and query proofs.

SHACL

The SHACL report covers every case of the root manifest at the recorded revision: all 173 Core, 284 node-expression, 100 SHACL-SPARQL, 48 inference-rule and 4 UI ordering cases pass. An incorrect report, inferred graph or ordering is a failed case. node tools/shacltests.js --strict fails for any non-passing case. See the test summary for the per-suite totals.