W3C home > Mailing lists > Public > public-linked-json@w3.org > December 2013

extracting frame from existing JSON-LD document?

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Mon, 09 Dec 2013 01:57:15 +0100
Message-ID: <52A5156B.7030902@wwelves.org>
To: Linked JSON <public-linked-json@w3.org>

I start helping little more with LevelGraph-JSONLD[1] and must right 
away admit that still don't fully understand internals of JSON-LD 
algorithms, including *framing*

At this moment on *put* we use 'Deserialize JSON-LD to RDF' algorithm 
and then store triples, which other extensions can also access (r/w) 
later on, for example LevelGraph-N3[2]

Let's imagine JSON-LD document with many nodes (no blank nodes) and 
various levels of nesting (embedding). I wonder if we could somehow 
extract frame from it which would later enable us to recreate it in the 
same form?

I might not want to save a copy of original document since after 
modifying triples it would become stale. But I would still like to 
recreate it in the same form but with latest data.

I could prepare practical example, but maybe someone can already answer 
this question. Maybe just to clarify it further:

Having only mentioned JSON-LD document

* can one extract from it frame which framing algorithm used to form it?
* do documents exist which have no particular frame that would form them?
* do documents exist where same document could come out as a result of 
applying different frames?

Thanks for any tips!

[1] https://github.com/mcollina/levelgraph-jsonld
[2] https://github.com/mcollina/levelgraph-n3
Received on Monday, 9 December 2013 00:56:57 UTC

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