- From: Philippe Duchesne <pduchesne@gmail.com>
- Date: Mon, 28 Jul 2014 23:16:06 +0200
- To: public-linked-json@w3.org
- Message-ID: <CAG9URtw2wp5L0tZet--m3+EtBCx9RXexfpufFHeNPa03eL__MQ@mail.gmail.com>
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 properties. 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 implementation 2. an extension of the compacting algorithm to allow the definition of multiple reverse statements for the same property, but different target types 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 approach. These features are available in the fork https://github.com/pduchesne/jsonld-java/tree/FRAMING_REVERSE . Tests for both features are in https://github.com/pduchesne/jsonld-java/blob/FRAMING_REVERSE/core/src/test/java/com/github/jsonldjava/core/JsonLdFramingTest.java . Inputs, frames and outputs for both tests are in https://github.com/pduchesne/jsonld-java/tree/FRAMING_REVERSE/core/src/test/resources/custom (framing-reverse-*.jsonld) . thank you, best regards, --p.
Received on Monday, 28 July 2014 21:16:33 UTC