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

Re: RDFLib plugin for JSON-LD implementation report

From: Niklas Lindström <lindstream@gmail.com>
Date: Tue, 22 Oct 2013 17:22:54 +0200
Message-ID: <CADjV5jdKzcQ0HGexH6m0ZsMLGv=TjhgfGjQLB2Lc71zQZYxLQg@mail.gmail.com>
To: Gregg Kellogg <gregg@greggkellogg.net>
Cc: public-rdf-comments <public-rdf-comments@w3.org>
Hello,

I have re-run the Python-based JSON-LD plugin for RDFLib [1] against the
official test suite. The only change is the addition of test toRdf-0119,
which this implementation passes.

Like before, it passes 97% of the JSON-LD tests for fromRdf and toRdf [2]
in total. The EARL report in Turtle format can be found at [3].

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/01c9b867ddd2f7ecc602192f1b7510eb491d221d/test-suite/reports/rdflib-jsonld-earl.ttl



On Thu, Oct 10, 2013 at 8:53 PM, Gregg Kellogg <gregg@greggkellogg.net>wrote:

> Niklas, thanks for the report, and congratulations on achieving such a
> level of conformance! I have integrated it into the updated JSON-LD
> Implementation report [4].
>
> I noticed the following errors in the report, which kept it from running
> smoothly the first time:
>
> * The Project description for <https://github.com/RDFLib/rdflib-jsonld#it>
> should reference a doap:developer, I added it as <
> https://github.com/RDFLib/rdflib-jsonld#it>.
>
>  Gregg Kellogg
> gregg@greggkellogg.net
>
> [4] http://json-ld.org/test-suite/reports/
>
> On Oct 9, 2013, at 4:38 PM, Niklas Lindström <lindstream@gmail.com> wrote:
>
> 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 Tuesday, 22 October 2013 15:23:52 UTC

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