diff --git a/spec/latest/json-ld-api/index.html b/spec/latest/json-ld-api/index.html index 8912de62a..9be1b1d98 100644 --- a/spec/latest/json-ld-api/index.html +++ b/spec/latest/json-ld-api/index.html @@ -2829,12 +2829,14 @@

Algorithm

  • Add an @graph member to entry and set it to an empty array.
  • For each id-node pair in graph ordered by id, - add node to the @graph member of entry.
  • + add node to the @graph member of entry, + unless the only member of node is @id.
  • Initialize an empty array flattened.
  • For each id-node pair in default graph ordered by id, - add node to flattened.
  • + add node to flattened, + unless the only member of node is @id.
  • If context is null, return flattened.
  • Otherwise, return the result of compacting flattened according the Compaction algorithm passing context @@ -2911,9 +2913,6 @@

    Algorithm

  • If item is a blank node identifier, replace it with a newly generated blank node identifier passing item for identifier.
  • -
  • If graph has no member item, create one and initialize its - value to a JSON object consisting of a single member @id - whose value is item.
  • If element has an @value member, perform the following steps: