W3C home > Mailing lists > Public > public-rdf-comments@w3.org > October 2013

RDFLib plugin for JSON-LD implementation report

From: Niklas Lindström <lindstream@gmail.com>
Date: Thu, 10 Oct 2013 01:38:29 +0200
Message-ID: <CADjV5jcTv-cUJ6RgTnqqXNPyonjS5nZUafNeMVzP=CW7f-MNYA@mail.gmail.com>
To: public-rdf-comments <public-rdf-comments@w3.org>
Hello,

The Python-based JSON-LD plugin for RDFLib [1] passes 97% of the JSON-LD
tests for fromRdf and toRdf [2]. The EARL report in Turtle format can be
found at [3].

The four failing tests are:

* fromRdf-0002, toRdf-0035, toRdf-0101 – fail due to the underlying RDFLib
Literal implementation, which doesn't preserve the lexical represtation for
(e.g.) double values; and
* fromRdf-0008 – fails since compact lists-of-lists are supported in this
implementation, although it is now allowed per the specification.

The implementation also supports flattening, compaction and expansion, but
only to/from RDF graphs/datasets. It thus cannot be tested against the test
suite, which targets the directly JSON-based mechanics of the algorithms.

Cheers,
Niklas

[1] https://github.com/RDFLib/rdflib-jsonld
[2] http://json-ld.org/test-suite/
[3]
https://raw.github.com/json-ld/json-ld.org/b800e00be782c5dac8512510db82f970918513ac/test-suite/reports/rdflib-jsonld-earl.ttl
Received on Wednesday, 9 October 2013 23:39:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:58 UTC