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

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 UTC