Abstract

This document report test subject conformance for and related specifications for RDF 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

Status of This Document

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.

Table of Contents

Introduction

This implementation report covers the implementations of the RDF 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:

  1. To demonstrate that there are multiple, independent implementations of the specifications. This is a prerequisite for progression of any standard to Recommendation.

  2. To catalog the known, conforming implementations and which features each supports.

There may be other RDF 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.

Instructions for submitting implementation reports

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--> .

3. Test Manifests

3.1 RDF 1.2 N-Triples Canonicalization Test Suite

Test rdf12conv
(Python)
Test comment_following_triple: C14N comment_following_triple PASS
Test extra_whitespace-01: C14N extra_whitespace-01 PASS
Test extra_whitespace-02: C14N extra_whitespace-02 PASS
Test extra_whitespace-03: C14N extra_whitespace-03 PASS
Test extra_whitespace-04: C14N extra_whitespace-04 PASS
Test langtagged_string: C14N langtagged_string PASS
Test dirlangtagged_string: C14N literal with base direction ltr PASS
Test literal_all_controls: C14N literal_all_controls PASS
Test literal_all_punctuation: C14N literal_all_punctuation PASS
Test literal_ascii_boundaries: C14N literal_ascii_boundaries PASS
Test literal_with_2_dquotes: C14N literal_with_2_dquotes PASS
Test literal_with_2_squotes: C14N literal_with_2_squotes PASS
Test literal_with_BACKSPACE: C14N literal_with_BACKSPACE PASS
Test literal_with_CARRIAGE_RETURN: C14N literal_with_CARRIAGE_RETURN PASS
Test literal_with_CHARACTER_TABULATION: C14N literal_with_CHARACTER_TABULATION PASS
Test literal_with_dquote: C14N literal_with_dquote PASS
Test literal_with_FORM_FEED: C14N literal_with_FORM_FEED PASS
Test literal_with_LINE_FEED: C14N literal_with_LINE_FEED PASS
Test literal_with_numeric_escape4: C14N literal_with_numeric_escape4 PASS
Test literal_with_numeric_escape8: C14N literal_with_numeric_escape8 PASS
Test literal_with_REVERSE_SOLIDUS: C14N literal_with_REVERSE_SOLIDUS PASS
Test literal_with_REVERSE_SOLIDUS2: C14N literal_with_REVERSE_SOLIDUS2 PASS
Test literal_with_squote: C14N literal_with_squote PASS
Test literal_with_string_dt: C14N literal_with_string_dt PASS
Test literal_with_extra_whitespace: C14N literal_with_extra_whitespace PASS
Test literal_with_UTF8_boundaries: C14N literal_with_UTF8_boundaries PASS
Test minimal_whitespace-01: C14N minimal_whitespace-01 PASS
Test minimal_whitespace-02: C14N minimal_whitespace-02 PASS
Test triple-term-01: C14N triple-term-01 PASS
Test triple-term-02: C14N triple-term-02 PASS
Test triple-term-03: C14N triple-term-03 PASS
Test triple-term-04: C14N triple-term-04 PASS
Test nt-syntax-uri-01: C14N nt-syntax-uri-01 PASS
Test nt-syntax-uri-02: C14N nt-syntax-uri-02 PASS
Test nt-syntax-uri-03: C14N nt-syntax-uri-03 PASS
Test nt-syntax-uri-04: C14N nt-syntax-uri-04 PASS
Test nt-syntax-str-esc-01: C14N nt-syntax-str-esc-01 PASS
Test nt-syntax-str-esc-02: C14N nt-syntax-str-esc-02 PASS
Test nt-syntax-str-esc-03: C14N nt-syntax-str-esc-03 PASS
Test literal_needing_uchar_escaping-01: C14N literal_needing_uchar_escaping-01 PASS
Test literal_needing_uchar_escaping-02: C14N literal_needing_uchar_escaping-02 PASS
Percentage passed out of 41 Tests 100.0%

3.2 RDF 1.2 N-Triples Syntax Tests

Test Attean
(Perl)
rdf12conv
(Python)
n3
(JavaScript)
Test ntriples12-01: N-Triples-12 - object triple term PASS PASS PASS
Test ntriples12-02: N-Triples-12 - object triple term, no whitespace PASS PASS PASS
Test ntriples12-03: N-Triples-12 - Nested, no whitespace PASS PASS PASS
Test ntriples12-bnode-1: N-Triples-12 - Blank node subject PASS PASS PASS
Test ntriples12-nested-1: N-Triples-12 - Nested object term PASS PASS PASS
Test ntriples-langdir-1: N-Triples literal with base direction ltr PASS PASS PASS
Test ntriples-langdir-2: N-Triples literal with base direction rtl PASS PASS PASS
Test ntriples-version-1: N-Triples with version announcement PASS UNTESTED UNTESTED
Test ntriples12-bad-01: N-Triples-12 - Bad - reified triple as predicate PASS PASS PASS
Test ntriples12-bad-02: N-Triples-12 - Bad - reified triple, literal subject PASS PASS PASS
Test ntriples12-bad-03: N-Triples-12 - Bad - reified triple, literal predicate PASS PASS PASS
Test ntriples12-bad-04: N-Triples-12 - Bad - reified triple, blank node predicate PASS PASS PASS
Test ntriples12-bad-05: N-Triples-12 - Bad - triple term as predicate PASS PASS PASS
Test ntriples12-bad-06: N-Triples-12 - Bad - triple term, literal subject PASS PASS PASS
Test ntriples12-bad-07: N-Triples-12 - Bad - triple term, literal predicate PASS PASS PASS
Test ntriples12-bad-08: N-Triples-12 - Bad - triple term, blank node predicate PASS PASS PASS
Test ntriples12-bad-09: N-Triples-12 - Bad - reified triple object PASS PASS PASS
Test ntriples12-bad-10: N-Triples-12 - Bad - triple term as subject PASS PASS PASS
Test ntriples12-bad-iri-1: N-Triples - Bad - invalid IRI PASS PASS PASS
Test ntriples12-bad-reified-1: N-Triples-12 - Bad - subject reified triple PASS PASS PASS
Test ntriples12-bad-reified-2: N-Triples-12 - Bad - object reified triple PASS PASS PASS
Test ntriples12-bad-reified-3: N-Triples-12 - Bad - subject and object reified triples PASS PASS PASS
Test ntriples12-bad-reified-4: N-Triples-12 - Bad - predicate reified triple PASS PASS PASS
Test ntriples12-bnode-bad-annotated-syntax-1: N-Triples-12 - Bad - annotated triple, blank node subject PASS PASS PASS
Test ntriples12-bnode-bad-annotated-syntax-2: N-Triples-12 - Bad - annotated triple, blank node object PASS PASS PASS
Test ntriples-langdir-bad-1: N-Triples literal- Bad - undefined base direction PASS PASS PASS
Test ntriples-langdir-bad-2: N-Triples literal- Bad - upper case LTR PASS PASS PASS
Test ntriples-langdir-bad-3: N-Triples - Bad - literal with missing language tag PASS PASS PASS
Test ntriples-langdir-bad-4: N-Triples - Bad - literal with bad language tag PASS PASS PASS
Test ntriples-langdir-bad-5: N-Triples - Bad - literal with missing language tag and direction PASS PASS PASS
Test ntriples-version-bad-1: N-Triples with version announcement with wrong case PASS UNTESTED UNTESTED
Test ntriples-version-bad-2: N-Triples with version announcement with non-string (numeric) PASS UNTESTED UNTESTED
Test ntriples-version-bad-3: N-Triples with version announcement with non-string (IRI) PASS UNTESTED UNTESTED
Test ntriples-version-bad-4: N-Triples with turtle-style version announcement PASS UNTESTED UNTESTED
Percentage passed out of 34 Tests 100.0% 85.3% 85.3%

A. Test Subjects

This report was tested using the following test subjects:

A.1 Attean
Release
0.040
Programming Language
Perl
Home Page
https://github.com/kasei/attean
Developer
Test Suite Compliance
RDF 1.2 N-Triples Syntax Tests 34/34 (100.0%)
A.2 rdf12conv
Release
unknown
Programming Language
Python
Home Page
https://github.com/domel/rdf12conv
Developer
Test Suite Compliance
RDF 1.2 N-Triples Canonicalization Test Suite 41/41 (100.0%)
RDF 1.2 N-Triples Syntax Tests 29/34 (85.3%)
A.3 n3
Description
Lightning fast, asynchronous, streaming Turtle / N3 / RDF library.
Release
unknown
Programming Language
JavaScript
Home Page
https://github.com/rdfjs/N3.js
Developer
Test Suite Compliance
RDF 1.2 N-Triples Syntax Tests 29/34 (85.3%)

B. Individual Test Results

Individual test results used to construct this report are available here:

C. Report Generation Software

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.