From 1208d52f3236ae66d15782ff6b8c75ba7374fe3b Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 6 Dec 2018 15:19:28 -0800 Subject: [PATCH 1/2] Add note to IRI Compaction algorithm on the importance of ordering values of _containers_. Fixes w3c/json-ld-syntax#75. --- index.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 5acce5eb..7fe5af36 100644 --- a/index.html +++ b/index.html @@ -3043,9 +3043,13 @@

Algorithm

element from the value of @preserve as value.
  • Initialize containers to an empty array. This array will be used to keep track of an ordered list of - preferred container mapping - for a term, based on what is compatible with - value.
  • + preferred container mapping for a term, + based on what is compatible with value. +
    + Algorithm steps may append the same value to containers, + but the order in which they are added is significant for choosing the most appropriate term. +
    +
  • Initialize type/language to @language, and type/language value to @null. These two variables will keep track of the preferred From 2d20859d335926046de6e81ec04319f00c114dfb Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 6 Dec 2018 15:43:32 -0800 Subject: [PATCH 2/2] Update issues. --- index.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/index.html b/index.html index 7fe5af36..8b1cec53 100644 --- a/index.html +++ b/index.html @@ -5563,16 +5563,11 @@

    Security Considerations

    Open Issues

    The following is a list of issues open at the time of publication.

    -

    Provide a way to compact terms, but not value objects or node references.

    Allow @type to have a @container specification, such as @set.

    Define a "streaming profile" for JSON-LD to help parse data from a stream, rather than require the entire document to be in memory. Also to generate documents that can be so streamed. This would aid in using JSON-LD as a dataset dump format where there are a very large number of quads.

    -

    Provide a way to not compact node references.

    -

    Remove requirement that dictionary memberes to either processed in lexographical order or generated in lexographical order.

    Problems importing contexts which reference other common contexts and result in an error.

    -

    -

    Currently, the algorithms are quite proscriptive on how blank node identifiers are named, principally to make it easier to test the results, however for some things this becomes difficult or impossible, and inhibits algorithms from being conformant based on a strict textual/structural validation of the results.

    For @graph containers, use the generated graph name identifier as the default subject for nodes in that graph.

    -

    +

    Option to specify level of compaction for literals & resources.