W3C home > Mailing lists > Public > public-json-ld-wg@w3.org > November 2019

Re: Using PATCH on JSON-LD?

From: Pierre-Antoine Champin <pierre-antoine.champin@univ-lyon1.fr>
Date: Mon, 18 Nov 2019 20:09:20 +0100
Message-ID: <CA+OuRR_ZVJ3ifB7keZXQOVWShSmLq+yhc-4qNiQ+j3m4-g2r7Q@mail.gmail.com>
To: Benjamin Young <byoung@bigbluehat.com>
Cc: Leonard Rosenthol <lrosenth@adobe.com>, W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
On Mon, 18 Nov 2019 at 20:00, Benjamin Young <byoung@bigbluehat.com> wrote:

>
> That actually patches the graph (and is cross format) vs. patching the
> representation of the graph.
>

Exactly

>
> It could probably do with a JSON-LD representation, though.
>

Amiright, Pierre-Antoine? ;)
>

This would not be straightforward, since LD-Patch is not encoded as an RDF
graph -- it has its own internal model, which is basically a sequence of
patching operations.

But I guess we could work on a flavour of LD-Patch which
* uses JSON-LD to describe the triples in each operation, or even
* uses JSON to encode the whole document...

best

>
> Cheers!
> Benjamin
>
> --
>
> http://bigbluehat.com/
>
> http://linkedin.com/in/benjaminyoung
> ------------------------------
> *From:* Leonard Rosenthol <lrosenth@adobe.com>
> *Sent:* Monday, November 18, 2019 1:37 PM
> *To:* W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
> *Subject:* Using PATCH on JSON-LD?
>
>
> Have anyone used JSON Patch (https://tools.ietf.org/html/rfc6902) on
> JSON-LD?   Are there any concerns about `@context` in this case?   What
> about schemas and validation?
>
>
>
> Thanks,
>
> Leonard
>
>
>
Received on Monday, 18 November 2019 19:09:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:15:27 UTC