W3C home > Mailing lists > Public > public-linked-json@w3.org > July 2014

framing and @reverse - java implementation proposal

From: Philippe Duchesne <pduchesne@gmail.com>
Date: Mon, 28 Jul 2014 23:16:06 +0200
Message-ID: <CAG9URtw2wp5L0tZet--m3+EtBCx9RXexfpufFHeNPa03eL__MQ@mail.gmail.com>
To: public-linked-json@w3.org
Hello all,

I am using jsonld-java in a project to expose content of a triple store to
a webapp using a legacy JSON object structure.
To achieve that, i use framing, and I need a context with @reverse

I have implemented two features for which I would like to get feedback from
this mailing list :
 1. the support for @reverse properties in the framing algorithm
 2. an extension of the compacting algorithm to allow the definition of
multiple reverse statements for the same property, but different target

In particular, the second feature involves an extension of the spec that
re-uses the @type property of reverse statements. I would need confirmation
from people with a deeper understanding of the spec that this is a correct

These features are available in the fork
https://github.com/pduchesne/jsonld-java/tree/FRAMING_REVERSE .
Tests for both features are in
Inputs, frames and outputs for both tests are in
(framing-reverse-*.jsonld) .

thank you,
best regards,

Received on Monday, 28 July 2014 21:16:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:42 UTC