W3C home > Mailing lists > Public > public-linked-json@w3.org > January 2012

Remove media type parameter option "form=compacted" (ISSUE-69)

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Tue, 24 Jan 2012 19:37:46 +0800
To: "'Linked JSON'" <public-linked-json@w3.org>
Message-ID: <012501ccda8c$9ac54d40$d04fe7c0$@lanthaler@gmx.net>
I've just filed ISSUE-69 where I propose to drop the "form=compacted"
option. Would appreciate some feedback on this.

------%<----------

Similarly to the recently resolved ISSUE-14 we should consider to drop the
media type parameter option "form=compacted". The reason for this is that,
in contrast to the other two forms, i.e., expanded and normalized, it
doesn't carry any information.

An expanded JSON-LD document is one where all terms and prefixes have been
expanded to absolute IRIs and where all type and language coercions are
inline. This also removes all the contexts from the document.

A normalized document is an expanded document where all blank nodes are
deterministically labeled. This allows graphs of different structures to be
converted to the same output graph and serialized in a deterministic way.
That's at least my understanding of it and I might be wrong as this is still
being discussed as part of ISSUE-53.

The compacted form, on the contrary, has no special structure. The output
completely depends on the context passed to the compaction algorithm as such
it is more a mechanism towards framing than a *document form*. I thus
believe we should remove the media type parameter option for it from the
syntax document.


-------%<-----------

https://github.com/json-ld/json-ld.org/issues/69


--
Markus Lanthaler
@markuslanthaler
Received on Tuesday, 24 January 2012 11:38:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:36 GMT