Update LC docs and diffs
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 09 Apr 2013 20:11:17 +0200
changeset 1579 4c2e96b11a29
parent 1578 1815738f939a
child 1580 cfe437150851
Update LC docs and diffs
spec/WD/json-ld-api/20130411/diff-20120712.html
spec/WD/json-ld-api/20130411/index.html
spec/WD/json-ld/20130411/diff-20120712.html
spec/WD/json-ld/20130411/index.html
--- a/spec/WD/json-ld-api/20130411/diff-20120712.html	Tue Apr 09 20:10:43 2013 +0200
+++ b/spec/WD/json-ld-api/20130411/diff-20120712.html	Tue Apr 09 20:11:17 2013 +0200
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.1//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd'>
-<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" prefix='bibo: http://purl.org/ontology/bibo/' typeof="bibo:Document">
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" typeof="bibo:Document">
 <head>
 <title>JSON-LD 1.0 Processing Algorithms and API</title>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
@@ -17,7 +17,7 @@
     font-style: italic;
   }
 </style>
-<style>
+<style type="text/css">
 /* --- INLINES --- */
 em.rfc2119 {
     text-transform:     lowercase;
@@ -128,7 +128,7 @@
 .section dl.attrs dd, .section dl.eldef dd {
     margin-bottom:  0;
 }
-</style><style>/* --- EXAMPLES --- */
+</style><style type="text/css">/* --- EXAMPLES --- */
 div.example-title {
     min-width: 7.5em;
     color: #b9ab2d;
@@ -160,14 +160,14 @@
 aside.example div.example div.example-title {
     color: #999;
 }
-</style><style>/* --- ISSUES/NOTES --- */
+</style><style type="text/css">/* --- ISSUES/NOTES --- */
 div.issue-title, div.note-title {
     padding-right:  1em;
     min-width: 7.5em;
     color: #b9ab2d;
 }
 div.issue-title { color: #e05252; }
-div.note-title { color: #52e052; }
+div.note-title { color: #2b2; }
 div.issue-title span, div.note-title span {
     text-transform: uppercase;
 }
@@ -182,7 +182,7 @@
     border-left-style: solid;
 }
 div.issue, div.note {
-    padding: 0.5em;
+    padding: 1em 1.2em 0.5em;
     margin: 1em 0;
     position: relative;
     clear: both;
@@ -199,7 +199,7 @@
 }
 
 
-</style><style>/* --- WEB IDL --- */
+</style><style type="text/css">/* --- WEB IDL --- */
 pre.idl {
     border-top: 1px solid #90b8de;
     border-bottom: 1px solid #90b8de;
@@ -428,10 +428,7 @@
     border-collapse:    collapse;
     width:  100%;
 }
-</style><link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WD" />
-<!--[if lt IE 9]><script src='http://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]-->
-
-<!--[if lt IE 9]><script src='http://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]-->
+</style><link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-WD" />
 <style type='text/css'>
 .diff-old-a {
   font-size: smaller;
@@ -546,7 +543,7 @@
 <dt>
 Editors:
 </dt>
-<dd rel="bibo:editor" inlist="">
+<dd rel="bibo:editor">
 <span typeof="foaf:Person">
 <del class="diff-old">Manu
 Sporny
@@ -568,7 +565,7 @@
 </a>
 </span>
 </dd>
-<dd rel="bibo:editor" inlist="">
+<dd rel="bibo:editor">
 <span typeof="foaf:Person">
 <a rel="foaf:homepage" property="foaf:name" content="Gregg Kellogg" href="http://greggkellogg.net/">
 Gregg
@@ -580,7 +577,7 @@
 </a>
 </span>
 </dd>
-<dd rel="bibo:editor" inlist="">
+<dd rel="bibo:editor">
 <span typeof="foaf:Person">
 <del class="diff-old">Dave
 Longley
@@ -736,7 +733,7 @@
 </p>
 <hr />
 </div>
-<section id="abstract" class="introductory" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#abstract" rel="bibo:chapter">
+<div id="abstract" class="introductory section" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#abstract" rel="bibo:chapter">
 <h2>
 Abstract
 </h2>
@@ -852,8 +849,8 @@
 usage.
 </ins>
 </p>
-</section>
-<section id="sotd" class="introductory" typeof="bibo:Chapter" resource="#sotd" rel="bibo:chapter">
+</div>
+<div id="sotd" class="introductory section" typeof="bibo:Chapter" resource="#sotd" rel="bibo:chapter">
 <h2>
 Status
 of
@@ -1478,8 +1475,8 @@
 Policy
 </a>.
 </p>
-</section>
-<section id="toc">
+</div>
+<div class="section" id="toc">
 <h2 class="introductory">
 Table
 of
@@ -1783,11 +1780,11 @@
 </ins>
 </a>
 </li>
+<li class="tocline">
 <del class="diff-old">3.4.6
 Blank
 Node
 </del>
-<li class="tocline">
 <a href="#term-selection" class="tocxref">
 <span class="secno">
 <del class="diff-old">3.4.6.1
@@ -2159,8 +2156,8 @@
 </ul>
 </li>
 </ul>
-</section>
-<section class="informative" id="introduction">
+</div>
+<div class="informative section" id="introduction">
 <h2>
 <span class="secno">
 1.
@@ -2407,16 +2404,8 @@
 </cite>
 ].
 </p>
-</section>
-<section class="informative" id="features">
-<h2>
-<span class="secno">
 <del class="diff-old">1.1
-</del>
-<ins class="diff-chg">2.
-</ins>
-</span>
-<del class="diff-old">Contributing
+Contributing
 There
 are
 a
@@ -2469,10 +2458,7 @@
 mailing
 list:
 [email protected]
-</del>
-<ins class="diff-chg">Features
-</ins></h2>
-<del class="diff-old">Public
+Public
 JSON-LD
 Community
 Group
@@ -2530,9 +2516,7 @@
 public-rdf-comments
 mailing
 list.
-</del>
-<p>
-<del class="diff-old">Source
+Source
 code
 for
 the
@@ -2546,25 +2530,32 @@
 #json-ld
 IRC
 channel
-</del>
-<em>
-<ins class="diff-chg">This
-section
-</ins>
-is
-<del class="diff-old">available
+is
+available
 for
 real-time
 discussion
 on
 irc.freenode.net.
 </del>
-<ins class="diff-chg">non-normative.
-</ins></em>
-<del class="diff-old">2.
-Introduction
-</del>
-</p>
+</div>
+<div class="informative section" id="features">
+<h2>
+<span class="secno">
+2.
+</span>
+<del class="diff-old">Introduction
+</del>
+<ins class="diff-chg">Features
+</ins>
+</h2>
+<p>
+<em>
+<ins class="diff-new">This
+section
+is
+non-normative.
+</ins></em></p>
 <p>
 The
 JSON-LD
@@ -2854,7 +2845,7 @@
 RDF
 conversion.
 </p>
-<section class="informative" id="expansion">
+<div class="informative section" id="expansion">
 <h3>
 <span class="secno">
 2.1
@@ -3473,8 +3464,8 @@
 regular
 structure.
 </p>
-</section>
-<section class="informative" id="compaction">
+</div>
+<div class="informative section" id="compaction">
 <h3>
 <span class="secno">
 2.2
@@ -3990,8 +3981,8 @@
 developer.
 </ins>
 </p>
-</section>
-<section class="informative" id="flattening">
+</div>
+<div class="informative section" id="flattening">
 <h3>
 <span class="secno">
 2.3
@@ -4306,7 +4297,7 @@
 </ins><a class="tref internalDFN" title="default-graph" href="#dfn-default-graph"><ins class="diff-chg">
 default
 graph
-</ins></a>.</p></section><section class="informative" id="rdf-conversion"><h3><span class="secno"><ins class="diff-chg">
+</ins></a>.</p></div><div class="informative section" id="rdf-conversion"><h3><span class="secno"><ins class="diff-chg">
 2.4
 </ins></span>
 RDF
@@ -4593,9 +4584,9 @@
 jsonld.toRDF(jsonldDocument,
 rdfCallback);
 </del>
-</section>
-</section>
-<section id="conformance">
+</div>
+</div>
+<div class="section" id="conformance">
 <h2>
 <span class="secno">
 <del class="diff-old">2.4
@@ -5284,8 +5275,8 @@
 </ins>
 </p>
 </div>
-</section>
-<section id="general-terminology">
+</div>
+<div class="section" id="general-terminology">
 <h2>
 <span class="secno">
 <ins class="diff-new">4.
@@ -5516,7 +5507,7 @@
 specifically
 defined
 (see
-</ins><cite><a href="../json-ld/#sets-and-lists"><ins class="diff-new">
+</ins><cite><a href="http://www.w3.org/TR/2013/WD-json-ld-20130411/#sets-and-lists"><ins class="diff-new">
 Sets
 and
 Lists
@@ -5872,7 +5863,7 @@
 <del class="diff-old">subject
 reference
 </del>
-<a href="../json-ld/#syntax-tokens-and-keywords">
+<a href="http://www.w3.org/TR/2013/WD-json-ld-20130411/#syntax-tokens-and-keywords">
 <ins class="diff-chg">Syntax
 Tokens
 and
@@ -5962,7 +5953,7 @@
 are
 subject
 </del>
-<a href="../json-ld/#the-context">
+<a href="http://www.w3.org/TR/2013/WD-json-ld-20130411/#the-context">
 <ins class="diff-chg">The
 Context
 </ins>
@@ -6225,7 +6216,7 @@
 <cite>
 <del class="diff-old">RFC3987
 </del>
-<a href="../json-ld/#data-model">
+<a href="http://www.w3.org/TR/2013/WD-json-ld-20130411/#data-model">
 <ins class="diff-chg">Data
 Model
 </ins>
@@ -6475,9 +6466,8 @@
 compact.
 context
 object
-</del>
-or
-<del class="diff-old">URL
+or
+URL


 The
@@ -6497,8 +6487,9 @@
 an
 JSON
 object
-or
-as
+</del>
+or
+<del class="diff-old">as
 IRI
 .
 callback
@@ -6732,15 +6723,11 @@
 document's
 base
 IRI
-</del>
-</a>.
-<del class="diff-old">Return
+.
+Return
 type:
 void
-</del>
-</dd>
-<dt>
-<del class="diff-old">fromRDF
+fromRDF
 Creates
 a
 JSON-LD
@@ -6769,8 +6756,9 @@
 array
 of
 Quads
-.
-callback
+</del>
+</a>.
+<del class="diff-old">callback
 JsonLdCallback


@@ -6827,7 +6815,10 @@
 Return
 type:
 void
-toRDF
+</del>
+</dd>
+<dt>
+<del class="diff-old">toRDF
 </del>
 <dfn title="node" id="dfn-node">
 <ins class="diff-chg">node
@@ -7511,11 +7502,11 @@
 as
 a
 property
-subject
-of
-type
-</del>
-<del class="diff-old">Node
+</del>
+<del class="diff-old">subject
+of
+type
+Node
 ,
 readonly
 </del>
@@ -8253,8 +8244,8 @@
 </ins></a>.
 </dd>
 </dl>
-</section>
-<section id="algorithm-terms">
+</div>
+<div class="section" id="algorithm-terms">
 <h2>
 <span class="secno">
 <del class="diff-old">4.
@@ -8808,15 +8799,15 @@
 state
 copied
 into
-a
-new
+</del>
+a
+<del class="diff-old">new
 processor
 state
 when
 entering
-</del>
-a
-<del class="diff-old">new
+a
+new
 </del>
 <a class="tref internalDFN" title="json-object" href="#dfn-json-object">
 JSON
@@ -9182,24 +9173,24 @@
 </ins></a>.
 </dd>
 </dl>
-</section>
-<section id="context-processing-algorithms">
+</div>
+<div class="section" id="context-processing-algorithms">
 <h2>
 <span class="secno">
 <del class="diff-old">4.2
 </del>
 <ins class="diff-chg">6.
-</ins></span><ins class="diff-chg">
-Context
-Processing
-Algorithms
-</ins></h2><section id="context-processing-algorithm"><h3><span class="secno"><ins class="diff-chg">
-6.1
 </ins>
 </span>
 Context
 Processing
-<ins class="diff-new">Algorithm
+<ins class="diff-new">Algorithms
+</ins></h2><div class="section" id="context-processing-algorithm"><h3><span class="secno"><ins class="diff-new">
+6.1
+</ins></span><ins class="diff-new">
+Context
+Processing
+Algorithm
 </ins>
 </h3>
 <p>
@@ -9491,7 +9482,7 @@
 retrieval.
 </ins>
 </p>
-<section class="informative">
+<div class="informative section">
 <h4 id="overview">
 <ins class="diff-new">Overview
 </ins></h4>
@@ -9959,7 +9950,7 @@
 </ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
 active
 context
-</ins></a>.</p></section><section><h4 id="algorithm"><ins class="diff-chg">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm"><ins class="diff-chg">
 Algorithm
 </ins></h4><p><ins class="diff-chg">
 This
@@ -10266,8 +10257,9 @@
 </ins><cite><a href="http://tools.ietf.org/html/rfc3987#section-6.5"><ins class="diff-new">
 section
 6.5
-</ins></a></cite><ins class="diff-new">
-of
+</ins></a>
+</cite>
+<ins class="diff-new">of
 [
 </ins><cite><a class="bibref" href="#bib-RFC3987"><ins class="diff-new">
 RFC3987
@@ -10287,9 +10279,8 @@
 </ins></i><ins class="diff-new">
 array,
 a
-</ins><code class="error">
-<a href="#idl-def-JsonLdErrorCode.recursive-context-inclusion">
-<ins class="diff-new">recursive
+</ins><code class="error"><a href="#idl-def-JsonLdErrorCode.recursive-context-inclusion"><ins class="diff-new">
+recursive
 context
 inclusion
 </ins></a></code><ins class="diff-new">
@@ -11211,6 +11202,8 @@
 throw
 an
 exception.
+Issue
+5
 </del>
 <ins class="diff-chg">@language
 </ins></code>,<ins class="diff-chg">
@@ -11247,14 +11240,8 @@
 Return
 </ins><i><ins class="diff-chg">
 result
-</ins></i>.</li></ol></section></section><section id="create-term-definition"><h3>
-<del class="diff-old">Issue
-5
-</del>
-<span class="secno">
-<ins class="diff-chg">6.2
-</ins>
-</span>
+</ins></i>.</li></ol>
+</div>
 <del class="diff-old">Undecided
 if
 @type
@@ -11262,8 +11249,21 @@
 @graph
 can
 take
-</del>
-<ins class="diff-chg">Create
+a
[email protected]
+with
[email protected]
+.
+</del>
+</div>
+<div class="section" id="create-term-definition">
+<h3>
+<del class="diff-old">If
+</del>
+<span class="secno">
+<ins class="diff-chg">6.2
+</ins></span><ins class="diff-chg">
+Create
 Term
 Definition
 </ins></h3><p><ins class="diff-chg">
@@ -11272,58 +11272,72 @@
 is
 called
 from
-the
-</ins><a href="#context-processing-algorithm"><ins class="diff-chg">
-Context
+</ins>
+the
+<del class="diff-old">property
+has
+</del>
+<a href="#context-processing-algorithm">
+<ins class="diff-chg">Context
 Processing
 algorithm
 </ins></a><ins class="diff-chg">
 to
 create
-</ins>
-a
-<del class="diff-old">@container
-with
[email protected]
-.
-If
-</del>
-<a class="tref internalDFN" title="term-definition" href="#dfn-term-definition">
-<ins class="diff-chg">term
-definition
-</ins></a><ins class="diff-chg">
-in
-</ins>
-the
+a
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
+term
+definition
+</ins></a><ins class="diff-chg">
+in
+</ins>
+the
+<del class="diff-old">form
+of
+</del>
 <a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-new">active
-context
-</ins></a><ins class="diff-new">
-for
-a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
-being
+<ins class="diff-chg">active
+context
+</ins></a><ins class="diff-chg">
+for
+a
+</ins>
+<a class="tref internalDFN" title="term" href="#dfn-term">
+term
+<del class="diff-old">,
+its
+value
+must
+have
+an
[email protected]
+property
+with
+</del>
+</a>
+<ins class="diff-chg">being
 processed
 in
-a
-</ins><a class="tref internalDFN" title="local-context" href="#dfn-local-context"><ins class="diff-new">
-local
-context
-</ins></a>.</p><section class="informative"><h4 id="overview-1"><ins class="diff-new">
+</ins>
+a
+<del class="diff-old">string
+value
+which
+must
+</del>
+<a class="tref internalDFN" title="local-context" href="#dfn-local-context">
+<ins class="diff-chg">local
+context
+</ins></a>.</p><div class="informative section"><h4 id="overview-1"><ins class="diff-chg">
 Overview
-</ins></h4><p>
-<em>
-<del class="diff-old">property
-</del>
-<ins class="diff-chg">This
+</ins></h4><p><em><ins class="diff-chg">
+This
 section
 is
 non-normative.
 </ins>
 </em>
-<del class="diff-old">has
+<del class="diff-old">have
 </del>
 </p>
 <p>
@@ -11339,6 +11353,7 @@
 the
 <del class="diff-old">form
 of
+a
 </del>
 <ins class="diff-chg">information
 in
@@ -11355,37 +11370,15 @@
 <a class="tref internalDFN" title="term" href="#dfn-term">
 term
 <del class="diff-old">,
-its
-value
-must
-have
-an
[email protected]
-property
-with
-a
-string
-value
-which
-must
-have
 </del>
 </a>.
 <ins class="diff-chg">If
-</ins>
-the
-<del class="diff-old">form
-of
-a
-</del>
-<ins class="diff-chg">given
-</ins>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-term
-<del class="diff-old">,
-</del>
-</a>
-<ins class="diff-chg">is
+the
+given
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
+is
 a
 </ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri">
 compact
@@ -11421,36 +11414,36 @@
 its
 </ins><a class="tref internalDFN" title="prefix" href="#dfn-prefix"><ins class="diff-chg">
 prefix
-</ins></a><ins class="diff-chg">
-having
+</ins>
+</a>
+<ins class="diff-new">having
 its
 own
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins></a>.<ins class="diff-chg">
-If
-the
-</ins><a class="tref internalDFN" title="prefix" href="#dfn-prefix"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
+term
+definition
+</ins></a>.<ins class="diff-new">
+If
+the
+</ins><a class="tref internalDFN" title="prefix" href="#dfn-prefix"><ins class="diff-new">
 prefix
-</ins></a><ins class="diff-chg">
-is
-a
-key
-in
-the
-</ins><a class="tref internalDFN" title="local-context" href="#dfn-local-context"><ins class="diff-chg">
-local
-context
-</ins></a>,<ins class="diff-chg">
-then
-its
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins>
-</a>
-<ins class="diff-new">must
+</ins></a><ins class="diff-new">
+is
+a
+key
+in
+the
+</ins><a class="tref internalDFN" title="local-context" href="#dfn-local-context"><ins class="diff-new">
+local
+context
+</ins></a>,<ins class="diff-new">
+then
+its
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
+term
+definition
+</ins></a><ins class="diff-new">
+must
 first
 be
 created,
@@ -11606,7 +11599,7 @@
 the
 <a class="tref internalDFN" title="term" href="#dfn-term">
 <ins class="diff-chg">term
-</ins></a>.</p></section><section><h4 id="algorithm-1"><ins class="diff-chg">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm-1"><ins class="diff-chg">
 Algorithm
 </ins></h4><p><ins class="diff-chg">
 The
@@ -13432,7 +13425,10 @@
 to
 </ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
 true
-</ins></a>.</li></ol></section></section><section id="iri-expansion">
+</ins></a>.</li></ol>
+</div>
+</div>
+<div class="section" id="iri-expansion">
 <h3>
 <span class="secno">
 <del class="diff-old">4.3
@@ -13607,7 +13603,7 @@
 Term
 Definition
 algorithm
-</ins></a>.</p><section class="informative"><h4 id="overview-2"><ins class="diff-chg">
+</ins></a>.</p><div class="informative section"><h4 id="overview-2"><ins class="diff-chg">
 Overview
 </ins></h4><p><em><ins class="diff-chg">
 This
@@ -13882,7 +13878,7 @@
 Term
 Definition
 algorithm
-</ins></a>.</p></section><section><h4 id="algorithm-2"><ins class="diff-chg">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm-2"><ins class="diff-chg">
 Algorithm
 </ins></h4><p><ins class="diff-chg">
 The
@@ -13890,14 +13886,10 @@
 takes
 two
 required
-</ins>
-and
-<ins class="diff-new">four
-</ins>
+and
+four
 optional
-<del class="diff-old">query
-</del>
-<ins class="diff-chg">input
+input
 variables.
 The
 required
@@ -13909,30 +13901,33 @@
 context
 </ins></a>
 and
-<del class="diff-old">fragment
-segments.
-A
-</del>
-<ins class="diff-chg">a
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
+<ins class="diff-new">a
+</ins><i><ins class="diff-new">
+value
+</ins></i><ins class="diff-new">
 to
 be
 expanded.
 The
+</ins>
 optional
-inputs
+<del class="diff-old">query
+</del>
+<ins class="diff-chg">inputs
 are
 two
 flags,
 </ins><i><ins class="diff-chg">
 document
 relative
-</ins></i><ins class="diff-chg">
-and
-</ins><i><ins class="diff-chg">
-vocab
+</ins></i>
+and
+<del class="diff-old">fragment
+segments.
+A
+</del>
+<i>
+<ins class="diff-chg">vocab
 </ins></i>,<ins class="diff-chg">
 that
 specifying
@@ -14785,7 +14780,7 @@
 <ins class="diff-chg">mapping
 </ins></a>
 </code>
-<ins class="diff-chg">error
+<ins class="diff-new">error
 has
 been
 detected
@@ -14793,15 +14788,20 @@
 processing
 is
 aborted.
-</ins></li><li><ins class="diff-chg">
+</ins></li><li><ins class="diff-new">
 Otherwise,
 return
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
+value
+</ins></i><ins class="diff-new">
 as
 is.
-</ins></li></ol></section></section></section><section id="expansion-algorithms"><h2>
+</ins></li></ol>
+</div>
+</div>
+</div>
+<div class="section" id="expansion-algorithms">
+<h2>
 <span class="secno">
 <del class="diff-old">4.4
 </del>
@@ -14810,7 +14810,7 @@
 </span>
 <ins class="diff-new">Expansion
 Algorithms
-</ins></h2><section id="expansion-algorithm"><h3>
+</ins></h2><div class="section" id="expansion-algorithm"><h3>
 <del class="diff-old">IRI
 Compaction
 </del>
@@ -14883,7 +14883,7 @@
 </ins><a class="tref internalDFN" title="expanded-form" href="#dfn-expanded-form"><ins class="diff-chg">
 expanded
 form
-</ins></a>.</p><section class="informative"><h4 id="overview-3"><ins class="diff-chg">
+</ins></a>.</p><div class="informative section"><h4 id="overview-3"><ins class="diff-chg">
 Overview
 </ins></h4>
 <del class="diff-old">IRI
@@ -15155,7 +15155,7 @@
 return
 </ins><i><ins class="diff-chg">
 result
-</ins></i>.</p></section><section><h4 id="algorithm-3">
+</ins></i>.</p></div><div class="section"><h4 id="algorithm-3">
 Algorithm
 </h4>
 <p>
@@ -15213,18 +15213,18 @@
 </ins><code class="idlMemberName">
 <a href="#widl-JsonLdOptions-expandContext">
 <ins class="diff-new">expandContext
-</ins>
-</a>
-<del class="diff-old">is:
-</del>
-</code>,
-<ins class="diff-new">or
+</ins></a></code>,<ins class="diff-new">
+or
 empty
 if
 </ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-expandContext"><ins class="diff-new">
 expandContext
-</ins></a></code><ins class="diff-new">
-is
+</ins>
+</a>
+<del class="diff-old">is:
+</del>
+</code>
+<ins class="diff-new">is
 </ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
 null
 </ins></a>,<a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
@@ -15778,23 +15778,24 @@
 </del>
 <i>
 <ins class="diff-chg">result
-</ins></i>
-has
-<ins class="diff-new">already
-an
-</ins><i><ins class="diff-new">
-expanded
-property
-</ins></i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+has
+already
+an
+</ins><i><ins class="diff-chg">
+expanded
+property
+</ins></i><ins class="diff-chg">
 member,
 an
-</ins><code class="error"><a href="#idl-def-JsonLdErrorCode.colliding-keywords"><ins class="diff-new">
+</ins><code class="error"><a href="#idl-def-JsonLdErrorCode.colliding-keywords"><ins class="diff-chg">
 colliding
 keywords
-</ins></a></code><ins class="diff-new">
+</ins></a></code><ins class="diff-chg">
 error
-has
-been
+</ins>
+has
+<ins class="diff-new">been
 detected
 and
 processing
@@ -15921,9 +15922,9 @@
 <i>
 <ins class="diff-new">expanded
 value
-</ins></i><ins class="diff-new">
-to
-the
+</ins></i>
+to
+<ins class="diff-new">the
 result
 of
 using
@@ -15953,9 +15954,9 @@
 </ins><i><ins class="diff-new">
 document
 relative
-</ins></i>
-to
-<ins class="diff-new">expand
+</ins></i><ins class="diff-new">
+to
+expand
 the
 </ins><i><ins class="diff-new">
 value
@@ -16304,7 +16305,7 @@
 remove
 the
 free-floating
-list..
+list.
 </ins>
 </li>
 <li>
@@ -16986,7 +16987,7 @@
 compact
 IRI
 </del>
-<a class="tref externalDFN" title="language-map" href="../json-ld/#dfn-language-map">
+<a class="tref externalDFN" title="language-map" href="http://www.w3.org/TR/2013/WD-json-ld-20130411/#dfn-language-map">
 <ins class="diff-chg">language
 map
 </ins>
@@ -17040,16 +17041,16 @@
 <ins class="diff-chg">an
 </ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
 array
-</ins></a><ins class="diff-chg">
-set
-it
-to
-an
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins>
-</a>
-<ins class="diff-new">containing
+</ins>
+</a>
+<ins class="diff-new">set
+it
+to
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
+array
+</ins></a><ins class="diff-new">
+containing
 only
 </ins><i><ins class="diff-new">
 language
@@ -17490,19 +17491,19 @@
 </ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
 container
 mapping
-</ins></a><ins class="diff-chg">
-associated
-to
-</ins><i><ins class="diff-chg">
-key
-</ins></i><ins class="diff-chg">
-in
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins>
-</a>
-<ins class="diff-new">is
+</ins>
+</a>
+<ins class="diff-new">associated
+to
+</ins><i><ins class="diff-new">
+key
+</ins></i><ins class="diff-new">
+in
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
+active
+context
+</ins></a><ins class="diff-new">
+is
 </ins><code><ins class="diff-new">
 @list
 </ins></code>
@@ -17514,23 +17515,22 @@
 is
 not
 already
+a
+</ins><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-new">
+list
+object
+</ins></a>,<ins class="diff-new">
+convert
+</ins><i><ins class="diff-new">
+expanded
+value
+</ins></i><ins class="diff-new">
+to
 </ins>
 a
 <a class="tref internalDFN" title="list-object" href="#dfn-list-object">
 <ins class="diff-new">list
 object
-</ins></a>,<ins class="diff-new">
-convert
-</ins><i><ins class="diff-new">
-expanded
-</ins>
-value
-</i>
-<ins class="diff-new">to
-a
-</ins><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-new">
-list
-object
 </ins></a><ins class="diff-new">
 by
 first
@@ -17545,9 +17545,10 @@
 only
 </ins><i><ins class="diff-new">
 expanded
-value
-</ins></i><ins class="diff-new">
-if
+</ins>
+value
+</i>
+<ins class="diff-new">if
 it
 is
 not
@@ -18616,7 +18617,7 @@
 </li>
 </ol>
 <p>
-<ins class="diff-chg">If,
+<ins class="diff-new">If,
 after
 the
 above
@@ -18627,17 +18628,17 @@
 result
 is
 a
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
+JSON
+object
+</ins></a><ins class="diff-new">
 that
 contains
 only
 an
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
 @graph
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 key,
 set
 the
@@ -18646,9 +18647,9 @@
 the
 value
 of
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
 @graph
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 's
 value.
 Otherwise,
@@ -18656,17 +18657,17 @@
 the
 result
 is
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
-null
-</ins></a>,<ins class="diff-chg">
-set
-it
-to
-an
-empty
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins></a>.<ins class="diff-chg">
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
+null
+</ins></a>,<ins class="diff-new">
+set
+it
+to
+an
+empty
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
+array
+</ins></a>.<ins class="diff-new">
 Finally,
 if
 the
@@ -18674,23 +18675,26 @@
 is
 not
 an
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins></a>,<ins class="diff-chg">
-then
-set
-the
-result
-to
-an
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
+array
+</ins></a>,<ins class="diff-new">
+then
+set
+the
+result
+to
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
+array
+</ins></a><ins class="diff-new">
 containing
 only
 the
 result.
-</ins></p></section></section><section id="value-expansion">
+</ins></p>
+</div>
+</div>
+<div class="section" id="value-expansion">
 <h3>
 <span class="secno">
 <del class="diff-old">4.5
@@ -18774,7 +18778,7 @@
 </p>
 <del class="diff-old">If
 </del>
-<section class="informative">
+<div class="informative section">
 <h4 id="overview-4">
 <ins class="diff-chg">Overview
 </ins></h4><p>
@@ -19105,8 +19109,8 @@
 documents.
 </del>
 </p>
-</section>
-<section>
+</div>
+<div class="section">
 <h4 id="algorithm-4">
 <ins class="diff-new">Algorithm
 </ins></h4>
@@ -19388,23 +19392,43 @@
 IRI
 </abbr>
 <del class="diff-old">Compaction
+steps.
+If
+the
+coercion
+target
+is
+a
+typed
+literal
 </del>
 <ins class="diff-chg">Expansion
 algorithm
-</ins></a>,<ins class="diff-chg">
-passing
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins></a>,<i><ins class="diff-chg">
-value
-</ins></i>,<a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
-true
-</ins>
-</a>
-<del class="diff-old">steps.
-</del>
-<ins class="diff-chg">for
+</ins>
+</a>,
+<del class="diff-old">the
+compacted
+value
+is
+the
+</del>
+<ins class="diff-chg">passing
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>,<i>
+value
+<del class="diff-old">associated
+with
+the
[email protected]
+key.
+</del>
+</i>,
+<a class="tref internalDFN" title="true" href="#dfn-true">
+<ins class="diff-chg">true
+</ins></a><ins class="diff-chg">
+for
 </ins><i><ins class="diff-chg">
 vocab
 </ins></i>,<ins class="diff-chg">
@@ -19419,67 +19443,115 @@
 </ins></i>.
 </li>
 <li>
-<del class="diff-old">If
-the
-coercion
-target
-</del>
-<ins class="diff-chg">Otherwise,
-initialize
-</ins><i><ins class="diff-chg">
-result
-</ins></i><ins class="diff-chg">
-to
-a
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a><ins class="diff-chg">
-with
-an
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
+Otherwise,
+<del class="diff-old">if
+value
+contains
+</del>
+<ins class="diff-chg">initialize
+</ins><i><ins class="diff-chg">
+result
+</ins></i><ins class="diff-chg">
+to
+a
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a><ins class="diff-chg">
+with
+</ins>
+an
+<code>
+<del class="diff-old">@id
+</del>
+<ins class="diff-chg">@value
+</ins>
+</code>
+<del class="diff-old">key,
+the
+compacted
+</del>
+<ins class="diff-chg">member
 whose
-value
-</ins>
-is
-<ins class="diff-new">set
-to
-</ins><i><ins class="diff-new">
-value
-</ins></i>.</li><li><ins class="diff-new">
-If
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
-active
-property
-</ins></a><ins class="diff-new">
-has
-</ins>
-a
-<del class="diff-old">typed
-literal
-</del>
+</ins>
+value
+is
+<del class="diff-old">value
+with
+the
+value
+of
[email protected]
+processed
+according
+</del>
+<ins class="diff-chg">set
+</ins>
+to
+<del class="diff-old">the
+IRI
+Compaction
+steps.
+</del>
+<i>
+<ins class="diff-chg">value
+</ins></i>.
+</li>
+<li>
+<del class="diff-old">Otherwise,
+if
+the
+</del>
+<ins class="diff-chg">If
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+<del class="diff-old">context
+</del>
+<ins class="diff-chg">property
+</ins>
+</a>
+<del class="diff-old">contains
+a
[email protected]
+,
+which
+matches
+the
[email protected]
+of
+the
+value,
+or
+the
+value
+</del>
+has
+<del class="diff-old">only
+</del>
+a
 <a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping">
-<ins class="diff-chg">type
-mapping
-</ins></a><ins class="diff-chg">
-in
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins>
-</a>,
-<del class="diff-old">the
-compacted
-</del>
-<ins class="diff-chg">add
-an
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
+<ins class="diff-new">type
+mapping
+</ins></a><ins class="diff-new">
+in
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
+active
+context
+</ins></a>,<ins class="diff-new">
+add
+an
+</ins>
+<code>
+<del class="diff-old">@value
+</del>
+<ins class="diff-chg">@type
+</ins>
+</code>
+<del class="diff-old">key,
+the
+compacted
+</del>
+<ins class="diff-chg">member
 to
 </ins><i><ins class="diff-chg">
 result
@@ -19509,27 +19581,41 @@
 <li>
 Otherwise,
 if
+<del class="diff-old">the
+</del>
 <i>
 value
 <del class="diff-old">contains
 </del>
 </i>
 <ins class="diff-chg">is
-a
-</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-chg">
-string
+</ins>
+a
+<del class="diff-old">@type
+key,
+the
+compacted
+value
+</del>
+<a class="tref internalDFN" title="string" href="#dfn-string">
+<ins class="diff-chg">string
 </ins></a>:<ol class="algorithm"><li><ins class="diff-chg">
 If
 a
 </ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
 language
 mapping
-</ins></a><ins class="diff-chg">
-is
-associated
-with
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
+</ins></a>
+is
+<del class="diff-old">value
+</del>
+<ins class="diff-chg">associated
+</ins>
+with
+<del class="diff-old">the
+</del>
+<a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+<ins class="diff-chg">active
 property
 </ins></a><ins class="diff-chg">
 in
@@ -19538,63 +19624,51 @@
 context
 </ins></a>,<ins class="diff-chg">
 add
-</ins>
-an
-<code>
-<del class="diff-old">@id
+an
+</ins>
+<code>
+<del class="diff-old">@type
 </del>
 <ins class="diff-chg">@language
 </ins>
 </code>
-<del class="diff-old">key,
-the
-compacted
-value
-is
-</del>
-<ins class="diff-chg">to
-</ins><i><ins class="diff-chg">
-result
-</ins></i><ins class="diff-chg">
-and
-set
-its
-</ins>
-value
-<ins class="diff-chg">to
-the
-language
-code
-associated
-</ins>
-with
-the
-<del class="diff-old">value
-of
[email protected]
-processed
+<ins class="diff-new">to
+</ins><i><ins class="diff-new">
+result
+</ins></i><ins class="diff-new">
+and
+set
+its
+</ins>
+value
+<del class="diff-old">processed
 according
-to
-</del>
-<a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping">
-<ins class="diff-chg">language
-mapping
-</ins></a><ins class="diff-chg">
-;
-unless
-</ins>
+</del>
+to
 the
 <del class="diff-old">IRI
 Compaction
 </del>
-<a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping">
 <ins class="diff-chg">language
+code
+associated
+with
+the
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
 mapping
 </ins>
 </a>
 <del class="diff-old">steps.
 </del>
-<ins class="diff-chg">is
+<ins class="diff-chg">;
+unless
+the
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a><ins class="diff-chg">
+is
 set
 to
 </ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
@@ -19611,81 +19685,120 @@
 </li>
 <li>
 Otherwise,
-if
+<ins class="diff-new">if
+</ins>
 the
 <a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-context
-</a>
-<del class="diff-old">contains
-</del>
-<ins class="diff-chg">has
-</ins>
-a
-<del class="diff-old">@language
-,
-which
-matches
-the
-</del>
-<a class="tref internalDFN" title="default-language" href="#dfn-default-language">
-<ins class="diff-chg">default
-language
-</ins></a>,<ins class="diff-chg">
+<ins class="diff-new">active
+context
+</ins></a><ins class="diff-new">
+has
+a
+</ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-new">
+default
+language
+</ins></a>,<ins class="diff-new">
 add
 an
-</ins>
-<code>
+</ins><code><ins class="diff-new">
 @language
-</code>
-<del class="diff-old">of
+</ins></code><ins class="diff-new">
+to
+</ins><i><ins class="diff-new">
+result
+</ins></i><ins class="diff-new">
+and
+set
+its
+</ins>
+value
+<del class="diff-old">is
+not
+modified.
 </del>
 <ins class="diff-chg">to
-</ins><i><ins class="diff-chg">
-result
-</ins></i><ins class="diff-chg">
-and
-set
-its
-value
-to
-</ins>
-the
-<del class="diff-old">value,
-</del>
-<a class="tref internalDFN" title="default-language" href="#dfn-default-language">
-<ins class="diff-chg">default
+the
+</ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-chg">
+default
 language
 </ins></a>.</li></ol></li><li><ins class="diff-chg">
 Return
 </ins><i><ins class="diff-chg">
 result
-</ins></i>.</li></ol></section></section></section><section id="compaction-algorithms"><h2><span class="secno"><ins class="diff-chg">
-8.
+</ins></i>.
+</li>
+</ol>
+</div>
+</div>
+</div>
+<div class="section" id="compaction-algorithms">
+<h2>
+<span class="secno">
+<ins class="diff-chg">8.
 </ins></span><ins class="diff-chg">
 Compaction
 Algorithms
-</ins></h2><section id="compaction-algorithm"><h3><span class="secno"><ins class="diff-chg">
-8.1
-</ins></span><ins class="diff-chg">
-Compaction
+</ins></h2><div class="section" id="compaction-algorithm">
+<h3>
+<span class="secno">
+<del class="diff-old">4.7
+</del>
+<ins class="diff-chg">8.1
+</ins>
+</span>
+<del class="diff-old">Expansion
+</del>
+<ins class="diff-chg">Compaction
 Algorithm
-</ins></h3><p><ins class="diff-chg">
-This
+</ins>
+</h3>
+<p>
+<del class="diff-old">Expansion
+is
+the
+process
+of
+taking
+</del>
+<ins class="diff-chg">This
 algorithm
 compacts
-a
-JSON-LD
-document,
+</ins>
+a
+JSON-LD
+<del class="diff-old">document
+and
+applying
+a
+context
+</del>
+<ins class="diff-chg">document,
+</ins>
 such
 that
-the
-given
-</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-chg">
-context
-</ins></a><ins class="diff-chg">
-is
-applied.
+<del class="diff-old">all
+IRI
+,
+datatypes,
+and
+literal
+values
+are
+expanded
+so
+that
+</del>
+the
+<ins class="diff-new">given
+</ins><a class="tref internalDFN" title="context" href="#dfn-context">
+context
+</a>
+is
+<del class="diff-old">no
+longer
+necessary.
+</del>
+<ins class="diff-chg">applied.
 This
 must
 result
@@ -19699,100 +19812,142 @@
 to
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 terms
-</ins></a>
-or
-<a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri">
-<ins class="diff-new">compact
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-chg">
+compact
 IRIs
-</ins></a>,<ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
 any
 applicable
-</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
 keywords
-</ins></a><ins class="diff-new">
-to
-</ins><a class="tref internalDFN" title="keyword-alias" href="#dfn-keyword-alias"><ins class="diff-new">
+</ins></a><ins class="diff-chg">
+to
+</ins><a class="tref internalDFN" title="keyword-alias" href="#dfn-keyword-alias"><ins class="diff-chg">
 keyword
 aliases
-</ins></a>,<ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
 and
 any
 applicable
-</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value"><ins class="diff-new">
-JSON-LD
-values
-</ins></a><ins class="diff-new">
+</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value">
+JSON-LD
+<del class="diff-old">document
+expansion
+is
+typically
+used
+</del>
+<ins class="diff-chg">values
+</ins></a><ins class="diff-chg">
 expressed
 in
-</ins><a class="tref internalDFN" title="expanded-form" href="#dfn-expanded-form"><ins class="diff-new">
-expanded
-form
-</ins></a><ins class="diff-new">
+</ins><a class="tref internalDFN" title="expanded-form" href="#dfn-expanded-form"><ins class="diff-chg">
+expanded
+form
+</ins></a><ins class="diff-chg">
 to
 simple
 values
 such
-as
-</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-new">
-strings
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-new">
+</ins>
+as
+<del class="diff-old">a
+part
+of
+other
+JSON-LD
+API
+methods.
+</del>
+<a class="tref internalDFN" title="string" href="#dfn-string">
+<ins class="diff-chg">strings
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-chg">
 numbers
-</ins></a>.</p><section class="informative"><h4 id="overview-5"><ins class="diff-new">
-Overview
-</ins></h4><p><em><ins class="diff-new">
-This
+</ins></a>.
+</p>
+<div class="informative section">
+<h4 id="overview-5">
+<ins class="diff-new">Overview
+</ins></h4>
+<p>
+<del class="diff-old">For
+example,
+assume
+the
+following
+JSON-LD
+input
+document:
+{
+   &quot;@context&quot;:
+   {
+      &quot;name&quot;: &quot;http://xmlns.com/foaf/0.1/name&quot;,
+      &quot;homepage&quot;: {
+        &quot;@id&quot;: &quot;http://xmlns.com/foaf/0.1/homepage&quot;,
+        &quot;@type&quot;, &quot;@id&quot;
+      }
+   },
+   &quot;name&quot;: &quot;Manu Sporny&quot;,
+   &quot;homepage&quot;: &quot;http://manu.sporny.org/&quot;
+}
+</del>
+<em>
+<ins class="diff-chg">This
 section
 is
 non-normative.
-</ins></em></p><p><ins class="diff-new">
-Starting
+</ins></em></p>
+<p>
+<del class="diff-old">Running
+the
+JSON-LD
+Expansion
+algorithm
+against
+</del>
+<ins class="diff-chg">Starting
 with
 its
 root
-</ins><i><ins class="diff-new">
-element
-</ins></i>,<ins class="diff-new">
+</ins><i><ins class="diff-chg">
+element
+</ins></i>,<ins class="diff-chg">
 we
 can
 process
 </ins>
 the
-<del class="diff-old">value
-has
-only
-</del>
-<ins class="diff-chg">JSON-LD
-document
-recursively,
+JSON-LD
+<del class="diff-old">input
+</del>
+document
+<del class="diff-old">provided
+above
+would
+</del>
+<ins class="diff-chg">recursively,
 until
 we
 have
-</ins>
-a
-<del class="diff-old">@value
-key,
-the
-</del>
-<ins class="diff-chg">fully
-</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction">
-compacted
-<del class="diff-old">value
-is
-</del>
-</a>
-<i>
-<ins class="diff-chg">result
-</ins></i>.<ins class="diff-chg">
-When
+a
+fully
 </ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-chg">
+compacted
+</ins></a><i>
+result
+</i>.
+<ins class="diff-new">When
+</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-new">
 compacting
-</ins></a><ins class="diff-chg">
-an
-</ins><i><ins class="diff-chg">
-element
-</ins></i>,<ins class="diff-chg">
+</ins></a><ins class="diff-new">
+an
+</ins><i><ins class="diff-new">
+element
+</ins></i>,<ins class="diff-new">
 we
 can
 treat
@@ -19803,27 +19958,33 @@
 to
 its
 type,
-in
-order
+</ins>
+in
+<ins class="diff-new">order
 to
 break
 down
 </ins>
 the
-<del class="diff-old">value
-associated
-with
+<del class="diff-old">following
+output:
 </del>
 <ins class="diff-chg">problem:
-</ins></p><ol><li><ins class="diff-chg">
-If
-</ins>
-the
-<del class="diff-old">@value
-key.
-</del>
-<i>
-<ins class="diff-chg">element
+</ins>
+</p>
+<del class="diff-old">{
+   &quot;http://xmlns.com/foaf/0.1/name&quot;: &quot;Manu Sporny&quot;,
+   &quot;http://xmlns.com/foaf/0.1/homepage&quot;: {
+      &quot;@id&quot;: &quot;http://manu.sporny.org/&quot;
+   }
+}
+</del>
+<ol>
+<li>
+<ins class="diff-chg">If
+the
+</ins><i><ins class="diff-chg">
+element
 </ins></i><ins class="diff-chg">
 is
 a
@@ -19843,20 +20004,11 @@
 simply
 return
 it.
-</ins>
-</li>
-<li>
-<del class="diff-old">Otherwise,
-if
-</del>
-<ins class="diff-chg">If
-</ins>
-the
-<del class="diff-old">value
-contains
-</del>
-<i>
-<ins class="diff-chg">element
+</ins></li><li><ins class="diff-chg">
+If
+the
+</ins><i><ins class="diff-chg">
+element
 </ins></i><ins class="diff-chg">
 is
 an
@@ -19874,34 +20026,24 @@
 return
 them
 in
-</ins>
-a
-<del class="diff-old">@type
-key,
-the
-compacted
-value
-</del>
-<ins class="diff-chg">new
+a
+new
 </ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
 array
 </ins></a>.</li><li><ins class="diff-chg">
 Otherwise
 </ins><i><ins class="diff-chg">
 element
-</ins></i>
-is
-<ins class="diff-chg">a
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a>.<ins class="diff-chg">
-The
-</ins>
-value
-<del class="diff-old">with
-</del>
-<ins class="diff-chg">of
+</ins></i><ins class="diff-chg">
+is
+a
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a>.<ins class="diff-chg">
+The
+value
+of
 each
 key
 in
@@ -19911,58 +20053,43 @@
 recursively.
 Some
 of
-</ins>
-the
-<del class="diff-old">@type
-value
-processed
-according
-to
-</del>
-<ins class="diff-chg">keys
+the
+keys
 will
 be
 compacted,
 using
-</ins>
-the
-<a href="#iri-compaction">
-<abbr title="Internationalized Resource Identifier">
-IRI
-</abbr>
+the
+</ins><a href="#iri-compaction">
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-new">IRI
+</ins></abbr><ins class="diff-new">
 Compaction
-<ins class="diff-new">algorithm
+algorithm
 </ins></a>,<ins class="diff-new">
 to
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
 terms
-</ins>
-</a>
-<del class="diff-old">steps.
-Otherwise,
-the
-value
-is
-</del>
-<ins class="diff-chg">or
-</ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-chg">
+</ins></a><ins class="diff-new">
+or
+</ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-new">
 compact
 IRIs
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
 and
 others
 will
 be
 compacted
 from
-</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-new">
 keywords
-</ins></a><ins class="diff-chg">
-to
-</ins><a class="tref internalDFN" title="keyword-alias" href="#dfn-keyword-alias"><ins class="diff-chg">
+</ins></a><ins class="diff-new">
+to
+</ins><a class="tref internalDFN" title="keyword-alias" href="#dfn-keyword-alias"><ins class="diff-new">
 keyword
 aliases
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
 or
 simply
 left
@@ -19970,33 +20097,30 @@
 because
 they
 do
-</ins>
-not
-<del class="diff-old">modified.
-</del>
-<ins class="diff-chg">have
+not
+have
 definitions
 in
 the
-</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-chg">
-context
-</ins></a>.<ins class="diff-chg">
+</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-new">
+context
+</ins></a>.<ins class="diff-new">
 Values
 will
 be
 converted
 to
-</ins><a class="tref internalDFN" title="compacted-form" href="#dfn-compacted-form"><ins class="diff-chg">
-compacted
-form
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="compacted-form" href="#dfn-compacted-form"><ins class="diff-new">
+compacted
+form
+</ins></a><ins class="diff-new">
 via
 the
-</ins><a href="#value-compaction"><ins class="diff-chg">
+</ins><a href="#value-compaction"><ins class="diff-new">
 Value
 Compaction
 algorithm
-</ins></a>.<ins class="diff-chg">
+</ins></a>.<ins class="diff-new">
 Some
 data
 will
@@ -20004,199 +20128,98 @@
 reshaped
 based
 on
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
 container
 mappings
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
 specified
 in
 the
 context
 such
 as
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
 @index
-</ins></code><ins class="diff-chg">
-or
-</ins><code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
+or
+</ins><code><ins class="diff-new">
 @language
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 maps.
-</ins>
-</li>
-</ol>
-<del class="diff-old">4.7
-Expansion
-</del>
-<p>
-<del class="diff-old">Expansion
-</del>
-<ins class="diff-chg">The
+</ins></li></ol><p><ins class="diff-new">
+The
 final
 output
-</ins>
-is
-<del class="diff-old">the
-process
-of
-taking
-</del>
-a
-<del class="diff-old">JSON-LD
-document
-and
-applying
-</del>
-<a class="tref internalDFN" title="json-object" href="#dfn-json-object">
-<ins class="diff-chg">JSON
-object
-</ins></a><ins class="diff-chg">
-with
-a
-</ins><code><ins class="diff-chg">
+is
+a
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
+JSON
+object
+</ins></a><ins class="diff-new">
+with
+a
+</ins><code><ins class="diff-new">
 @context
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 key,
 if
-</ins>
-a
-<a class="tref internalDFN" title="context" href="#dfn-context">
-context
-<del class="diff-old">such
-that
-all
-IRI
-,
-datatypes,
-and
-literal
-values
-are
-expanded
-so
-that
-</del>
-</a>
-<ins class="diff-chg">was
+a
+non-empty
+</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-new">
+context
+</ins></a><ins class="diff-new">
+was
 given,
 where
-</ins>
-the
-<del class="diff-old">context
-is
-no
-longer
-necessary.
-JSON-LD
-document
-expansion
-</del>
-<a class="tref internalDFN" title="json-object" href="#dfn-json-object">
-<ins class="diff-chg">JSON
-object
-</ins></a>
-is
-<del class="diff-old">typically
-used
-as
-</del>
-<ins class="diff-chg">either
-</ins><i><ins class="diff-chg">
-result
-</ins></i><ins class="diff-chg">
-or
-</ins>
-a
-<del class="diff-old">part
-of
-other
-JSON-LD
-API
-methods.
-For
-example,
-assume
-the
-following
-JSON-LD
-input
-document:
-{
-   &quot;@context&quot;:
-   {
-      &quot;name&quot;: &quot;http://xmlns.com/foaf/0.1/name&quot;,
-      &quot;homepage&quot;: {
-        &quot;@id&quot;: &quot;http://xmlns.com/foaf/0.1/homepage&quot;,
-        &quot;@type&quot;, &quot;@id&quot;
-      }
-   },
-   &quot;name&quot;: &quot;Manu Sporny&quot;,
-   &quot;homepage&quot;: &quot;http://manu.sporny.org/&quot;
-}
-Running
-the
-JSON-LD
-Expansion
-algorithm
-against
-</del>
-<ins class="diff-chg">wrapper
+the
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
+JSON
+object
+</ins></a><ins class="diff-new">
+is
+either
+</ins><i><ins class="diff-new">
+result
+</ins></i><ins class="diff-new">
+or
+a
+wrapper
 for
 it
 where
-</ins><i><ins class="diff-chg">
-result
-</ins></i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
+result
+</ins></i><ins class="diff-new">
 appears
 as
-</ins>
-the
-<del class="diff-old">JSON-LD
-input
-document
-provided
-above
-would
-</del>
-<ins class="diff-chg">value
+the
+value
 of
 an
 (aliased)
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
 @graph
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 key
 because
-</ins><i>
-result
-</i>
-<ins class="diff-new">contained
+</ins><i><ins class="diff-new">
+result
+</ins></i><ins class="diff-new">
+contained
 two
 or
 more
 items
-</ins>
-in
-<del class="diff-old">the
-following
-output:
-</del>
-<ins class="diff-chg">an
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins></a>.
-</p>
-<del class="diff-old">{
-   &quot;http://xmlns.com/foaf/0.1/name&quot;: &quot;Manu Sporny&quot;,
-   &quot;http://xmlns.com/foaf/0.1/homepage&quot;: {
-      &quot;@id&quot;: &quot;http://manu.sporny.org/&quot;
-   }
-}
-4.7.1
+in
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
+array
+</ins></a>.</p>
+</div>
+<del class="diff-old">4.7.1
 Expansion
 </del>
-</section>
-<section>
+<div class="section">
 <h4 id="algorithm-5">
 Algorithm
 </h4>
@@ -20499,29 +20522,29 @@
 <del class="diff-old">@container
 </del>
 <ins class="diff-chg">1
-</ins>
-</code>
-<ins class="diff-new">),
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
-active
-property
-</ins></a><ins class="diff-new">
-has
-no
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
-container
-mapping
-</ins></a><ins class="diff-new">
-in
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
-active
-context
-</ins></a>,<ins class="diff-new">
-and
-</ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-compactArrays"><ins class="diff-new">
+</ins></code><ins class="diff-chg">
+),
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
+active
+property
+</ins></a><ins class="diff-chg">
+has
+no
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
+container
+mapping
+</ins></a><ins class="diff-chg">
+in
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>,<ins class="diff-chg">
+and
+</ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-compactArrays"><ins class="diff-chg">
 compactArrays
-</ins></a></code><ins class="diff-new">
-is
+</ins></a>
+</code>
+<ins class="diff-new">is
 </ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-new">
 true
 </ins></a>,
@@ -20718,14 +20741,15 @@
 value
 </ins></i><ins class="diff-new">
 to
-</ins>
-the
-<ins class="diff-new">result
-of
-using
-the
-</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
+the
+result
+of
+using
+</ins>
+the
+<a href="#iri-compaction">
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-new">IRI
 </ins></abbr><ins class="diff-new">
 Compaction
 algorithm
@@ -22546,8 +22570,6 @@
 <code>
 <del class="diff-old">@language
 .
-If
-value
 </del>
 <ins class="diff-chg">@graph
 </ins></code><ins class="diff-chg">
@@ -22555,6 +22577,36 @@
 </ins><i><ins class="diff-chg">
 compacted
 item
+</ins></i><ins class="diff-chg">
+is
+not
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a>,<ins class="diff-chg">
+set
+it
+to
+a
+new
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a><ins class="diff-chg">
+containing
+only
+</ins><i><ins class="diff-chg">
+compacted
+item
+</ins></i>.
+</li>
+<li>
+If
+<del class="diff-old">value
+</del>
+<i>
+<ins class="diff-chg">item
+active
+property
 </ins></i>
 is
 not
@@ -22564,83 +22616,11 @@
 merge
 value
 into
-</del>
-an
-<del class="diff-old">existing
-property
-property
-of
-element
-or
-create
-</del>
-<a class="tref internalDFN" title="array" href="#dfn-array">
-<ins class="diff-chg">array
-</ins></a>,<ins class="diff-chg">
-set
-it
-to
-</ins>
-a
-new
-<del class="diff-old">property
-property
-with
-value
-as
-value.
-</del>
-<a class="tref internalDFN" title="array" href="#dfn-array">
-<ins class="diff-chg">array
-</ins></a><ins class="diff-chg">
-containing
-only
-</ins><i><ins class="diff-chg">
-compacted
-item
-</ins></i>.
-</li>
-<li>
-If
-<del class="diff-old">the
-processed
-element
-has
-an
[email protected]
-</del>
-<i>
-<ins class="diff-chg">item
-active
-</ins>
-property
-<del class="diff-old">element
-must
-</del>
-</i>
-<ins class="diff-chg">is
-</ins>
-not
-<del class="diff-old">have
-more
-than
-one
-other
-property,
-which
-can
-either
-be
[email protected]
-or
[email protected]
-with
-</del>
-a
-<del class="diff-old">string
-value.
-</del>
-<ins class="diff-chg">key
+an
+existing
+</del>
+<ins class="diff-chg">a
+key
 in
 </ins><i><ins class="diff-chg">
 result
@@ -22654,9 +22634,10 @@
 </ins><i><ins class="diff-chg">
 item
 active
-property
-</ins></i><ins class="diff-chg">
--
+</ins>
+property
+</i>
+<ins class="diff-chg">-
 </ins><i><ins class="diff-chg">
 compacted
 item
@@ -22665,38 +22646,15 @@
 to
 </ins><i><ins class="diff-chg">
 result
-</ins></i>.
-</li>
-<li>
-<ins class="diff-new">Otherwise,
-</ins>
-if
-the
-value
-<del class="diff-old">of
[email protected]
-equals
-null
-,
-replace
-element
-</del>
-<ins class="diff-chg">associated
-</ins>
-with
-the
-<del class="diff-old">value
-of
[email protected]
-.
-Otherwise,
-if
-element
-has
-an
[email protected]
-</del>
-<ins class="diff-chg">key
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+if
+the
+value
+associated
+with
+the
+key
 that
 equals
 </ins><i><ins class="diff-chg">
@@ -22704,220 +22662,138 @@
 active
 </ins>
 property
-<del class="diff-old">and
-its
-value
+<del class="diff-old">of
+element
+or
+create
 </del>
 </i>
 <ins class="diff-chg">in
 </ins><i><ins class="diff-chg">
 result
-</ins></i>
-is
-not
-<del class="diff-old">in
-the
-form
-of
-</del>
-an
-<a class="tref internalDFN" title="array" href="#dfn-array">
-array
-</a>,
-<del class="diff-old">convert
-</del>
-<ins class="diff-chg">set
-</ins>
-it
-to
-<del class="diff-old">an
-</del>
-<ins class="diff-chg">a
-new
-</ins>
+</ins></i><ins class="diff-chg">
+is
+not
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a>,<ins class="diff-chg">
+set
+it
+to
+</ins>
+a
+new
+<del class="diff-old">property
+property
+with
+value
+as
+</del>
 <a class="tref internalDFN" title="array" href="#dfn-array">
-array
-<del class="diff-old">.
-If
-element
-has
-an
[email protected]
-or
[email protected]
-property,
-it
-must
-be
-the
-</del>
-</a>
-<ins class="diff-chg">containing
-</ins>
+<ins class="diff-chg">array
+</ins></a><ins class="diff-chg">
+containing
 only
-<del class="diff-old">property.
-Set
-element
-</del>
-<ins class="diff-chg">the
+the
+</ins>
 value.
-Then
+<ins class="diff-new">Then
 append
-</ins><i><ins class="diff-chg">
-compacted
-item
-</ins></i>
-to
-the
-value
-<del class="diff-old">of
[email protected]
-;
-leave
[email protected]
-untouched.
-</del>
-<ins class="diff-chg">if
-</ins><i><ins class="diff-chg">
-compacted
-item
-</ins></i><ins class="diff-chg">
-is
-not
-an
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins></a>,<ins class="diff-chg">
+</ins><i><ins class="diff-new">
+compacted
+item
+</ins></i><ins class="diff-new">
+to
+the
+value
+if
+</ins><i><ins class="diff-new">
+compacted
+item
+</ins></i><ins class="diff-new">
+is
+not
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
+array
+</ins></a>,<ins class="diff-new">
 otherwise,
 concatenate
 it.
-</ins>
-</li>
-<del class="diff-old">If
-element
-has
-just
-a
[email protected]
-property,
-set
-element
-to
-null
-.
-</del>
-</ol>
-</li>
-</ol>
+</ins></li></ol></li></ol>
 </li>
 </ol>
 </li>
 <li>
-<del class="diff-old">Otherwise,
-expand
-element
-according
-to
-the
-Value
-Expansion
-rules,
-passing
-copies
-of
-the
-active
-context
-and
-active
-property
-.
+<del class="diff-old">If
 </del>
 <ins class="diff-chg">Return
 </ins><i><ins class="diff-chg">
 result
-</ins></i>.
-</li>
-</ol>
-<p>
+</ins></i>.</li></ol><p><ins class="diff-chg">
 If,
 after
-the
-algorithm
+</ins>
+the
+<del class="diff-old">processed
+element
+</del>
+<ins class="diff-chg">algorithm
 outlined
 above
 is
 run,
 the
-<del class="diff-old">resulting
-element
-</del>
-<ins class="diff-chg">result
-</ins><i><ins class="diff-chg">
-result
-</ins></i>
-is
-an
-<a class="tref internalDFN" title="array" href="#dfn-array">
-<ins class="diff-chg">array
+result
+</ins><i><ins class="diff-chg">
+result
+</ins></i><ins class="diff-chg">
+is
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
 </ins></a>,<ins class="diff-chg">
 replace
 it
 with
 a
 new
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object">
-JSON
-object
-</a>
-with
-<del class="diff-old">just
-</del>
-a
-<del class="diff-old">@graph
-property,
-element
-</del>
-<ins class="diff-chg">single
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a><ins class="diff-chg">
+with
+a
+single
 member
 whose
 key
-</ins>
-is
-<del class="diff-old">set
-to
-</del>
-the
-<del class="diff-old">value
-</del>
-<ins class="diff-chg">result
-</ins>
-of
-<ins class="diff-new">using
-the
-</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr><ins class="diff-new">
+is
+the
+result
+of
+using
+the
+</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr><ins class="diff-chg">
 Compaction
 algorithm
-</ins></a>,<ins class="diff-new">
-passing
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
-active
-context
-</ins></a>,<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
+passing
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>,<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
 context
-</ins></a>,<ins class="diff-new">
-and
-</ins>
-<code>
+</ins></a>,<ins class="diff-chg">
+and
+</ins><code><ins class="diff-chg">
 @graph
-</code>
-<del class="diff-old">'s
-value.
-</del>
-<ins class="diff-chg">as
+</ins></code><ins class="diff-chg">
+as
 </ins><i><ins class="diff-chg">
 iri
 </ins></i><ins class="diff-chg">
@@ -22930,37 +22806,29 @@
 array
 </ins></a><i><ins class="diff-chg">
 result
-</ins></i>.
+</ins></i>.<ins class="diff-chg">
 Finally,
 if
-<del class="diff-old">element
-is
-</del>
-a
-<del class="diff-old">JSON
-object
-,
-it
-is
-wrapped
-into
-</del>
-<i>
-<ins class="diff-chg">context
-</ins></i><ins class="diff-chg">
-has
-been
+a
+non-empty
+</ins><i><ins class="diff-chg">
+context
+</ins></i>
+has
+<ins class="diff-new">been
 passed,
 add
 </ins>
 an
-<del class="diff-old">array
-.
-</del>
-<code>
+<code>
+<del class="diff-old">@value
+</del>
 <ins class="diff-chg">@context
-</ins></code><ins class="diff-chg">
-member
+</ins>
+</code>
+<del class="diff-old">property
+</del>
+<ins class="diff-chg">member
 to
 </ins><i><ins class="diff-chg">
 result
@@ -22974,87 +22842,70 @@
 passed
 </ins><i><ins class="diff-chg">
 context
-</ins></i>.
-</p>
-</section>
-</section>
-<section id="inverse-context-creation">
-<h3>
-<span class="secno">
-<del class="diff-old">4.8
-</del>
+</ins></i>.</p></div></div><div class="section" id="inverse-context-creation"><h3>
+<del class="diff-old">element
+must
+not
+have
+</del>
+<span class="secno">
 <ins class="diff-chg">8.2
-</ins>
-</span>
-<del class="diff-old">Compaction
-</del>
-<ins class="diff-chg">Inverse
+</ins></span><ins class="diff-chg">
+Inverse
 Context
 Creation
-</ins>
-</h3>
-<p>
-<del class="diff-old">Compaction
-</del>
-<ins class="diff-chg">When
+</ins></h3><p><ins class="diff-chg">
+When
 there
-</ins>
-is
-<ins class="diff-new">more
+is
+</ins>
+more
 than
 one
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
+<del class="diff-old">other
+property,
+which
+can
+either
+</del>
+<a class="tref internalDFN" title="term" href="#dfn-term">
+<ins class="diff-chg">term
+</ins></a><ins class="diff-chg">
 that
 could
-be
-chosen
-to
-compact
-an
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr></a>,<ins class="diff-new">
+</ins>
+be
+<del class="diff-old">@language
+or
[email protected]
+with
+</del>
+<ins class="diff-chg">chosen
+to
+compact
+an
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr></a>,<ins class="diff-chg">
 it
 has
 to
 be
 ensured
 that
-</ins>
-the
-<del class="diff-old">process
-of
-taking
-a
-JSON-LD
-document
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
 </ins></a><ins class="diff-chg">
 selection
 is
 both
 deterministic
-</ins>
-and
-<del class="diff-old">applying
-a
-context
-such
-that
-</del>
-<ins class="diff-chg">represents
-</ins>
+and
+represents
 the
 most
-<del class="diff-old">compact
-form
-of
-</del>
-<ins class="diff-chg">context-appropriate
+context-appropriate
 choice
 whilst
 taking
@@ -23071,50 +22922,26 @@
 term
 </ins></a><ins class="diff-chg">
 selections,
-</ins>
-the
-<del class="diff-old">document
-</del>
-<ins class="diff-chg">concept
+the
+concept
 of
 an
 </ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
 context
-</ins></a>
-is
-<del class="diff-old">generated.
-JSON
-</del>
-<ins class="diff-chg">introduced.
+</ins></a><ins class="diff-chg">
+is
+introduced.
 An
 </ins><dfn title="inverse-context" id="dfn-inverse-context"><ins class="diff-chg">
 inverse
 context
-</ins></dfn>
-is
-<del class="diff-old">typically
-expressed
-in
-</del>
-<ins class="diff-chg">essentially
-</ins>
-a
-<del class="diff-old">very
-compact,
-key-value
-format.
-That
-is,
-full
-IRIs
-are
-rarely
-used
-as
-keys.
-At
-times,
+</ins></dfn><ins class="diff-chg">
+is
+essentially
+</ins>
+a
+<del class="diff-old">string
 </del>
 <ins class="diff-chg">reverse
 lookup
@@ -23134,13 +22961,8 @@
 mappings
 </ins></a><ins class="diff-chg">
 to
-</ins>
-a
-<del class="diff-old">JSON-LD
-document
-may
-</del>
-<ins class="diff-chg">simple
+a
+simple
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 term
 </ins></a><ins class="diff-chg">
@@ -23159,79 +22981,68 @@
 only
 needs
 to
-</ins>
-be
-<del class="diff-old">received
-that
-</del>
-<ins class="diff-chg">generated
-for
-an
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins></a><ins class="diff-chg">
-if
-it
-</ins>
-is
-<del class="diff-old">not
-in
-its
-most
-compact
-form.
-JSON-LD,
-via
-</del>
-<ins class="diff-chg">being
-used
-for
-</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-chg">
+be
+generated
+for
+an
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins>
+</a>
+<del class="diff-old">value.
+</del>
+if
+<ins class="diff-new">it
+is
+being
+used
+for
+</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-new">
 compaction
-</ins></a>.</p><p><ins class="diff-chg">
+</ins></a>.</p><p><ins class="diff-new">
 To
 make
 use
 of
 an
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
 inverse
 context
-</ins></a>,<ins class="diff-chg">
+</ins></a>,<ins class="diff-new">
 a
 list
 of
 preferred
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
 container
 mappings
-</ins></a><ins class="diff-chg">
-and
-</ins>
-the
-<del class="diff-old">API,
-provides
-</del>
+</ins></a><ins class="diff-new">
+and
+</ins>
+the
 <a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping">
-<ins class="diff-chg">type
-mapping
-</ins></a><ins class="diff-chg">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-mapping
-</ins></a><ins class="diff-chg">
+<ins class="diff-new">type
+mapping
+</ins></a><ins class="diff-new">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a><ins class="diff-new">
 are
 gathered
 for
-</ins>
-a
-<del class="diff-old">way
-</del>
-<ins class="diff-chg">particular
-value
-associated
+a
+particular
+</ins>
+value
+<del class="diff-old">of
[email protected]
+equals
+null
+</del>
+<ins class="diff-chg">associated
 with
 an
 </ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
@@ -23242,28 +23053,17 @@
 are
 then
 fed
-</ins>
-to
-<del class="diff-old">compact
-a
-JSON-LD
-document.
-For
-example,
-assume
-</del>
-the
-<del class="diff-old">following
-JSON-LD
-input
-document:
-</del>
-<a href="#term-selection">
-<ins class="diff-chg">Term
+to
+the
+</ins><a href="#term-selection"><ins class="diff-chg">
+Term
 Selection
 algorithm
-</ins></a>,<ins class="diff-chg">
-which
+</ins>
+</a>,
+<del class="diff-old">replace
+</del>
+<ins class="diff-chg">which
 will
 find
 the
@@ -23277,50 +23077,22 @@
 the
 value's
 mappings.
-</ins>
-</p>
-<del class="diff-old">{
-  &quot;http://xmlns.com/foaf/0.1/name&quot;: &quot;Manu Sporny&quot;,
-  &quot;http://xmlns.com/foaf/0.1/homepage&quot;: {
-    &quot;@id&quot;: &quot;http://manu.sporny.org/&quot;
-  }
-}
-</del>
-<section class="informative">
-<h4 id="overview-6">
-<ins class="diff-chg">Overview
-</ins></h4>
-<p>
-<del class="diff-old">Additionally,
-assume
-the
-following
-developer-supplied
-JSON-LD
-context:
-{
-  &quot;@context&quot;: {
-    &quot;name&quot;: &quot;http://xmlns.com/foaf/0.1/name&quot;,
-    &quot;homepage&quot;: {
-      &quot;@id&quot;: &quot;http://xmlns.com/foaf/0.1/homepage&quot;,
-      &quot;@type&quot;: &quot;@id&quot;
-    }
-  }
-}
-</del>
+</ins></p><div class="informative section"><h4 id="overview-6"><ins class="diff-chg">
+Overview
+</ins></h4><p>
 <em>
+<del class="diff-old">element
+</del>
 <ins class="diff-chg">This
 section
 is
 non-normative.
-</ins></em></p>
-<p>
-<del class="diff-old">Running
-the
-JSON-LD
-Compaction
-algorithm
-</del>
+</ins>
+</em>
+<del class="diff-old">with
+</del>
+</p>
+<p>
 <ins class="diff-chg">To
 create
 an
@@ -23330,29 +23102,25 @@
 </ins></a><ins class="diff-chg">
 for
 a
-</ins>
 given
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>,<ins class="diff-chg">
+each
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
+in
+</ins>
+the
+<del class="diff-old">value
+</del>
 <a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-new">active
-context
-</ins></a>,<ins class="diff-new">
-each
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
-in
-</ins>
-the
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-new">active
-</ins>
-context
-<del class="diff-old">supplied
-above
-against
-</del>
-</a>
-<ins class="diff-chg">is
+<ins class="diff-chg">active
+context
+</ins></a><ins class="diff-chg">
+is
 visited,
 ordered
 by
@@ -23364,15 +23132,8 @@
 broken
 by
 choosing
-</ins>
-the
-<del class="diff-old">JSON-LD
-input
-document
-provided
-above
-</del>
-<ins class="diff-chg">lexicographically
+the
+lexicographically
 least
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 term
@@ -23397,53 +23158,30 @@
 each
 possible
 combination
-of
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
-container
-mapping
-</ins></a><ins class="diff-chg">
-and
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins></a><ins class="diff-chg">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-mapping
-</ins></a><ins class="diff-chg">
-that
-</ins>
+</ins>
+of
+<a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping">
+<ins class="diff-new">container
+mapping
+</ins></a><ins class="diff-new">
+and
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
+type
+mapping
+</ins></a><ins class="diff-new">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a><ins class="diff-new">
+that
 would
-<del class="diff-old">result
-in
-</del>
-<ins class="diff-chg">legally
+legally
 match
-</ins>
-the
-<del class="diff-old">following
-output:
-{
-  &quot;@context&quot;: {
-    &quot;name&quot;: &quot;http://xmlns.com/foaf/0.1/name&quot;,
-    &quot;homepage&quot;: {
-      &quot;@id&quot;: &quot;http://xmlns.com/foaf/0.1/homepage&quot;,
-      &quot;@type&quot;: &quot;@id&quot;
-    }
-  },
-  &quot;name&quot;: &quot;Manu Sporny&quot;,
-  &quot;homepage&quot;: &quot;http://manu.sporny.org/&quot;
-}
-The
-compaction
-algorithm
-also
-enables
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
-</ins></a>.<ins class="diff-chg">
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a>.<ins class="diff-new">
 Illegal
 matches
 include
@@ -23451,50 +23189,41 @@
 between
 a
 value's
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins></a><ins class="diff-chg">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-mapping
-</ins></a><ins class="diff-chg">
-and
-that
-of
-</ins>
-the
-<del class="diff-old">developer
-to
-map
-any
-expanded
-format
-into
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
-</ins></a>.<ins class="diff-chg">
-If
-a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
-has
-no
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
-container
-mapping
-</ins></a>,<a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins></a>,<ins class="diff-chg">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-mapping
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
+type
+mapping
+</ins></a><ins class="diff-new">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a><ins class="diff-new">
+and
+that
+of
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a>.<ins class="diff-new">
+If
+a
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><ins class="diff-new">
+has
+no
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
+container
+mapping
+</ins></a>,<a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
+type
+mapping
+</ins></a>,<ins class="diff-new">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a><ins class="diff-new">
 (or
 some
 combination
@@ -23504,67 +23233,38 @@
 it
 will
 have
-</ins>
-an
-<del class="diff-old">application-specific
-compacted
-format.
-While
-</del>
-<ins class="diff-chg">entry
-in
-</ins>
-the
-<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context">
-<ins class="diff-new">inverse
-</ins>
-context
-<del class="diff-old">provided
-above
-mapped
-</del>
-</a>
-<ins class="diff-chg">using
+an
+entry
+in
+the
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
+inverse
+context
+</ins></a><ins class="diff-new">
+using
 the
 special
 key
 </ins>
 <code>
-<del class="diff-old">http://xmlns.com/foaf/0.1/name
+<del class="diff-old">@value
 </del>
 <ins class="diff-chg">@none
-</ins></code>.<ins class="diff-chg">
-This
+</ins>
+</code>.
+<ins class="diff-chg">This
 allows
 the
 </ins><a href="#term-selection"><ins class="diff-chg">
 Term
 Selection
 algorithm
-</ins></a>
-to
-<del class="diff-old">name
-,
-it
-could
-have
-also
-mapped
-it
-</del>
-<ins class="diff-chg">fall
+</ins></a><ins class="diff-chg">
+to
+fall
 back
-</ins>
-to
-<del class="diff-old">any
-arbitrary
-string
-provided
-by
-the
-developer.
-</del>
-<ins class="diff-chg">choosing
+to
+choosing
 more
 generic
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
@@ -23583,44 +23283,27 @@
 for
 a
 particular
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri">
-<del class="diff-old">4.8.1
-Compaction
-</del>
-<abbr title="Internationalized Resource Identifier">
-<ins class="diff-chg">IRI
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
 </ins></abbr></a><ins class="diff-chg">
 and
 value
 combination.
-</ins></p></section><section><h4 id="algorithm-6">
+</ins></p></div><div class="section"><h4 id="algorithm-6"><ins class="diff-chg">
 Algorithm
-</h4>
-<p>
+</ins></h4><p><ins class="diff-chg">
 The
 algorithm
 takes
-<del class="diff-old">three
-input
-variables:
-an
-</del>
-<ins class="diff-chg">one
+one
 required
 input:
 the
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-context
-<del class="diff-old">,
-an
-active
-property
-,
-and
-</del>
-</a>
-<ins class="diff-chg">that
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a><ins class="diff-chg">
+that
 the
 </ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
@@ -23630,99 +23313,82 @@
 being
 created
 for.
-</ins></p><ol class="algorithm"><li><ins class="diff-chg">
-Initialize
-</ins><i><ins class="diff-chg">
-result
-</ins></i><ins class="diff-chg">
-to
-</ins>
-an
-<del class="diff-old">element
-</del>
-<ins class="diff-chg">empty
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a>.</li><li><ins class="diff-chg">
-Initialize
-</ins><i><ins class="diff-chg">
+</ins></p><ol class="algorithm">
+<li>
+<del class="diff-old">Otherwise,
+if
+element
+has
+</del>
+<ins class="diff-chg">Initialize
+</ins><i><ins class="diff-chg">
+result
+</ins></i><ins class="diff-chg">
+to
+</ins>
+an
+<ins class="diff-new">empty
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
+JSON
+object
+</ins></a>.</li><li><ins class="diff-new">
+Initialize
+</ins><i><ins class="diff-new">
 default
 language
-</ins></i>
-to
-<del class="diff-old">be
-compacted.
-To
-begin,
-</del>
-<code>
+</ins></i><ins class="diff-new">
+to
+</ins>
+<code>
+<del class="diff-old">@type
+property
+</del>
 <ins class="diff-chg">@none
 </ins></code>.<ins class="diff-chg">
 If
-</ins>
-the
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-context
-</a>
-<del class="diff-old">is
-</del>
-<ins class="diff-chg">has
+the
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a><ins class="diff-chg">
+has
 a
 </ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-chg">
 default
 language
-</ins></a>,
-set
-<i>
-<ins class="diff-new">default
-language
-</ins></i>
-to
-<del class="diff-old">the
-result
-of
-performing
-Context
-Processing
-</del>
-<ins class="diff-chg">it.
+</ins></a>,<ins class="diff-chg">
+set
+</ins><i><ins class="diff-chg">
+default
+language
+</ins></i><ins class="diff-chg">
+to
+it.
 </ins></li><li><ins class="diff-chg">
 For
 each
 key
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 term
-</ins>
-</a>
-<del class="diff-old">on
-</del>
-<ins class="diff-chg">and
-value
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins></a><ins class="diff-chg">
-in
-</ins>
-the
-<del class="diff-old">passed
-context
-,
-</del>
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-<del class="diff-old">property
-</del>
-<ins class="diff-chg">context
-</ins></a>,<ins class="diff-chg">
+</ins></a>
+and
+<ins class="diff-new">value
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
+term
+definition
+</ins></a><ins class="diff-new">
+in
+the
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
+active
+context
+</ins></a>,<ins class="diff-new">
 ordered
 by
 shortest
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><ins class="diff-new">
 first
 (breaking
 ties
@@ -23731,59 +23397,50 @@
 the
 lexicographically
 least
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><ins class="diff-new">
 ):
-</ins><ol class="algorithm"><li><ins class="diff-chg">
-If
-the
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins>
-</a>
-is
-<del class="diff-old">set
-to
-</del>
-<a class="tref internalDFN" title="null" href="#dfn-null">
-null
-</a>,
-<del class="diff-old">and
-element
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
-</ins></a><ins class="diff-chg">
+</ins><ol class="algorithm"><li><ins class="diff-new">
+If
+the
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
+term
+definition
+</ins></a><ins class="diff-new">
+is
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
+null
+</ins></a>,<a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><ins class="diff-new">
 cannot
 be
 selected
 during
-</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-new">
 compaction
-</ins></a>,<ins class="diff-chg">
+</ins></a>,<ins class="diff-new">
 so
 continue
 to
 the
 next
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a>.</li><li><ins class="diff-chg">
-Initialize
-</ins><i><ins class="diff-chg">
-container
-</ins></i><ins class="diff-chg">
-to
-</ins><code><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a>.</li><li><ins class="diff-new">
+Initialize
+</ins><i><ins class="diff-new">
+container
+</ins></i><ins class="diff-new">
+to
+</ins><code><ins class="diff-new">
 @none
-</ins></code>.<ins class="diff-chg">
+</ins></code>.<ins class="diff-new">
 If
 there
-</ins>
-is
-<ins class="diff-new">a
+is
+a
 </ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
 container
 mapping
@@ -23792,136 +23449,89 @@
 </ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
 term
 definition
-</ins></a>,
-set
-<i>
-<ins class="diff-new">container
-</ins></i><ins class="diff-new">
-to
-its
-associated
+</ins></a>,<ins class="diff-new">
+set
+</ins><i><ins class="diff-new">
+container
+</ins></i><ins class="diff-new">
+to
+</ins>
+its
+<ins class="diff-new">associated
 value.
 </ins></li><li><ins class="diff-new">
 Initialize
 </ins><i><ins class="diff-new">
 iri
-</ins></i>
-to
-the
-<del class="diff-old">result
-</del>
-<ins class="diff-chg">value
-</ins>
-of
-<del class="diff-old">performing
-</del>
-the
-<del class="diff-old">Expansion
-Algorithm
-</del>
-<a class="tref internalDFN" title="iri-mapping" href="#dfn-iri-mapping">
-<abbr title="Internationalized Resource Identifier">
-<ins class="diff-chg">IRI
-</ins></abbr><ins class="diff-chg">
-mapping
-</ins>
-</a>
-<del class="diff-old">on
-</del>
-<ins class="diff-chg">for
-</ins>
-the
-<del class="diff-old">JSON-LD
-input
-</del>
-<a class="tref internalDFN" title="term-definition" href="#dfn-term-definition">
-<ins class="diff-chg">term
-definition
-</ins>
-</a>.
-<del class="diff-old">This
-removes
-any
-existing
-context
-to
-allow
-the
-given
-active
-context
-to
-be
-cleanly
-applied.
-</del>
-</li>
-<li>
-If
-<del class="diff-old">element
-</del>
-<i>
-<ins class="diff-chg">iri
-</ins></i>
-is
-<del class="diff-old">an
-array
-,
-process
-each
-entry
-</del>
-<ins class="diff-chg">not
-a
-key
-</ins>
-in
-<del class="diff-old">element
-recursively
-using
-this
-algorithm,
-passing
-</del>
-<i>
-<ins class="diff-chg">result
-</ins></i>,<ins class="diff-chg">
+</ins></i><ins class="diff-new">
+to
+the
+</ins>
+value
+<ins class="diff-new">of
+the
+</ins><a class="tref internalDFN" title="iri-mapping" href="#dfn-iri-mapping"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+IRI
+</ins></abbr><ins class="diff-new">
+mapping
+</ins></a><ins class="diff-new">
+for
+the
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
+term
+definition
+</ins></a>.</li><li><ins class="diff-new">
+If
+</ins><i><ins class="diff-new">
+iri
+</ins></i>
+is
+not
+<ins class="diff-new">a
+key
+</ins>
+in
+<i>
+<ins class="diff-new">result
+</ins></i>,<ins class="diff-new">
 add
-</ins>
-a
-<del class="diff-old">copy
-of
-</del>
-<ins class="diff-chg">key-value
+a
+key-value
 pair
 where
 </ins>
 the
-<del class="diff-old">active
-context
+<del class="diff-old">form
+of
 </del>
 <ins class="diff-chg">key
 is
 </ins><i><ins class="diff-chg">
 iri
-</ins></i>
-and
-the
-<del class="diff-old">active
-property
-.
-</del>
-<ins class="diff-chg">value
-is
-an
-empty
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a><ins class="diff-chg">
-to
-</ins><i><ins class="diff-chg">
-result
+</ins></i><ins class="diff-chg">
+and
+the
+value
+is
+</ins>
+an
+<del class="diff-old">array
+,
+convert
+it
+</del>
+<ins class="diff-chg">empty
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a>
+to
+<del class="diff-old">an
+array
+.
+</del>
+<i>
+<ins class="diff-chg">result
 </ins></i>.</li><li><ins class="diff-chg">
 Reference
 the
@@ -23943,7 +23553,9 @@
 </ins><i><ins class="diff-chg">
 container
 map
-</ins></i>.</li><li>
+</ins></i>.
+</li>
+<li>
 If
 <del class="diff-old">element
 </del>
@@ -23951,11 +23563,13 @@
 <ins class="diff-chg">container
 </ins></i>
 has
-<ins class="diff-new">no
-</ins><i><ins class="diff-new">
-container
-map
-</ins></i><ins class="diff-new">
+<del class="diff-old">an
+</del>
+<ins class="diff-chg">no
+</ins><i><ins class="diff-chg">
+container
+map
+</ins></i><ins class="diff-chg">
 member,
 create
 one
@@ -23964,12 +23578,8 @@
 its
 value
 to
-</ins>
-a
-<del class="diff-old">single
-item,
-</del>
-<ins class="diff-chg">new
+a
+new
 </ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
 JSON
 object
@@ -23981,80 +23591,93 @@
 first
 member
 is
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-and
-its
-value
-is
-a
-new
-empty
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a>,
-the
-<del class="diff-old">compacted
-</del>
-<ins class="diff-chg">second
-member
-is
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-and
-its
-</ins>
-value
-is
-<ins class="diff-new">a
-new
-empty
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
-JSON
-object
-</ins></a>.</li><li><ins class="diff-new">
+</ins>
+<code>
+<del class="diff-old">@set
+</del>
+<ins class="diff-chg">@language
+</ins>
+</code>
+<del class="diff-old">or
+</del>
+<ins class="diff-chg">and
+its
+value
+is
+a
+new
+empty
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a>,<ins class="diff-chg">
+the
+second
+member
+is
+</ins>
+<code>
+<del class="diff-old">@list
+</del>
+<ins class="diff-chg">@type
+</ins>
+</code>
+<del class="diff-old">property,
+it
+must
+be
+</del>
+<ins class="diff-chg">and
+its
+value
+is
+a
+new
+empty
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a>.</li><li><ins class="diff-chg">
 Reference
-the
-value
-associated
-with
-the
-</ins><i><ins class="diff-new">
-container
-</ins></i><ins class="diff-new">
-member
-in
-</ins><i><ins class="diff-new">
-container
-map
-</ins></i><ins class="diff-new">
+</ins>
+the
+<del class="diff-old">only
+property.
+Set
+element
+to
+</del>
+<ins class="diff-chg">value
+associated
+with
+the
+</ins><i><ins class="diff-chg">
+container
+</ins></i><ins class="diff-chg">
+member
+in
+</ins><i><ins class="diff-chg">
+container
+map
+</ins></i><ins class="diff-chg">
 using
 the
 variable
-</ins><i><ins class="diff-new">
+</ins><i><ins class="diff-chg">
 type/language
 map
-</ins></i>.</li><li><ins class="diff-new">
-If
-the
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
-term
-definition
-</ins></a><ins class="diff-new">
+</ins></i>.</li><li><ins class="diff-chg">
+If
+the
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
+term
+definition
+</ins></a><ins class="diff-chg">
 indicates
-</ins>
-that
-<del class="diff-old">item;
-otherwise
-</del>
-the
-<del class="diff-old">compacted
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
+that
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
 </ins></a><ins class="diff-chg">
 represents
 a
@@ -24063,16 +23686,111 @@
 property
 </ins></a>:<ol class="algorithm"><li><ins class="diff-chg">
 Reference
-the
-</ins>
-value
-<del class="diff-old">is
-element
-.
+</ins>
+the
+value
+<del class="diff-old">of
[email protected]
+;
+leave
 </del>
 <ins class="diff-chg">associated
 with
 the
+</ins>
+<code>
+<del class="diff-old">@list
+</del>
+<ins class="diff-chg">@type
+</ins>
+</code>
+<del class="diff-old">untouched.
+</del>
+<ins class="diff-chg">member
+in
+</ins><i><ins class="diff-chg">
+type/language
+map
+</ins></i><ins class="diff-chg">
+using
+the
+variable
+</ins><i><ins class="diff-chg">
+type
+map
+</ins></i>.
+</li>
+<li>
+If
+<del class="diff-old">element
+has
+just
+</del>
+<i>
+<ins class="diff-chg">type
+map
+</ins></i><ins class="diff-chg">
+does
+not
+have
+</ins>
+a
+<code>
+<del class="diff-old">@language
+</del>
+<ins class="diff-chg">@reverse
+</ins>
+</code>
+<del class="diff-old">property,
+</del>
+<ins class="diff-chg">member,
+create
+one
+and
+</ins>
+set
+<del class="diff-old">element
+</del>
+<ins class="diff-chg">its
+value
+</ins>
+to
+<del class="diff-old">null
+.
+</del>
+<ins class="diff-chg">the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
+being
+processed.
+</ins>
+</li>
+</ol>
+</li>
+<li>
+Otherwise,
+<del class="diff-old">expand
+element
+according
+</del>
+<ins class="diff-chg">if
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
+term
+definition
+</ins></a><ins class="diff-chg">
+has
+a
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a>:<ol class="algorithm"><li><ins class="diff-chg">
+Reference
+the
+value
+associated
+with
+the
 </ins><code><ins class="diff-chg">
 @type
 </ins></code><ins class="diff-chg">
@@ -24098,10 +23816,29 @@
 not
 have
 a
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member,
+member
+corresponding
+</ins>
+to
+the
+<del class="diff-old">Value
+Expansion
+</del>
+<a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping">
+<ins class="diff-chg">type
+mapping
+</ins>
+</a>
+<del class="diff-old">rules,
+passing
+copies
+of
+</del>
+<ins class="diff-chg">in
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
+term
+definition
+</ins></a>,<ins class="diff-chg">
 create
 one
 and
@@ -24109,58 +23846,74 @@
 its
 value
 to
-the
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
-being
-processed.
-</ins></li></ol>
-</li>
-<li>
-Otherwise,
-if
-<del class="diff-old">element
-is
-an
-object:
-</del>
-<a class="tref internalDFN" title="term-definition" href="#dfn-term-definition">
+</ins>
+the
+<del class="diff-old">active
+context
+</del>
+<a class="tref internalDFN" title="term" href="#dfn-term">
 <ins class="diff-chg">term
-definition
-</ins></a><ins class="diff-chg">
-has
-a
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins></a>:
-<ol class="algorithm">
-<li>
-<del class="diff-old">If
-element
-has
-an
-</del>
-<ins class="diff-chg">Reference
-the
-value
-associated
-with
-the
-</ins>
-<code>
-<del class="diff-old">@value
-</del>
-<ins class="diff-chg">@type
-</ins>
-</code>
-<del class="diff-old">property
-or
-element
-is
-</del>
-<ins class="diff-chg">member
+</ins>
+</a>
+<del class="diff-old">and
+active
+property
+.
+</del>
+<ins class="diff-chg">being
+processed.
+</ins>
+</li>
+</ol>
+<del class="diff-old">If,
+after
+</del>
+</li>
+<li>
+<ins class="diff-chg">Otherwise,
+if
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
+term
+definition
+</ins></a><ins class="diff-chg">
+has
+a
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a><ins class="diff-chg">
+(might
+be
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a><ins class="diff-chg">
+):
+</ins><ol class="algorithm"><li><ins class="diff-chg">
+Reference
+</ins>
+the
+<del class="diff-old">algorithm
+outlined
+above
+is
+run,
+</del>
+<ins class="diff-chg">value
+associated
+with
+</ins>
+the
+<del class="diff-old">resulting
+element
+is
+an
+JSON
+object
+</del>
+<code>
+<ins class="diff-chg">@language
+</ins></code><ins class="diff-chg">
+member
 in
 </ins><i><ins class="diff-chg">
 type/language
@@ -24170,125 +23923,15 @@
 the
 variable
 </ins><i><ins class="diff-chg">
-type
-map
-</ins></i>.</li><li><ins class="diff-chg">
-If
-</ins><i><ins class="diff-chg">
-type
-map
-</ins></i><ins class="diff-chg">
-does
-not
-have
-</ins>
-a
-<del class="diff-old">subject
-reference
-</del>
-<ins class="diff-chg">member
-corresponding
-to
-the
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins></a><ins class="diff-chg">
-in
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins>
-</a>,
-<del class="diff-old">return
-</del>
-<ins class="diff-chg">create
-one
-and
-set
-its
-value
-to
-</ins>
-the
-<del class="diff-old">result
-of
-performing
-Value
-Compaction
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
-</ins>
-</a>
-<del class="diff-old">on
-element
-using
-active
-property
-.
-</del>
-<ins class="diff-chg">being
-processed.
-</ins></li></ol>
-</li>
-<li>
-Otherwise,
-if
-<del class="diff-old">the
-active
-property
-</del>
-<a class="tref internalDFN" title="term-definition" href="#dfn-term-definition">
-<ins class="diff-chg">term
-definition
-</ins>
-</a>
-has
-a
-<a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping">
-<ins class="diff-new">language
-mapping
-</ins></a><ins class="diff-new">
-(might
-be
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a><ins class="diff-new">
-):
-</ins><ol class="algorithm"><li><ins class="diff-new">
-Reference
-the
-value
-associated
-with
-the
-</ins>
-<code>
-<del class="diff-old">@container
-</del>
-<ins class="diff-chg">@language
-</ins>
-</code>
-<ins class="diff-new">member
-in
-</ins><i><ins class="diff-new">
-type/language
-map
-</ins></i><ins class="diff-new">
-using
-the
-variable
-</ins><i><ins class="diff-new">
-language
-map
-</ins></i>.</li><li><ins class="diff-new">
-If
-the
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
-language
-</ins>
-mapping
+language
+map
+</ins></i>.</li><li><ins class="diff-chg">
+If
+the
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins>
 </a>
 <ins class="diff-new">equals
 </ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
@@ -24297,15 +23940,12 @@
 set
 </ins><i><ins class="diff-new">
 language
-</ins></i>
-to
-<code>
-<del class="diff-old">@list
-</del>
-<ins class="diff-chg">@null
-</ins>
-</code>
-<ins class="diff-new">;
+</ins></i><ins class="diff-new">
+to
+</ins><code><ins class="diff-new">
[email protected]
+</ins></code><ins class="diff-new">
+;
 otherwise
 set
 it
@@ -24333,30 +23973,29 @@
 member,
 create
 one
-</ins>
-and
-<del class="diff-old">element
-has
-</del>
-<ins class="diff-chg">set
-its
-value
-to
-the
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
+and
+set
+its
+value
+to
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><ins class="diff-new">
 being
 processed.
-</ins></li></ol></li><li><ins class="diff-chg">
+</ins></li></ol></li><li><ins class="diff-new">
 Otherwise:
-</ins><ol class="algorithm"><li><ins class="diff-chg">
+</ins><ol class="algorithm"><li><ins class="diff-new">
 Reference
 the
 value
 associated
-with
-the
+</ins>
+with
+<del class="diff-old">just
+</del>
+<ins class="diff-chg">the
 </ins><code><ins class="diff-chg">
 @language
 </ins></code><ins class="diff-chg">
@@ -24411,42 +24050,57 @@
 have
 </ins>
 a
-<del class="diff-old">corresponding
-</del>
-<code>
-<del class="diff-old">@list
+<code>
+<del class="diff-old">@graph
 </del>
 <ins class="diff-chg">@none
 </ins>
 </code>
 <del class="diff-old">property,
-recursively
+element
+is
 </del>
 <ins class="diff-chg">member,
 create
 one
 and
-set
-its
-value
-to
-the
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
+</ins>
+set
+<ins class="diff-new">its
+value
+</ins>
+to
+the
+<a class="tref internalDFN" title="term" href="#dfn-term">
+<ins class="diff-new">term
+</ins></a><ins class="diff-new">
 being
 processed.
-</ins></li><li><ins class="diff-chg">
+</ins></li><li><ins class="diff-new">
 Reference
 the
-value
-associated
-with
-the
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
+</ins>
+value
+<del class="diff-old">of
+</del>
+<ins class="diff-chg">associated
+with
+the
+</ins>
+<code>
+<del class="diff-old">@graph
+</del>
+<ins class="diff-chg">@type
+</ins>
+</code>
+<del class="diff-old">'s
+value.
+Finally,
+if
+element
+is
+</del>
+<ins class="diff-chg">member
 in
 </ins><i><ins class="diff-chg">
 type/language
@@ -24467,9 +24121,21 @@
 does
 not
 have
-a
-</ins><code><ins class="diff-chg">
[email protected]
+</ins>
+a
+<del class="diff-old">JSON
+object
+,
+it
+is
+wrapped
+into
+an
+array
+.
+</del>
+<code>
+<ins class="diff-chg">@none
 </ins></code><ins class="diff-chg">
 member,
 create
@@ -24489,14 +24155,36 @@
 Return
 </ins><i><ins class="diff-chg">
 result
-</ins></i>.</li></ol></section></section><section id="iri-compaction"><h3><span class="secno"><ins class="diff-chg">
-8.3
-</ins></span><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr><ins class="diff-chg">
+</ins></i>.</li></ol>
+</div>
+</div>
+<div class="section" id="iri-compaction">
+<h3>
+<span class="secno">
+<del class="diff-old">4.8
+</del>
+<ins class="diff-chg">8.3
+</ins>
+</span>
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-new">IRI
+</ins></abbr>
 Compaction
-</ins></h3><p><ins class="diff-chg">
-This
+</h3>
+<p>
+<del class="diff-old">Compaction
+is
+the
+process
+of
+taking
+a
+JSON-LD
+document
+and
+applying
+</del>
+<ins class="diff-chg">This
 algorithm
 compacts
 an
@@ -24504,68 +24192,175 @@
 IRI
 </ins></abbr></a><ins class="diff-chg">
 to
-a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
+</ins>
+a
+<del class="diff-old">context
+such
+that
+the
+most
+</del>
+<a class="tref internalDFN" title="term" href="#dfn-term">
+<ins class="diff-chg">term
 </ins></a><ins class="diff-chg">
 or
 </ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri">
 compact
-<del class="diff-old">that
-property's
+<del class="diff-old">form
+of
+the
+document
+is
+generated.
+JSON
+is
+typically
+expressed
+in
 </del>
 <abbr title="Internationalized Resource Identifier">
 <ins class="diff-chg">IRI
 </ins></abbr></a>,<ins class="diff-chg">
 or
-a
-</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
-keyword
-</ins></a><ins class="diff-chg">
-to
-a
-</ins><a class="tref internalDFN" title="keyword-alias" href="#dfn-keyword-alias"><ins class="diff-chg">
-keyword
+</ins>
+a
+<del class="diff-old">very
+compact,
+key-value
+format.
+That
+is,
+full
+IRIs
+are
+rarely
+used
+as
+keys.
+At
+times,
+</del>
+<a class="tref internalDFN" title="keyword" href="#dfn-keyword">
+<ins class="diff-chg">keyword
+</ins></a><ins class="diff-chg">
+to
+</ins>
+a
+<del class="diff-old">JSON-LD
+document
+may
+be
+received
+</del>
+<a class="tref internalDFN" title="keyword-alias" href="#dfn-keyword-alias">
+<ins class="diff-chg">keyword
 alias
 </ins></a>.<ins class="diff-chg">
 A
-</ins>
-value
-<del class="diff-old">passing
-</del>
-<ins class="diff-chg">that
-is
-associated
-with
-the
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
+value
+</ins>
+that
+is
+<del class="diff-old">not
+in
+its
+most
+compact
+form.
+JSON-LD,
+via
+</del>
+<ins class="diff-chg">associated
+with
+</ins>
+the
+<del class="diff-old">API,
+provides
+a
+way
+</del>
+<a class="tref internalDFN" title="iri" href="#dfn-iri">
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-chg">IRI
 </ins></abbr></a><ins class="diff-chg">
 may
 be
 passed
 in
 order
-to
-assist
+</ins>
+to
+<del class="diff-old">compact
+a
+JSON-LD
+document.
+For
+example,
+assume
+</del>
+<ins class="diff-chg">assist
 in
 selecting
-the
-most
+</ins>
+the
+<del class="diff-old">following
+JSON-LD
+input
+document:
+</del>
+<ins class="diff-chg">most
 context-appropriate
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 term
-</ins></a>.</p><section class="informative"><h4 id="overview-7"><ins class="diff-chg">
-Overview
-</ins></h4><p><em><ins class="diff-chg">
-This
+</ins></a>.
+</p>
+<del class="diff-old">{
+  &quot;http://xmlns.com/foaf/0.1/name&quot;: &quot;Manu Sporny&quot;,
+  &quot;http://xmlns.com/foaf/0.1/homepage&quot;: {
+    &quot;@id&quot;: &quot;http://manu.sporny.org/&quot;
+  }
+}
+</del>
+<div class="informative section">
+<h4 id="overview-7">
+<ins class="diff-chg">Overview
+</ins></h4>
+<p>
+<del class="diff-old">Additionally,
+assume
+the
+following
+developer-supplied
+JSON-LD
+context:
+{
+  &quot;@context&quot;: {
+    &quot;name&quot;: &quot;http://xmlns.com/foaf/0.1/name&quot;,
+    &quot;homepage&quot;: {
+      &quot;@id&quot;: &quot;http://xmlns.com/foaf/0.1/homepage&quot;,
+      &quot;@type&quot;: &quot;@id&quot;
+    }
+  }
+}
+</del>
+<em>
+<ins class="diff-chg">This
 section
 is
 non-normative.
-</ins></em></p><p><ins class="diff-chg">
-If
-the
-passed
+</ins></em></p>
+<p>
+<del class="diff-old">Running
+</del>
+<ins class="diff-chg">If
+</ins>
+the
+<del class="diff-old">JSON-LD
+Compaction
+algorithm
+given
+</del>
+<ins class="diff-chg">passed
 </ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
 IRI
 </ins></abbr></a><ins class="diff-chg">
@@ -24585,17 +24380,18 @@
 try
 to
 find
-</ins>
-a
-<del class="diff-old">copy
-of
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
-</ins></a><ins class="diff-chg">
-that
-</ins>
-the
+a
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
+that
+</ins>
+the
+<del class="diff-old">context
+supplied
+above
+against
+</del>
 <a class="tref internalDFN" title="iri" href="#dfn-iri">
 <abbr title="Internationalized Resource Identifier">
 <ins class="diff-chg">IRI
@@ -24613,27 +24409,30 @@
 is
 relative
 to
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-<del class="diff-old">context
-</del>
-<ins class="diff-chg">context's
-</ins>
-</a>
-<a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping">
-<ins class="diff-new">vocabulary
-mapping
-</ins></a>.<ins class="diff-new">
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context's
+</ins></a><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-chg">
+vocabulary
+mapping
+</ins></a>.<ins class="diff-chg">
 In
 order
 to
 select
-the
-most
+</ins>
+the
+<del class="diff-old">JSON-LD
+input
+document
+provided
+above
+</del>
+<ins class="diff-chg">most
 appropriate
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a>,<ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a>,<ins class="diff-chg">
 we
 may
 have
@@ -24643,56 +24442,52 @@
 about
 the
 passed
-</ins><i><ins class="diff-new">
-value
-</ins></i>.<ins class="diff-new">
+</ins><i><ins class="diff-chg">
+value
+</ins></i>.<ins class="diff-chg">
 This
 information
 includes
 which
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
 container
 mappings
-</ins></a><ins class="diff-new">
+</ins></a>
 would
-be
+<del class="diff-old">result
+</del>
+<ins class="diff-chg">be
 preferred
 for
 expressing
 the
-</ins><i><ins class="diff-new">
-value
-</ins></i>,
-and
-<ins class="diff-new">what
-its
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
-type
-mapping
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
-language
-mapping
-</ins></a><ins class="diff-new">
+</ins><i><ins class="diff-chg">
+value
+</ins></i>,<ins class="diff-chg">
+and
+what
+its
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a><ins class="diff-chg">
 is.
 For
-</ins><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-chg">
 JSON-LD
 lists
-</ins></a>,
-the
-<del class="diff-old">active
-property
-</del>
-<a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping">
-<ins class="diff-chg">type
-mapping
-</ins>
-</a>
-<del class="diff-old">ensuring
-</del>
-<ins class="diff-chg">or
+</ins></a>,<ins class="diff-chg">
+the
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a><ins class="diff-chg">
+or
 </ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
 language
 mapping
@@ -24706,16 +24501,29 @@
 most
 specific
 values
-</ins>
-that
-<ins class="diff-new">work
+that
+work
 for
 all
 items
-in
-</ins>
-the
-<del class="diff-old">result
+</ins>
+in
+the
+<del class="diff-old">following
+output:
+{
+  &quot;@context&quot;: {
+    &quot;name&quot;: &quot;http://xmlns.com/foaf/0.1/name&quot;,
+    &quot;homepage&quot;: {
+      &quot;@id&quot;: &quot;http://xmlns.com/foaf/0.1/homepage&quot;,
+      &quot;@type&quot;: &quot;@id&quot;
+    }
+  },
+  &quot;name&quot;: &quot;Manu Sporny&quot;,
+  &quot;homepage&quot;: &quot;http://manu.sporny.org/&quot;
+}
+The
+compaction
 </del>
 <ins class="diff-chg">list.
 Once
@@ -24724,33 +24532,45 @@
 is
 gathered,
 it
-</ins>
-is
-<ins class="diff-new">passed
-to
-the
-</ins><a href="#term-selection"><ins class="diff-new">
+is
+passed
+to
+the
+</ins><a href="#term-selection"><ins class="diff-chg">
 Term
 Selection
-algorithm
-</ins></a>,<ins class="diff-new">
-which
+</ins>
+algorithm
+<del class="diff-old">also
+enables
+</del>
+</a>,
+<ins class="diff-chg">which
 will
 return
-the
-most
+</ins>
+the
+<del class="diff-old">developer
+</del>
+<ins class="diff-chg">most
 appropriate
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
-to
-use.
-</ins></p><p><ins class="diff-new">
-If
-no
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a>
+to
+<del class="diff-old">map
+any
+expanded
+format
+into
+</del>
+<ins class="diff-chg">use.
+</ins></p><p><ins class="diff-chg">
+If
+no
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
 was
 found
 that
@@ -24760,36 +24580,39 @@
 to
 compact
 the
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
 IRI
 </ins></abbr></a>,
 an
-<del class="diff-old">array
-and
-removing
-null
+<del class="diff-old">application-specific
+compacted
+format.
+While
 </del>
 <ins class="diff-chg">attempt
 is
 made
 compact
-the
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr>
-</a>
-<del class="diff-old">values.
-Return
-either
-</del>
-<ins class="diff-chg">using
-</ins>
-the
-<del class="diff-old">result
-as
-</del>
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-chg">active
+</ins>
+the
+<del class="diff-old">context
+provided
+above
+mapped
+http://xmlns.com/foaf/0.1/name
+to
+name
+,
+it
+</del>
+<a class="tref internalDFN" title="iri" href="#dfn-iri">
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-chg">IRI
+</ins></abbr></a><ins class="diff-chg">
+using
+the
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
 context's
 </ins></a><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-chg">
 vocabulary
@@ -24803,20 +24626,29 @@
 the
 </ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
 IRI
-</ins></abbr></a><ins class="diff-chg">
+</ins></abbr></a>
 could
-not
+<del class="diff-old">have
+also
+mapped
+it
+</del>
+<ins class="diff-chg">not
 be
 compacted,
-</ins>
-an
-<del class="diff-old">array,
-</del>
-<ins class="diff-chg">attempt
+an
+attempt
 is
 made
-to
-find
+</ins>
+to
+<del class="diff-old">any
+arbitrary
+string
+provided
+by
+</del>
+<ins class="diff-chg">find
 a
 </ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-chg">
 compact
@@ -24832,10 +24664,16 @@
 compact
 </ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
 IRI
-</ins></abbr></a>,<ins class="diff-chg">
-the
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
+</ins></abbr></a>,
+the
+<del class="diff-old">developer.
+</del>
+<a class="tref internalDFN" title="iri" href="#dfn-iri">
+<del class="diff-old">4.8.1
+Compaction
+</del>
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-chg">IRI
 </ins></abbr></a><ins class="diff-chg">
 is
 transformed
@@ -24872,17 +24710,23 @@
 it
 is
 returned
-</ins>
-as
-<ins class="diff-new">is.
-</ins></p></section><section><h4 id="algorithm-7"><ins class="diff-new">
+as
+is.
+</ins></p></div><div class="section"><h4 id="algorithm-7">
 Algorithm
-</ins></h4><p><ins class="diff-new">
-This
+</h4>
+<p>
+<del class="diff-old">The
+</del>
+<ins class="diff-chg">This
+</ins>
 algorithm
 takes
 three
-required
+<del class="diff-old">input
+variables:
+</del>
+<ins class="diff-chg">required
 inputs
 and
 three
@@ -24893,26 +24737,40 @@
 inputs
 </ins>
 an
-<del class="diff-old">object
-</del>
 <a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-chg">active
-context
-</ins></a>,<ins class="diff-chg">
-an
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
-inverse
-context
-</ins></a>,<ins class="diff-chg">
-and
-the
+active
+context
+</a>,
+an
+<del class="diff-old">active
+property
+</del>
+<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context">
+<ins class="diff-chg">inverse
+context
+</ins>
+</a>,
+and
+<del class="diff-old">an
+element
+</del>
+<ins class="diff-chg">the
 </ins><i><ins class="diff-chg">
 iri
-</ins></i><ins class="diff-chg">
+</ins></i>
 to
 be
 compacted.
-The
+<del class="diff-old">To
+begin,
+the
+active
+context
+is
+set
+to
+</del>
+<ins class="diff-chg">The
 optional
 inputs
 are
@@ -24921,33 +24779,44 @@
 value
 </ins></i><ins class="diff-chg">
 associated
-</ins>
-with
-<ins class="diff-new">the
-</ins><i><ins class="diff-new">
-iri
-</ins></i>,<ins class="diff-new">
-a
-</ins><i><ins class="diff-new">
+with
+</ins>
+the
+<del class="diff-old">result
+of
+performing
+Context
+Processing
+on
+</del>
+<i>
+<ins class="diff-chg">iri
+</ins></i>,<ins class="diff-chg">
+a
+</ins><i><ins class="diff-chg">
 vocab
-</ins></i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
 flag
 which
 specifies
 whether
+</ins>
 the
 passed
-</ins><i><ins class="diff-new">
-iri
-</ins></i><ins class="diff-new">
+<del class="diff-old">context
+,
+</del>
+<i>
+<ins class="diff-chg">iri
+</ins></i><ins class="diff-chg">
 should
 be
 compacted
 using
 the
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
-active
-context's
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context">
+active
+<ins class="diff-new">context's
 </ins></a><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-new">
 vocabulary
 mapping
@@ -24964,10 +24833,11 @@
 a
 </ins><a class="tref internalDFN" title="reverse-property" href="#dfn-reverse-property"><ins class="diff-new">
 reverse
-property
-</ins></a><ins class="diff-new">
-is
-being
+</ins>
+property
+</a>
+is
+<ins class="diff-new">being
 compacted.
 If
 not
@@ -24976,70 +24846,107 @@
 value
 </ins></i><ins class="diff-new">
 is
-set
-to
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a><ins class="diff-new">
-and
-</ins><i><ins class="diff-new">
-vocab
-</ins></i><ins class="diff-new">
-and
-</ins><i><ins class="diff-new">
+</ins>
+set
+to
+<a class="tref internalDFN" title="null" href="#dfn-null">
+null
+<del class="diff-old">,
+</del>
+</a>
+and
+<del class="diff-old">element
+is
+</del>
+<i>
+<ins class="diff-chg">vocab
+</ins></i><ins class="diff-chg">
+and
+</ins><i><ins class="diff-chg">
 reverse
-</ins></i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
 are
 both
-set
-to
-</ins><code><ins class="diff-new">
-false
-</ins></code>.</p><ol class="algorithm"><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
+</ins>
+set
+to
+<del class="diff-old">the
+result
+of
+performing
+the
+Expansion
+Algorithm
+on
+the
+JSON-LD
+input
+</del>
+<code>
+<ins class="diff-chg">false
+</ins></code>.</p><ol class="algorithm"><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
 iri
-</ins></i><ins class="diff-new">
-is
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a>,<ins class="diff-new">
+</ins></i><ins class="diff-chg">
+is
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a>,<ins class="diff-chg">
 return
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a>.</li><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins>
+</a>.
+<del class="diff-old">This
+removes
+any
+existing
+</del>
+</li>
+<li>
+<ins class="diff-chg">If
+</ins><i><ins class="diff-chg">
 vocab
-</ins></i><ins class="diff-new">
-is
-</ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-new">
-true
-</ins></a><ins class="diff-new">
-and
-</ins><i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+is
+</ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
+true
+</ins></a><ins class="diff-chg">
+and
+</ins><i><ins class="diff-chg">
 iri
-</ins></i><ins class="diff-new">
-is
-</ins>
-a
-key
-<ins class="diff-new">in
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+is
+a
+key
+in
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
-context
-</ins></a>:<ol class="algorithm"><li><ins class="diff-new">
-Initialize
+</ins>
+context
+</a>:
+<ol class="algorithm">
+<li>
+<ins class="diff-new">Initialize
 </ins><i><ins class="diff-new">
 default
 language
-</ins></i><ins class="diff-new">
-to
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
-active
-context's
-</ins></a><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-new">
-default
+</ins></i>
+to
+<del class="diff-old">allow
+the
+given
+</del>
+<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
+active
+<del class="diff-old">context
+</del>
+<ins class="diff-chg">context's
+</ins>
+</a>
+<a class="tref internalDFN" title="default-language" href="#dfn-default-language">
+<ins class="diff-new">default
 language
 </ins></a>,<ins class="diff-new">
 if
@@ -25047,42 +24954,73 @@
 has
 one,
 otherwise
-to
-</ins><code><ins class="diff-new">
[email protected]
-</ins></code>.</li><li><ins class="diff-new">
-Initialize
-</ins><i><ins class="diff-new">
+</ins>
+to
+<del class="diff-old">be
+cleanly
+applied.
+</del>
+<code>
+<ins class="diff-chg">@none
+</ins></code>.</li>
+<li>
+<del class="diff-old">If
+element
+is
+</del>
+<ins class="diff-chg">Initialize
+</ins><i><ins class="diff-chg">
 containers
-</ins></i><ins class="diff-new">
-to
-an
-empty
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
-array
-</ins></a>.<ins class="diff-new">
-This
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
-array
-</ins></a><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+to
+</ins>
+an
+<ins class="diff-new">empty
+</ins>
+<a class="tref internalDFN" title="array" href="#dfn-array">
+array
+<del class="diff-old">,
+process
+each
+entry
+in
+element
+recursively
+using
+this
+algorithm,
+passing
+a
+copy
+</del>
+</a>.
+<ins class="diff-chg">This
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a><ins class="diff-chg">
 will
 be
 used
 to
 keep
 track
-of
-an
+</ins>
+of
+<del class="diff-old">the
+active
+context
+</del>
+<ins class="diff-chg">an
 ordered
 list
-</ins>
-of
-<ins class="diff-new">preferred
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
+of
+preferred
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
 container
 mappings
-</ins></a><ins class="diff-new">
-for
+</ins>
+</a>
+<ins class="diff-new">for
 a
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
 term
@@ -25101,27 +25039,18 @@
 type/language
 </ins></i><ins class="diff-new">
 to
-</ins>
-<code>
-<del class="diff-old">@list
-(or
-appropriate
-alias
-from
-active
-context
-</del>
-<ins class="diff-chg">@language
-</ins></code>,<ins class="diff-chg">
-and
-</ins><i><ins class="diff-chg">
-type/language
-value
-</ins></i><ins class="diff-chg">
-to
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
[email protected]
+</ins></code>,
+and
+<i>
+<ins class="diff-new">type/language
+value
+</ins></i><ins class="diff-new">
+to
+</ins><code><ins class="diff-new">
 @null
-</ins></code>.<ins class="diff-chg">
+</ins></code>.<ins class="diff-new">
 These
 two
 variables
@@ -25129,24 +25058,35 @@
 keep
 track
 of
-the
-preferred
+</ins>
+the
+<del class="diff-old">active
+property
+.
+If
+element
+has
+</del>
+<ins class="diff-chg">preferred
 </ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
 type
 mapping
-</ins>
-</a>
-<del class="diff-old">).
-</del>
-<ins class="diff-chg">or
+</ins></a><ins class="diff-chg">
+or
 </ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
 language
 mapping
 </ins></a><ins class="diff-chg">
 for
-a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
+</ins>
+a
+<del class="diff-old">single
+item,
+the
+compacted
+</del>
+<a class="tref internalDFN" title="term" href="#dfn-term">
+<ins class="diff-chg">term
 </ins></a>,<ins class="diff-chg">
 based
 on
@@ -25156,66 +25096,51 @@
 with
 </ins><i><ins class="diff-chg">
 value
-</ins></i>.
-</li>
-<li>
-<del class="diff-old">Otherwise,
-construct
-output
-as
-</del>
-<ins class="diff-chg">If
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-is
-</ins>
-a
-<del class="diff-old">new
-</del>
-<a class="tref internalDFN" title="json-object" href="#dfn-json-object">
-JSON
-object
-</a>
-<del class="diff-old">used
-for
-returning
-</del>
-<ins class="diff-chg">that
-contains
-</ins>
-the
-<del class="diff-old">result
-of
-compacting
-element
-.
-For
-each
-property
-</del>
-<ins class="diff-chg">key
+</ins></i>.</li><li><ins class="diff-chg">
+If
+</ins><i>
+value
+</i>
+is
+<ins class="diff-new">a
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
+JSON
+object
+</ins></a>
+that
+<del class="diff-old">item;
+otherwise
+</del>
+<ins class="diff-chg">contains
+the
+key
 </ins><code><ins class="diff-chg">
 @index
 </ins></code>,<ins class="diff-chg">
 then
 append
-the
-value
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-to
-</ins><i><ins class="diff-chg">
+</ins>
+the
+<del class="diff-old">compacted
+</del>
+value
+<code>
+<ins class="diff-new">@index
+</ins></code><ins class="diff-new">
+to
+</ins><i><ins class="diff-new">
 containers
-</ins></i>.</li><li><ins class="diff-chg">
-If
-</ins><i><ins class="diff-chg">
+</ins></i>.</li><li><ins class="diff-new">
+If
+</ins><i><ins class="diff-new">
 reverse
-</ins></i><ins class="diff-chg">
-is
-</ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
-true
+</ins></i>
+is
+<del class="diff-old">element
+.
+</del>
+<a class="tref internalDFN" title="true" href="#dfn-true">
+<ins class="diff-chg">true
 </ins></a>,<ins class="diff-chg">
 set
 </ins><i><ins class="diff-chg">
@@ -25231,23 +25156,30 @@
 to
 </ins><code><ins class="diff-chg">
 @reverse
-</ins></code>,
-and
-<ins class="diff-chg">append
+</ins></code>,<ins class="diff-chg">
+and
+append
 </ins><code><ins class="diff-chg">
 @set
 </ins></code><ins class="diff-chg">
 to
 </ins><i><ins class="diff-chg">
 containers
-</ins></i>.</li><li><ins class="diff-chg">
-Otherwise,
-if
-</ins><i>
-value
-</i>
-<ins class="diff-chg">is
-a
+</ins></i>.
+</li>
+<li>
+Otherwise,
+if
+<del class="diff-old">element
+</del>
+<i>
+<ins class="diff-chg">value
+</ins></i>
+is
+<del class="diff-old">an
+object:
+</del>
+<ins class="diff-chg">a
 </ins><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-chg">
 list
 object
@@ -25272,11 +25204,8 @@
 for
 all
 items
-</ins>
-in
-<del class="diff-old">element:
-</del>
-<ins class="diff-chg">the
+in
+the
 list
 as
 follows:
@@ -25284,31 +25213,39 @@
 <ol class="algorithm">
 <li>
 If
-<del class="diff-old">property
-</del>
-<code>
+<del class="diff-old">element
+has
+an
+</del>
+<code>
+<del class="diff-old">@value
+</del>
 <ins class="diff-chg">@index
-</ins></code>
-is
-<ins class="diff-new">a
-not
-key
-in
-</ins><i><ins class="diff-new">
-value
-</ins></i>,<ins class="diff-new">
+</ins>
+</code>
+<del class="diff-old">property
+or
+element
+</del>
+is
+a
+<del class="diff-old">subject
+reference
+,
+return
+</del>
+<ins class="diff-chg">not
+key
+in
+</ins><i><ins class="diff-chg">
+value
+</ins></i>,<ins class="diff-chg">
 then
 append
-</ins>
-<code>
-<del class="diff-old">@id
-</del>
-<ins class="diff-chg">@list
-</ins>
-</code>
-<del class="diff-old">or
-</del>
-<ins class="diff-chg">to
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+to
 </ins><i><ins class="diff-chg">
 containers
 </ins></i>.</li><li><ins class="diff-chg">
@@ -25317,35 +25254,46 @@
 list
 </ins></i><ins class="diff-chg">
 to
-the
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
-array
-</ins></a><ins class="diff-chg">
-associated
-with
-the
-key
-</ins>
-<code>
-<del class="diff-old">@type
-</del>
-<ins class="diff-chg">@list
-</ins>
-</code>
-<ins class="diff-new">in
-</ins><i><ins class="diff-new">
-value
-</ins></i>.</li><li><ins class="diff-new">
-Initialize
-</ins><i><ins class="diff-new">
+</ins>
+the
+<del class="diff-old">result
+of
+performing
+Value
+Compaction
+</del>
+<a class="tref internalDFN" title="array" href="#dfn-array">
+<ins class="diff-chg">array
+</ins>
+</a>
+<del class="diff-old">on
+element
+using
+active
+property
+</del>
+<ins class="diff-chg">associated
+with
+the
+key
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+in
+</ins><i><ins class="diff-chg">
+value
+</ins></i>.</li><li><ins class="diff-chg">
+Initialize
+</ins><i><ins class="diff-chg">
 common
 language
-</ins></i><ins class="diff-new">
-to
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a>.<ins class="diff-new">
-If
+</ins></i><ins class="diff-chg">
+to
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins>
+</a>.
+<ins class="diff-new">If
 </ins><i><ins class="diff-new">
 list
 </ins></i><ins class="diff-new">
@@ -25369,21 +25317,15 @@
 in
 </ins><i><ins class="diff-new">
 list
-</ins></i>:
-<ol class="algorithm">
-<li>
-<del class="diff-old">Set
-active
-property
-</del>
-<ins class="diff-chg">Initialize
-</ins><i><ins class="diff-chg">
-item
-language
-</ins></i>
-to
-<code>
-<ins class="diff-new">@none
+</ins></i>:<ol class="algorithm"><li><ins class="diff-new">
+Initialize
+</ins><i><ins class="diff-new">
+item
+language
+</ins></i><ins class="diff-new">
+to
+</ins><code><ins class="diff-new">
[email protected]
 </ins></code><ins class="diff-new">
 and
 </ins><i><ins class="diff-new">
@@ -25399,52 +25341,53 @@
 item
 </ins></i><ins class="diff-new">
 contains
-</ins>
-the
-<del class="diff-old">result
-of
-performing
-IRI
-Compaction
-on
-property
-.
-</del>
-<ins class="diff-chg">key
-</ins><code><ins class="diff-chg">
+the
+key
+</ins><code><ins class="diff-new">
 @value
-</ins></code>:<ol class="algorithm"><li><ins class="diff-chg">
-If
-</ins><i><ins class="diff-chg">
-item
-</ins></i><ins class="diff-chg">
-contains
-the
-key
-</ins><code><ins class="diff-chg">
+</ins></code>:<ol class="algorithm"><li><ins class="diff-new">
+If
+</ins><i><ins class="diff-new">
+item
+</ins></i><ins class="diff-new">
+contains
+the
+key
+</ins><code><ins class="diff-new">
 @language
-</ins></code>,<ins class="diff-chg">
-then
-set
-</ins><i><ins class="diff-chg">
-item
-language
-</ins></i><ins class="diff-chg">
+</ins></code>,<ins class="diff-new">
+then
+set
+</ins><i><ins class="diff-new">
+item
+language
+</ins></i><ins class="diff-new">
 to
 its
 associated
 value.
-</ins></li><li><ins class="diff-chg">
-Otherwise,
-if
-</ins><i><ins class="diff-chg">
-item
-</ins></i><ins class="diff-chg">
-contains
-the
-key
-</ins><code><ins class="diff-chg">
[email protected]
+</ins>
+</li>
+<li>
+Otherwise,
+if
+<i>
+<ins class="diff-new">item
+</ins></i><ins class="diff-new">
+contains
+</ins>
+the
+<del class="diff-old">active
+property
+has
+a
+</del>
+<ins class="diff-chg">key
+</ins>
+<code>
+<del class="diff-old">@container
+</del>
+<ins class="diff-chg">@type
 </ins></code>,<ins class="diff-chg">
 set
 </ins><i><ins class="diff-chg">
@@ -25475,55 +25418,43 @@
 to
 </ins><code><ins class="diff-chg">
 @id
-</ins></code>.
-</li>
-<li>
-If
-<del class="diff-old">value
-</del>
-<i>
-<ins class="diff-chg">common
-language
-</ins></i>
-is
-<del class="diff-old">a
-string
-</del>
-<a class="tref internalDFN" title="null" href="#dfn-null">
-<ins class="diff-chg">null
-</ins>
-</a>,
-<ins class="diff-new">set
-it
-to
-</ins><i><ins class="diff-new">
-item
-language
-</ins></i>.</li><li><ins class="diff-new">
-Otherwise,
-if
-</ins><i><ins class="diff-new">
-item
-language
-</ins></i><ins class="diff-new">
+</ins></code>.</li><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
+common
+language
+</ins></i><ins class="diff-chg">
+is
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a>,<ins class="diff-chg">
+set
+it
+to
+</ins><i><ins class="diff-chg">
+item
+language
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+if
+</ins><i><ins class="diff-chg">
+item
+language
+</ins></i><ins class="diff-chg">
 does
 not
 equal
-</ins><i><ins class="diff-new">
+</ins><i><ins class="diff-chg">
 common
 language
-</ins></i><ins class="diff-new">
-and
-</ins><i><ins class="diff-new">
-item
-</ins></i><ins class="diff-new">
-contains
-</ins>
-the
-<del class="diff-old">compacted
-value
-</del>
-<ins class="diff-chg">key
+</ins></i><ins class="diff-chg">
+and
+</ins><i><ins class="diff-chg">
+item
+</ins></i><ins class="diff-chg">
+contains
+the
+key
 </ins><code><ins class="diff-chg">
 @value
 </ins></code>,<ins class="diff-chg">
@@ -25536,8 +25467,11 @@
 to
 </ins><code><ins class="diff-chg">
 @none
-</ins></code><ins class="diff-chg">
-because
+</ins>
+</code>
+<del class="diff-old">mapping
+</del>
+<ins class="diff-chg">because
 list
 items
 have
@@ -25548,85 +25482,86 @@
 </ins><i><ins class="diff-chg">
 common
 type
-</ins></i>
-is
-<a class="tref internalDFN" title="null" href="#dfn-null">
-<ins class="diff-new">null
-</ins></a>,<ins class="diff-new">
-set
-it
-to
-</ins><i><ins class="diff-new">
-item
-type
-</ins></i>.</li><li><ins class="diff-new">
-Otherwise,
-if
-</ins><i><ins class="diff-new">
-item
-type
-</ins></i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+is
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a>,<ins class="diff-chg">
+set
+it
+to
+</ins><i><ins class="diff-chg">
+item
+type
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+if
+</ins><i><ins class="diff-chg">
+item
+type
+</ins></i><ins class="diff-chg">
 does
 not
 equal
-</ins><i><ins class="diff-new">
+</ins><i><ins class="diff-chg">
 common
 type
-</ins></i>,<ins class="diff-new">
-then
-set
-</ins><i><ins class="diff-new">
+</ins></i>,<ins class="diff-chg">
+then
+set
+</ins><i><ins class="diff-chg">
 common
 type
-</ins></i><ins class="diff-new">
-to
-</ins><code><ins class="diff-new">
[email protected]
-</ins></code><ins class="diff-new">
+</ins></i>
+to
+<code>
+<del class="diff-old">@list
+</del>
+<ins class="diff-chg">@none
+</ins></code><ins class="diff-chg">
 because
 list
 items
 have
 conflicting
 types.
-</ins></li><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
+</ins></li><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
 common
 language
-</ins></i><ins class="diff-new">
-is
-</ins><code><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+is
+</ins><code><ins class="diff-chg">
 @none
-</ins></code><ins class="diff-new">
-and
-</ins><i><ins class="diff-new">
-common
-type
-</ins></i><ins class="diff-new">
-is
-</ins><code><ins class="diff-new">
+</ins>
+</code>
+and
+<del class="diff-old">element
+</del>
+<i>
+<ins class="diff-chg">common
+type
+</ins></i><ins class="diff-chg">
+is
+</ins><code><ins class="diff-chg">
 @none
-</ins></code>,<ins class="diff-new">
+</ins></code>,<ins class="diff-chg">
 then
 stop
 processing
 items
 in
-</ins>
-the
-<del class="diff-old">result
-of
-performing
-IRI
-Compaction
-on
-</del>
-<ins class="diff-chg">list
+the
+list
 because
 it
-has
-been
+</ins>
+has
+<del class="diff-old">a
+corresponding
+</del>
+<ins class="diff-chg">been
 detected
 that
 there
@@ -25652,8 +25587,11 @@
 set
 it
 to
-</ins><code><ins class="diff-chg">
[email protected]
+</ins>
+<code>
+<del class="diff-old">@list
+</del>
+<ins class="diff-chg">@none
 </ins></code>.</li><li><ins class="diff-chg">
 If
 </ins><i><ins class="diff-chg">
@@ -25679,8 +25617,15 @@
 not
 </ins><code><ins class="diff-chg">
 @none
-</ins></code><ins class="diff-chg">
-then
+</ins>
+</code>
+<del class="diff-old">property,
+recursively
+compact
+that
+property's
+</del>
+<ins class="diff-chg">then
 set
 </ins><i><ins class="diff-chg">
 type/language
@@ -25694,37 +25639,21 @@
 type/language
 </ins>
 value
-<del class="diff-old">.
+<del class="diff-old">passing
 </del>
 </i>
 <ins class="diff-chg">to
 </ins><i><ins class="diff-chg">
 common
 type
-</ins></i>.
-</li>
-<li>
-Otherwise,
-<ins class="diff-chg">set
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+set
 </ins><i><ins class="diff-chg">
 type/language
-</ins>
-value
-<del class="diff-old">must
-be
-an
-array
-.
-Perform
-IRI
-Compaction
-on
-every
-entry
-of
-</del>
-</i>
-<ins class="diff-chg">to
+value
+</ins></i><ins class="diff-chg">
+to
 </ins><i><ins class="diff-chg">
 common
 language
@@ -25732,54 +25661,54 @@
 Otherwise:
 </ins><ol class="algorithm"><li><ins class="diff-chg">
 If
-</ins><i>
-value
-<del class="diff-old">.
-</del>
-</i>
-<ins class="diff-chg">is
-a
-</ins><a class="tref internalDFN" title="value-object" href="#dfn-value-object"><ins class="diff-chg">
-value
-object
-</ins></a>:<ol class="algorithm"><li>
-If
-<i>
-value
-</i>
-contains
-<del class="diff-old">just
-one
-entry,
-value
-is
-</del>
-<ins class="diff-chg">the
-key
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+is
+</ins>
+a
+<del class="diff-old">copy
+of
+</del>
+<a class="tref internalDFN" title="value-object" href="#dfn-value-object">
+<ins class="diff-chg">value
+object
+</ins></a>:<ol class="algorithm"><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+contains
+</ins>
+the
+<del class="diff-old">active
+context
+</del>
+<ins class="diff-chg">key
 </ins><code><ins class="diff-chg">
 @language
-</ins></code><ins class="diff-chg">
-and
-does
+</ins></code>
+and
+<ins class="diff-new">does
 not
 contain
-the
-key
+</ins>
+the
+<del class="diff-old">active
+property
+</del>
+<ins class="diff-chg">key
 </ins><code><ins class="diff-chg">
 @index
 </ins></code>,<ins class="diff-chg">
 then
-</ins>
-set
-<i>
-<ins class="diff-new">type/language
-value
-</ins></i>
-to
-<del class="diff-old">that
-entry.
-</del>
-<ins class="diff-chg">its
+set
+</ins><i><ins class="diff-chg">
+type/language
+value
+</ins></i><ins class="diff-chg">
+to
+its
 associated
 value
 and
@@ -25790,25 +25719,15 @@
 to
 </ins><i><ins class="diff-chg">
 containers
-</ins></i>.
-</li>
-<li>
-<del class="diff-old">Add
-active
-property
-and
-</del>
-<ins class="diff-chg">Otherwise,
-if
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-contains
-</ins>
-the
-<del class="diff-old">expanded
-</del>
-<ins class="diff-chg">key
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+if
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+contains
+the
+key
 </ins><code><ins class="diff-chg">
 @type
 </ins></code>,<ins class="diff-chg">
@@ -25816,14 +25735,10 @@
 set
 </ins><i><ins class="diff-chg">
 type/language
-</ins>
-value
-</i>
-to
-<del class="diff-old">output
-.
-</del>
-<ins class="diff-chg">its
+value
+</ins></i><ins class="diff-chg">
+to
+its
 associated
 value
 and
@@ -25834,13 +25749,9 @@
 to
 </ins><code><ins class="diff-chg">
 @type
-</ins></code>.
-</li>
-</ol>
-</li>
-<li>
-Otherwise,
-<ins class="diff-chg">set
+</ins></code>.</li></ol></li><li><ins class="diff-chg">
+Otherwise,
+set
 </ins><i><ins class="diff-chg">
 type/language
 </ins></i><ins class="diff-chg">
@@ -25852,12 +25763,9 @@
 set
 </ins><i><ins class="diff-chg">
 type/language
-</ins>
-value
-<del class="diff-old">must
-</del>
-</i>
-<ins class="diff-chg">to
+value
+</ins></i><ins class="diff-chg">
+to
 </ins><code><ins class="diff-chg">
 @id
 </ins></code>.</li><li><ins class="diff-chg">
@@ -25890,111 +25798,172 @@
 and
 it
 will
-</ins>
-be
-<ins class="diff-new">the
+be
+the
 last
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
-container
-mapping
-</ins></a><ins class="diff-new">
-value
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
+container
+mapping
+</ins>
+</a>
+<del class="diff-old">ensuring
+that
+</del>
+<ins class="diff-chg">value
 to
 be
 checked
 as
 it
 is
-the
-most
+</ins>
+the
+<del class="diff-old">result
+</del>
+<ins class="diff-chg">most
 generic.
-</ins></li><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
+</ins></li><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
 type/language
 value
-</ins></i><ins class="diff-new">
-is
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a>,<ins class="diff-new">
-set
-it
-to
-</ins><code><ins class="diff-new">
+</ins></i>
+is
+<del class="diff-old">an
+array
+and
+removing
+</del>
+<a class="tref internalDFN" title="null" href="#dfn-null">
+null
+<del class="diff-old">values.
+Return
+either
+</del>
+</a>,
+<ins class="diff-chg">set
+it
+to
+</ins><code><ins class="diff-chg">
 @null
-</ins></code>.<ins class="diff-new">
-This
-is
-the
-key
-under
-which
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a><ins class="diff-new">
+</ins></code>.<ins class="diff-chg">
+This
+is
+</ins>
+the
+<del class="diff-old">result
+as
+an
+array,
+as
+an
+object
+with
+a
+</del>
+key
+<del class="diff-old">of
[email protected]
+(or
+appropriate
+alias
+from
+active
+</del>
+<ins class="diff-chg">under
+which
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a><ins class="diff-chg">
 values
 are
 stored
 in
 the
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
-context
-</ins></a><i><ins class="diff-new">
-entry
-</ins></i>.</li><li><ins class="diff-new">
-Initialize
-</ins><i><ins class="diff-new">
+</ins>
+context
+</a>
+<del class="diff-old">).
+</del>
+<i>
+<ins class="diff-chg">entry
+</ins></i>.
+</li>
+<li>
+<del class="diff-old">Otherwise,
+construct
+output
+as
+a
+new
+JSON
+object
+</del>
+<ins class="diff-chg">Initialize
+</ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i><ins class="diff-new">
-to
-</ins>
-an
-<ins class="diff-new">empty
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
-array
-</ins></a>.<ins class="diff-new">
-This
-</ins>
-<a class="tref internalDFN" title="array" href="#dfn-array">
-array
-</a>
-<ins class="diff-new">will
+</ins></i><ins class="diff-chg">
+to
+an
+empty
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a>.<ins class="diff-chg">
+This
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins>
+</a>
+<del class="diff-old">used
+for
+returning
+</del>
+<ins class="diff-chg">will
 indicate,
 in
 order,
-the
-preferred
-values
-for
-a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+</ins>
+the
+<del class="diff-old">result
+of
+compacting
+element
+.
+For
+each
+property
+and
+</del>
+<ins class="diff-chg">preferred
+values
+for
+a
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 term's
-</ins></a><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
-type
-mapping
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
-language
-mapping
-</ins>
-</a>.
-</li>
-<li>
-If
-<i>
-<ins class="diff-chg">type/language
-</ins>
-value
-</i>
-is
-<del class="diff-old">empty:
-</del>
-<code>
-<ins class="diff-chg">@reverse
+</ins></a><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a>.</li><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
+type/language
+</ins>
+value
+<del class="diff-old">in
+element:
+</del>
+</i>
+<ins class="diff-chg">is
+</ins><code><ins class="diff-chg">
[email protected]
 </ins></code>,<ins class="diff-chg">
 append
 </ins><code><ins class="diff-chg">
@@ -26004,30 +25973,36 @@
 </ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i>.</li><li><ins class="diff-chg">
-If
-</ins><i><ins class="diff-chg">
-type/language
-value
-</ins></i><ins class="diff-chg">
-is
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-or
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-and
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-has
-an
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member:
+</ins></i>.</li>
+<li>
+If
+<del class="diff-old">property
+</del>
+<i>
+<ins class="diff-chg">type/language
+value
+</ins></i>
+is
+<code>
[email protected]
+</code>
+or
+<code>
+<del class="diff-old">@type
+</del>
+<ins class="diff-chg">@reverse
+</ins></code><ins class="diff-chg">
+and
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+has
+an
+</ins><code><ins class="diff-chg">
[email protected]
+</ins>
+</code>
+<ins class="diff-new">member:
 </ins>
 <ol class="algorithm">
 <li>
@@ -26051,12 +26026,6 @@
 IRI
 </abbr>
 <del class="diff-old">Compaction
-on
-property
-.
-Create
-an
-entry
 </del>
 <ins class="diff-chg">compaction
 algorithm
@@ -26078,30 +26047,28 @@
 @id
 </ins></code><ins class="diff-chg">
 key
-</ins>
-in
-<del class="diff-old">output
-</del>
-<i>
-<ins class="diff-chg">value
-</ins></i>
-for
-<del class="diff-old">active
-property
-</del>
-<i>
-<ins class="diff-chg">iri
+in
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+for
+</ins><i><ins class="diff-chg">
+iri
 </ins></i>,<a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
 true
 </ins>
 </a>
-<ins class="diff-new">for
-</ins><i><ins class="diff-new">
+<del class="diff-old">on
+property
+.
+</del>
+<ins class="diff-chg">for
+</ins><i><ins class="diff-chg">
 vocab
-</ins></i>,
-and
-<a class="tref internalDFN" title="true" href="#dfn-true">
-<ins class="diff-chg">true
+</ins></i>,<ins class="diff-chg">
+and
+</ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
+true
 </ins></a><ins class="diff-chg">
 for
 </ins><i><ins class="diff-chg">
@@ -26130,11 +26097,8 @@
 that
 equals
 the
-</ins>
-value
-<del class="diff-old">.
-</del>
-<ins class="diff-chg">associated
+value
+associated
 with
 the
 </ins><code><ins class="diff-chg">
@@ -26163,8 +26127,12 @@
 </ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i>.</li><li><ins class="diff-chg">
-Otherwise,
+</ins></i>.
+</li>
+<li>
+<del class="diff-old">If
+</del>
+<ins class="diff-chg">Otherwise,
 append
 </ins><code><ins class="diff-chg">
 @id
@@ -26182,24 +26150,13 @@
 </ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i>.
-</li>
-</ol>
-</li>
-<li>
-<del class="diff-old">For
-each
-item
-in
-</del>
-<ins class="diff-chg">Otherwise,
+</ins></i>.</li></ol></li><li><ins class="diff-chg">
+Otherwise,
 append
 </ins><i><ins class="diff-chg">
 type/language
 </ins>
 value
-<del class="diff-old">:
-</del>
 </i>
 <ins class="diff-chg">and
 </ins><code><ins class="diff-chg">
@@ -26212,11 +26169,8 @@
 </ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i>.</li>
-<li>
-<del class="diff-old">Set
-</del>
-<ins class="diff-chg">Initialize
+</ins></i>.</li><li><ins class="diff-chg">
+Initialize
 </ins><i><ins class="diff-chg">
 term
 </ins></i><ins class="diff-chg">
@@ -26249,13 +26203,19 @@
 If
 </ins><i><ins class="diff-chg">
 term
-</ins></i><ins class="diff-chg">
-is
-not
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
-null
-</ins></a>,<ins class="diff-chg">
-return
+</ins></i>
+is
+<del class="diff-old">a
+string
+</del>
+<ins class="diff-chg">not
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins>
+</a>,
+<del class="diff-old">the
+</del>
+<ins class="diff-chg">return
 </ins><i><ins class="diff-chg">
 term
 </ins></i>.</li></ol></li><li><ins class="diff-chg">
@@ -26275,8 +26235,9 @@
 </ins></i><ins class="diff-chg">
 can
 be
-compacted
-to.
+</ins>
+compacted
+<ins class="diff-chg">to.
 If
 </ins><i><ins class="diff-chg">
 vocab
@@ -26286,40 +26247,39 @@
 true
 </ins></a><ins class="diff-chg">
 and
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-<del class="diff-old">property
-</del>
-<ins class="diff-chg">context
-</ins>
-</a>
-<ins class="diff-new">has
-a
-</ins><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a><ins class="diff-chg">
+has
+a
+</ins><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-chg">
 vocabulary
 mapping
-</ins></a>:<ol class="algorithm"><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
+</ins></a>:<ol class="algorithm"><li><ins class="diff-chg">
+If
+</ins><i><ins class="diff-chg">
 iri
-</ins></i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
 begins
 with
 the
-</ins><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="vocabulary-mapping" href="#dfn-vocabulary-mapping"><ins class="diff-chg">
 vocabulary
 mapping's
-</ins></a><ins class="diff-new">
-value
-but
-is
-longer,
+</ins></a>
+value
+<ins class="diff-chg">but
+</ins>
+is
+<ins class="diff-new">longer,
 then
 initialize
 </ins><i><ins class="diff-new">
 suffix
-</ins></i>
-to
+</ins></i><ins class="diff-new">
+to
+</ins>
 the
 <del class="diff-old">result
 </del>
@@ -26394,6 +26354,9 @@
 IRI
 </abbr>
 <del class="diff-old">Compaction
+on
+value
+.
 </del>
 </i>
 <ins class="diff-chg">to
@@ -26416,79 +26379,73 @@
 </ins></abbr></a>,<ins class="diff-chg">
 if
 any.
-</ins></li><li><ins class="diff-chg">
-For
-each
-key
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins>
-</a>
-<del class="diff-old">for
-property
-</del>
-and
-<del class="diff-old">item
-using
-</del>
-<ins class="diff-chg">value
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins></a><ins class="diff-chg">
-in
-</ins>
-the
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-context
-</a>:
-<ol class="algorithm">
-<li>
-<ins class="diff-new">If
-the
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
+</ins>
+</li>
+<li>
+<del class="diff-old">Otherwise,
+</del>
+<ins class="diff-chg">For
+each
+key
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
+and
+</ins>
+value
+<del class="diff-old">must
+</del>
+<a class="tref internalDFN" title="term-definition" href="#dfn-term-definition">
+<ins class="diff-chg">term
+definition
+</ins></a><ins class="diff-chg">
+in
+the
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>:<ol class="algorithm"><li><ins class="diff-chg">
+If
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
 contains
 a
 colon
 (
-</ins><code>:</code><ins class="diff-new">
+</ins><code>:</code><ins class="diff-chg">
 ),
 then
 continue
 to
 the
 next
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a><ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
 because
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 terms
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
 with
 colons
 can't
-be
-used
-as
-</ins><a class="tref internalDFN" title="prefix" href="#dfn-prefix"><ins class="diff-new">
+</ins>
+be
+<del class="diff-old">an
+array
+</del>
+<ins class="diff-chg">used
+as
+</ins><a class="tref internalDFN" title="prefix" href="#dfn-prefix"><ins class="diff-chg">
 prefixes
 </ins>
 </a>.
-</li>
-<li>
-<del class="diff-old">Compact
-item
-by
-recursively
-performing
-this
-algorithm
-passing
-</del>
+<del class="diff-old">Perform
+</del>
+</li>
+<li>
 <ins class="diff-chg">If
 the
 </ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
@@ -26500,12 +26457,20 @@
 null
 </ins></a>,<ins class="diff-chg">
 its
-</ins><a class="tref internalDFN" title="iri-mapping" href="#dfn-iri-mapping"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr><ins class="diff-chg">
-mapping
-</ins></a><ins class="diff-chg">
-equals
+</ins><a class="tref internalDFN" title="iri-mapping" href="#dfn-iri-mapping">
+<abbr title="Internationalized Resource Identifier">
+IRI
+</abbr>
+<del class="diff-old">Compaction
+</del>
+<ins class="diff-chg">mapping
+</ins>
+</a>
+<del class="diff-old">on
+every
+entry
+</del>
+<ins class="diff-chg">equals
 </ins><i><ins class="diff-chg">
 iri
 </ins></i>,<ins class="diff-chg">
@@ -26518,25 +26483,29 @@
 </ins></a><ins class="diff-chg">
 is
 not
-</ins>
-a
-<del class="diff-old">copy
-</del>
-<ins class="diff-chg">substring
+a
+substring
 at
 the
 beginning
 </ins>
 of
-<i>
-<ins class="diff-new">iri
-</ins></i>,
-the
-<del class="diff-old">active
-context
-</del>
-<a class="tref internalDFN" title="term" href="#dfn-term">
-<ins class="diff-chg">term
+<del class="diff-old">value
+.
+If
+value
+contains
+just
+one
+entry,
+value
+</del>
+<i>
+<ins class="diff-chg">iri
+</ins></i>,<ins class="diff-chg">
+the
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
 </ins></a><ins class="diff-chg">
 cannot
 be
@@ -26545,53 +26514,54 @@
 a
 </ins><a class="tref internalDFN" title="prefix" href="#dfn-prefix"><ins class="diff-chg">
 prefix
-</ins>
-</a>
-<ins class="diff-new">because
-it
-is
-not
+</ins></a><ins class="diff-chg">
+because
+it
+</ins>
+is
+<del class="diff-old">set
+to
+</del>
+<ins class="diff-chg">not
 a
 partial
 match
 with
-</ins><i><ins class="diff-new">
+</ins><i><ins class="diff-chg">
 iri
-</ins></i>.<ins class="diff-new">
+</ins></i>.<ins class="diff-chg">
 Continue
 with
 the
 next
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a>.</li><li><ins class="diff-new">
-Initialize
-</ins><i><ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a>.</li><li><ins class="diff-chg">
+Initialize
+</ins><i><ins class="diff-chg">
 candidate
-</ins></i><ins class="diff-new">
+</ins></i><ins class="diff-chg">
 by
 concatenating
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-term
-</ins></a>,<ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a>,<ins class="diff-chg">
 a
 colon
 (
-</ins><code>:</code><ins class="diff-new">
+</ins><code>:</code><ins class="diff-chg">
 ),
-</ins>
-and
-the
-<del class="diff-old">active
-property
-</del>
-<ins class="diff-chg">substring
+and
+the
+substring
 of
 </ins><i><ins class="diff-chg">
 iri
-</ins></i><ins class="diff-chg">
-that
-follows
+</ins></i>
+that
+<del class="diff-old">entry.
+</del>
+<ins class="diff-chg">follows
 after
 the
 value
@@ -26604,17 +26574,15 @@
 IRI
 </ins></abbr><ins class="diff-chg">
 mapping
-</ins>
-</a>.
-</li>
-<li>
-If
-<del class="diff-old">an
-entry
-already
-exists
-</del>
-<ins class="diff-chg">either
+</ins></a>.
+</li>
+<li>
+<del class="diff-old">Add
+active
+property
+</del>
+<ins class="diff-chg">If
+either
 </ins><i><ins class="diff-chg">
 compact
 </ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
@@ -26623,11 +26591,12 @@
 is
 </ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
 null
-</ins></a><ins class="diff-chg">
-or
-</ins><i><ins class="diff-chg">
+</ins>
+</a>
+<ins class="diff-new">or
+</ins><i><ins class="diff-new">
 candidate
-</ins></i><ins class="diff-chg">
+</ins></i><ins class="diff-new">
 is
 shorter
 or
@@ -26638,49 +26607,33 @@
 lexicographically
 less
 than
-</ins><i><ins class="diff-chg">
-compact
-</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr></i><ins class="diff-chg">
-and
-</ins><i><ins class="diff-chg">
-candidate
-</ins></i><ins class="diff-chg">
-does
-not
-have
-a
-</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-chg">
-term
-definition
-</ins></a>
-in
-<del class="diff-old">output
-for
-</del>
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-active
-<del class="diff-old">property
-,
-convert
-it
-to
-an
-array
-</del>
-<ins class="diff-chg">context
-</ins>
-</a>
-<ins class="diff-new">or
-</ins>
-if
-<del class="diff-old">necessary,
-and
-append
-</del>
-the
-<del class="diff-old">compacted
+</ins><i><ins class="diff-new">
+compact
+</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+IRI
+</ins></abbr></i>
+and
+<i>
+<ins class="diff-new">candidate
+</ins></i><ins class="diff-new">
+does
+not
+have
+a
+</ins><a class="tref internalDFN" title="term-definition" href="#dfn-term-definition"><ins class="diff-new">
+term
+definition
+</ins></a><ins class="diff-new">
+in
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
+active
+context
+</ins></a><ins class="diff-new">
+or
+if
+</ins>
+the
+<del class="diff-old">expanded
 </del>
 <a class="tref internalDFN" title="term-definition" href="#dfn-term-definition">
 <ins class="diff-chg">term
@@ -26701,8 +26654,6 @@
 and
 </ins><i>
 value
-<del class="diff-old">.
-</del>
 </i>
 <ins class="diff-chg">is
 </ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
@@ -26713,51 +26664,68 @@
 compact
 </ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
 IRI
+</ins></abbr></i>
+to
+<del class="diff-old">output
+.
+</del>
+<i>
+<ins class="diff-chg">candidate
+</ins></i>.
+</li>
+</ol>
+</li>
+<li>
+<del class="diff-old">Otherwise,
+value
+must
+be
+an
+array
+.
+</del>
+<ins class="diff-chg">If
+</ins><i><ins class="diff-chg">
+compact
+</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
 </ins></abbr></i><ins class="diff-chg">
-to
-</ins><i><ins class="diff-chg">
-candidate
-</ins></i>.</li></ol>
-</li>
-<li>
-<del class="diff-old">Otherwise,
-if
-the
-compacted
-value
-</del>
-<ins class="diff-chg">If
-</ins><i><ins class="diff-chg">
-compact
-</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr></i>
-is
-not
-<a class="tref internalDFN" title="null" href="#dfn-null">
-<ins class="diff-new">null
-</ins></a>,<ins class="diff-new">
+is
+not
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a>,<ins class="diff-chg">
 return
-</ins><i><ins class="diff-new">
-compact
-</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr></i>.</li><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
-vocab
-</ins></i><ins class="diff-new">
-is
-</ins><a class="tref internalDFN" title="false" href="#dfn-false"><ins class="diff-new">
-false
-</ins></a><ins class="diff-new">
-then
+</ins><i><ins class="diff-chg">
+compact
+</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr></i>.
+</li>
+<li>
+If
+<del class="diff-old">value
+</del>
+<i>
+<ins class="diff-chg">vocab
+</ins></i>
+is
+<del class="diff-old">empty:
+Set
+active
+property
+</del>
+<a class="tref internalDFN" title="false" href="#dfn-false">
+<ins class="diff-chg">false
+</ins>
+</a>
+<ins class="diff-new">then
 transform
 </ins><i><ins class="diff-new">
 iri
-</ins></i><ins class="diff-new">
-to
-a
+</ins></i>
+to
+<ins class="diff-new">a
 </ins><a class="tref internalDFN" title="relative-iri" href="#dfn-relative-iri"><ins class="diff-new">
 relative
 </ins><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
@@ -26777,7 +26745,7 @@
 </ins></i><ins class="diff-new">
 as
 is.
-</ins></li></ol></section></section><section id="term-selection"><h3><span class="secno"><ins class="diff-new">
+</ins></li></ol></div></div><div class="section" id="term-selection"><h3><span class="secno"><ins class="diff-new">
 8.4
 </ins></span><ins class="diff-new">
 Term
@@ -26787,44 +26755,57 @@
 algorithm,
 invoked
 via
-the
-</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr><ins class="diff-new">
+</ins>
+the
+<del class="diff-old">result
+of
+performing
+</del>
+<a href="#iri-compaction">
+<abbr title="Internationalized Resource Identifier">
+IRI
+</abbr>
 Compaction
-algorithm
+<ins class="diff-new">algorithm
 </ins></a>,<ins class="diff-new">
 makes
 use
 of
-</ins>
-an
-<del class="diff-old">array
-</del>
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-chg">active
+an
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
+active
 context's
-</ins></a><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
+</ins></a><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
 inverse
 context
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
 to
 find
 the
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><ins class="diff-new">
 that
 is
 best
 used
 to
-</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-chg">
-compact
-</ins></a><ins class="diff-chg">
-an
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
+</ins><a class="tref internalDFN" title="compaction" href="#dfn-compaction"><ins class="diff-new">
+compact
+</ins>
+</a>
+<del class="diff-old">on
+property
+.
+Create
+</del>
+an
+<del class="diff-old">entry
+in
+</del>
+<a class="tref internalDFN" title="iri" href="#dfn-iri">
+<abbr title="Internationalized Resource Identifier">
+<ins class="diff-chg">IRI
 </ins></abbr></a>.<ins class="diff-chg">
 Other
 information
@@ -26844,23 +26825,18 @@
 </ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
 container
 mappings
-</ins>
-</a>
-and
-<del class="diff-old">active
-property
-</del>
-<ins class="diff-chg">which
+</ins></a><ins class="diff-chg">
+and
+which
 </ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
 type
 mapping
-</ins>
-</a>
-<ins class="diff-new">or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
-language
-mapping
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a><ins class="diff-chg">
 would
 be
 best
@@ -26869,25 +26845,35 @@
 express
 the
 value.
-</ins></p><section class="informative"><h4 id="overview-8"><ins class="diff-new">
+</ins></p><div class="informative section"><h4 id="overview-8"><ins class="diff-chg">
 Overview
-</ins></h4><p><em><ins class="diff-new">
-This
+</ins></h4><p>
+<em>
+<del class="diff-old">output
+</del>
+<ins class="diff-chg">This
 section
 is
 non-normative.
-</ins></em></p><p><ins class="diff-new">
-The
+</ins>
+</em>
+</p>
+<p>
+<ins class="diff-new">The
 </ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
 inverse
 context's
 </ins></a><ins class="diff-new">
 entry
-for
-the
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr></a><ins class="diff-new">
+</ins>
+for
+<del class="diff-old">active
+property
+</del>
+<ins class="diff-chg">the
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr></a><ins class="diff-chg">
 will
 be
 first
@@ -26896,10 +26882,10 @@
 to
 the
 preferred
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
 container
 mappings
-</ins></a>,<ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
 in
 the
 order
@@ -26908,16 +26894,16 @@
 are
 given.
 Amongst
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 terms
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
 with
 a
 matching
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
-container
-mapping
-</ins></a>,<ins class="diff-new">
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
+container
+mapping
+</ins></a>,<ins class="diff-chg">
 preference
 will
 be
@@ -26927,11 +26913,12 @@
 with
 a
 matching
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
-type
-mapping
-</ins></a><ins class="diff-new">
-or
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins>
+</a>
+<ins class="diff-new">or
 </ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
 language
 mapping
@@ -27027,23 +27014,19 @@
 be
 selected
 that
-</ins>
-has
-a
-<del class="diff-old">@container
-</del>
-<ins class="diff-chg">conflicting
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins></a><ins class="diff-chg">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-</ins>
-mapping
-</a>.
-<ins class="diff-new">Ties
+has
+a
+conflicting
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
+type
+mapping
+</ins></a><ins class="diff-new">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a>.<ins class="diff-new">
+Ties
 between
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
 terms
@@ -27061,8 +27044,9 @@
 the
 shortest
 terms,
-and
-then
+</ins>
+and
+<ins class="diff-chg">then
 by
 choosing
 the
@@ -27083,27 +27067,23 @@
 resolved
 when
 the
-</ins><a href="#inverse-context-creation"><ins class="diff-new">
+</ins><a href="#inverse-context-creation"><ins class="diff-chg">
 Inverse
 Context
 Creation
 algorithm
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
 was
 used
-</ins>
-to
-<del class="diff-old">@set
-,
-</del>
+to
 create
-<ins class="diff-new">the
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
+the
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
 context
-</ins></a>.</p></section><section><h4 id="algorithm-8"><ins class="diff-new">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm-8"><ins class="diff-chg">
 Algorithm
-</ins></h4><p><ins class="diff-new">
+</ins></h4><p><ins class="diff-chg">
 This
 algorithm
 has
@@ -27112,14 +27092,9 @@
 inputs.
 They
 are:
-</ins>
-an
-<del class="diff-old">entry
-in
-output
-</del>
-<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context">
-<ins class="diff-chg">inverse
+an
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
+inverse
 context
 </ins></a>,<ins class="diff-chg">
 a
@@ -27160,99 +27135,83 @@
 whether
 to
 look
-</ins>
-for
-<del class="diff-old">active
-property
-</del>
-<ins class="diff-chg">a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins>
-</a>
-<ins class="diff-new">with
+for
+a
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
+term
+</ins></a><ins class="diff-chg">
+with
 a
 matching
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
-type
-mapping
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
-language
-mapping
-</ins></a>,
-and
-<del class="diff-old">value
-as
-</del>
-an
-<a class="tref internalDFN" title="array" href="#dfn-array">
-array
-</a>
-<ins class="diff-new">representing
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a>,<ins class="diff-chg">
+and
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a><ins class="diff-chg">
+representing
 an
 ordered
 list
 of
-</ins><i><ins class="diff-new">
+</ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i><ins class="diff-new">
-for
-the
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
-type
-mapping
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
-language
-mapping
-</ins></a><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+for
+the
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a><ins class="diff-chg">
 to
 look
 for.
-</ins></p><ol class="algorithm"><li><ins class="diff-new">
-Initialize
-</ins><i><ins class="diff-new">
-container
-map
-</ins></i><ins class="diff-new">
-to
-the
-value
-associated
-with
-</ins><i><ins class="diff-new">
+</ins></p><ol class="algorithm"><li><ins class="diff-chg">
+Initialize
+</ins><i><ins class="diff-chg">
+container
+map
+</ins></i><ins class="diff-chg">
+to
+the
+</ins>
+value
+<del class="diff-old">.
+</del>
+<ins class="diff-chg">associated
+with
+</ins><i><ins class="diff-chg">
 iri
-</ins></i><ins class="diff-new">
-in
-the
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+in
+the
+</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
 context
-</ins>
-</a>.
-</li>
-<li>
-<del class="diff-old">Otherwise,
-create
-an
-entry
-</del>
-<ins class="diff-chg">For
-each
-item
-</ins><i><ins class="diff-chg">
-container
-</ins></i>
-in
-<del class="diff-old">output
-for
-active
-property
-</del>
+</ins></a>.
+</li>
+<li>
+For
+each
+item
+<i>
+<ins class="diff-chg">container
+</ins></i>
+in
 <i>
 <ins class="diff-chg">containers
 </ins></i>:<ol class="algorithm"><li><ins class="diff-chg">
@@ -27275,13 +27234,8 @@
 no
 </ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
 term
-</ins>
-</a>
-<del class="diff-old">and
-value
-.
-</del>
-<ins class="diff-chg">with
+</ins></a><ins class="diff-chg">
+with
 a
 matching
 </ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
@@ -27297,32 +27251,31 @@
 next
 </ins><i><ins class="diff-chg">
 container
-</ins></i>.
-</li>
-<li>
-<ins class="diff-chg">Initialize
+</ins></i>.</li><li><ins class="diff-chg">
+Initialize
 </ins><i><ins class="diff-chg">
 type/language
 map
 </ins></i><ins class="diff-chg">
 to
 the
-value
-associated
-with
-the
-</ins><i><ins class="diff-chg">
-container
-</ins></i><ins class="diff-chg">
-member
-in
-</ins><i><ins class="diff-chg">
-container
-map
-</ins></i>.
-</li>
-<li>
-<ins class="diff-chg">Initialize
+</ins>
+value
+<del class="diff-old">:
+</del>
+<ins class="diff-chg">associated
+with
+the
+</ins><i><ins class="diff-chg">
+container
+</ins></i><ins class="diff-chg">
+member
+in
+</ins><i><ins class="diff-chg">
+container
+map
+</ins></i>.</li><li><ins class="diff-chg">
+Initialize
 </ins><i><ins class="diff-chg">
 value
 map
@@ -27340,10 +27293,8 @@
 </ins><i><ins class="diff-chg">
 type/language
 map
-</ins></i>.
-</li>
-<li>
-<ins class="diff-chg">For
+</ins></i>.</li><li><ins class="diff-chg">
+For
 each
 </ins><i><ins class="diff-chg">
 item
@@ -27352,8 +27303,12 @@
 </ins><i><ins class="diff-chg">
 preferred
 values
-</ins></i>:<ol class="algorithm"><li><ins class="diff-chg">
-If
+</ins></i>:
+<ol class="algorithm">
+<li>
+<del class="diff-old">Set
+</del>
+<ins class="diff-chg">If
 </ins><i><ins class="diff-chg">
 item
 </ins></i><ins class="diff-chg">
@@ -27392,27 +27347,17 @@
 next
 </ins><i><ins class="diff-chg">
 item
-</ins></i>.
-</li>
-<li>
-Otherwise,
-<ins class="diff-new">a
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+a
 matching
 term
 has
 been
 found,
-</ins>
 return
-<del class="diff-old">element
-as
-</del>
-the
-<del class="diff-old">compacted
-element
-.
-</del>
-<ins class="diff-chg">value
+the
+value
 associated
 with
 the
@@ -27434,76 +27379,41 @@
 Return
 </ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
 null
-</ins></a>.</li></ol></section></section><section id="value-compaction"><h3>
-<del class="diff-old">Issue
-7
-</del>
-<span class="secno">
-<ins class="diff-chg">8.5
-</ins>
-</span>
-<del class="diff-old">Perhaps
-this
-should
-also
-call
-</del>
+</ins></a>.</li></ol></div></div><div class="section" id="value-compaction"><h3><span class="secno"><ins class="diff-chg">
+8.5
+</ins></span><ins class="diff-chg">
 Value
 Compaction
-</h3>
-<p>
-<a class="tref internalDFN" title="expansion" href="#dfn-expansion">
-<ins class="diff-new">Expansion
-</ins></a><ins class="diff-new">
+</ins></h3><p><a class="tref internalDFN" title="expansion" href="#dfn-expansion"><ins class="diff-chg">
+Expansion
+</ins></a><ins class="diff-chg">
 transforms
 all
 values
 into
-</ins><a class="tref internalDFN" title="expanded-form" href="#dfn-expanded-form"><ins class="diff-new">
-expanded
-form
-</ins>
-</a>
-<del class="diff-old">on
-native
-types
-and
-strings,
-which
-could
-consolidate
-potential
-transformation
-</del>
-in
-<del class="diff-old">one
-place.
-If,
-after
-</del>
-<ins class="diff-chg">JSON-LD.
+</ins><a class="tref internalDFN" title="expanded-form" href="#dfn-expanded-form"><ins class="diff-chg">
+expanded
+form
+</ins></a><ins class="diff-chg">
+in
+JSON-LD.
 This
 algorithm
 performs
-</ins>
-the
-<ins class="diff-new">opposite
+the
+opposite
 operation,
 transforming
 a
 value
 into
-</ins><dfn title="compacted-form" id="dfn-compacted-form"><ins class="diff-new">
-compacted
-form
-</ins></dfn>.<ins class="diff-new">
-This
-</ins>
-algorithm
-<del class="diff-old">outlined
-above
-</del>
-<ins class="diff-chg">compacts
+</ins><dfn title="compacted-form" id="dfn-compacted-form"><ins class="diff-chg">
+compacted
+form
+</ins></dfn>.<ins class="diff-chg">
+This
+algorithm
+compacts
 a
 value
 according
@@ -27521,96 +27431,78 @@
 context
 </ins></a><ins class="diff-chg">
 that
-</ins>
-is
-<del class="diff-old">run,
-</del>
-<ins class="diff-chg">associated
-with
-</ins>
-the
-<del class="diff-old">resulting
-</del>
-<ins class="diff-chg">value's
+is
+associated
+with
+the
+value's
 associated
 </ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
 active
 property
-</ins></a>.</p><section class="informative"><h4 id="overview-9"><ins class="diff-chg">
+</ins></a>.</p><div class="informative section"><h4 id="overview-9"><ins class="diff-chg">
 Overview
-</ins></h4><p>
-<em>
-<del class="diff-old">element
-</del>
-<ins class="diff-chg">This
+</ins></h4><p><em><ins class="diff-chg">
+This
 section
 is
 non-normative.
-</ins>
-</em>
-</p>
-<p>
-<ins class="diff-new">The
-</ins><i><ins class="diff-new">
-value
-</ins></i><ins class="diff-new">
+</ins></em></p><p><ins class="diff-chg">
+The
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
 to
 compact
 has
 either
 an
-</ins><code><ins class="diff-new">
[email protected]
-</ins></code><ins class="diff-new">
-or
-an
-</ins><code><ins class="diff-new">
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+or
+an
+</ins><code><ins class="diff-chg">
 @value
-</ins></code><ins class="diff-new">
+</ins></code><ins class="diff-chg">
 member.
-</ins></p><p><ins class="diff-new">
+</ins></p><p><ins class="diff-chg">
 For
 the
 former
 case,
 if
 the
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
-type
-mapping
-</ins></a><ins class="diff-new">
-of
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
-active
-property
-</ins></a>
-is
-<ins class="diff-new">set
-to
-</ins><code><ins class="diff-new">
[email protected]
-</ins></code><ins class="diff-new">
-or
-</ins><code><ins class="diff-new">
+</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
+type
+mapping
+</ins></a><ins class="diff-chg">
+of
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
+active
+property
+</ins></a><ins class="diff-chg">
+is
+set
+to
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+or
+</ins><code><ins class="diff-chg">
 @vocab
-</ins></code><ins class="diff-new">
-and
-</ins><i><ins class="diff-new">
-value
-</ins></i><ins class="diff-new">
+</ins></code><ins class="diff-chg">
+and
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
 consists
 of
 only
 of
-</ins>
-an
-<del class="diff-old">array
-,
-put
-element
-</del>
-<code>
-<ins class="diff-chg">@id
+an
+</ins><code><ins class="diff-chg">
[email protected]
 </ins></code><ins class="diff-chg">
 member
 and,
@@ -27622,46 +27514,56 @@
 mapping
 </ins></a><ins class="diff-chg">
 of
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
-property
-</ins></a><ins class="diff-chg">
-is
-set
-to
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code>,<ins class="diff-chg">
-an
-</ins><code><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+property
+</a>
+<ins class="diff-new">is
+set
+</ins>
+to
+<code>
+<ins class="diff-new">@index
+</ins></code>,<ins class="diff-new">
+an
+</ins><code><ins class="diff-new">
 @index
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 member,
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
+value
+</ins></i><ins class="diff-new">
 can
 be
 compacted
 to
 a
-</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-chg">
-string
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-new">
+string
+</ins></a><ins class="diff-new">
 by
 returning
-the
-result
-of
-using
-the
-</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr><ins class="diff-chg">
+</ins>
+the
+result
+of
+<del class="diff-old">performing
+</del>
+<ins class="diff-chg">using
+the
+</ins>
+<a href="#iri-compaction">
+<abbr title="Internationalized Resource Identifier">
+IRI
+</abbr>
 Compaction
-algorithm
-</ins></a><ins class="diff-chg">
-to
+<ins class="diff-new">algorithm
+</ins>
+</a>
+<del class="diff-old">for
+property
+</del>
+<ins class="diff-chg">to
 compact
 the
 value
@@ -27679,15 +27581,20 @@
 cannot
 be
 compacted
-and
-is
+</ins>
+and
+<del class="diff-old">item
+using
+</del>
+<ins class="diff-chg">is
 returned
 as
 is.
 </ins></p><p><ins class="diff-chg">
 For
-the
-latter
+</ins>
+the
+<ins class="diff-chg">latter
 case,
 it
 might
@@ -27699,40 +27606,41 @@
 value
 </ins></i><ins class="diff-chg">
 just
-</ins>
 into
 the
-<ins class="diff-new">value
-associated
-with
-the
-</ins>
-<code>
-<del class="diff-old">@graph
-</del>
-<ins class="diff-chg">@value
-</ins>
-</code>
-<ins class="diff-new">member.
+value
+associated
+with
+the
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+member.
 This
 can
 be
 done
 if
 the
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
-active
-</ins>
-property
-<del class="diff-old">of
-</del>
-</a>
-<ins class="diff-chg">has
-</ins>
-a
-<del class="diff-old">new
-JSON
-object
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+<del class="diff-old">context
+.
+Compact
+item
+by
+recursively
+performing
+this
+algorithm
+passing
+</del>
+<ins class="diff-chg">property
+</ins></a><ins class="diff-chg">
+has
+</ins>
+a
+<del class="diff-old">copy
 </del>
 <ins class="diff-chg">matching
 </ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
@@ -27743,12 +27651,9 @@
 </ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
 language
 mapping
-</ins>
-</a>
-and
-<del class="diff-old">then
-</del>
-<ins class="diff-chg">there
+</ins></a><ins class="diff-chg">
+and
+there
 is
 either
 no
@@ -27761,37 +27666,31 @@
 </ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
 container
 mapping
-</ins></a><ins class="diff-chg">
-of
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
-property
-</ins></a><ins class="diff-chg">
-is
-</ins>
-set
-<del class="diff-old">element
-</del>
-to
-<del class="diff-old">that
-JSON
-object
-</del>
-<code>
-<ins class="diff-chg">@index
-</ins></code>.<ins class="diff-chg">
+</ins></a>
+of
+<a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+<ins class="diff-new">active
+property
+</ins></a><ins class="diff-new">
+is
+set
+to
+</ins><code><ins class="diff-new">
[email protected]
+</ins></code>.<ins class="diff-new">
 It
 can
 also
 be
 done
 if
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
 @value
-</ins></code><ins class="diff-chg">
-is
-the
-only
+</ins></code><ins class="diff-new">
+is
+</ins>
+the
+<ins class="diff-chg">only
 member
 in
 </ins><i><ins class="diff-chg">
@@ -27811,59 +27710,62 @@
 mapping
 </ins></a><ins class="diff-chg">
 of
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
-property
-</ins></a><ins class="diff-chg">
-is
-set
-to
-</ins><code><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+<del class="diff-old">context
+</del>
+<ins class="diff-chg">property
+</ins>
+</a>
+<ins class="diff-new">is
+set
+to
+</ins><code><ins class="diff-new">
 @index
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
 )
-and
-either
-its
-associated
-value
-is
-not
-a
-</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-chg">
-string
-</ins></a>,<ins class="diff-chg">
+</ins>
+and
+<ins class="diff-new">either
+its
+associated
+value
+is
+not
+a
+</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-new">
+string
+</ins></a>,<ins class="diff-new">
 there
 is
 no
-</ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-new">
 default
 language
-</ins></a>,<ins class="diff-chg">
+</ins></a>,<ins class="diff-new">
 or
 there
 is
 an
 explicit
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
-null
-</ins></a><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-mapping
-</ins></a><ins class="diff-chg">
-for
-the
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
-property
-</ins>
-</a>.
-<del class="diff-old">Finally,
-add
-</del>
-</p>
-</section>
-<section>
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
+null
+</ins></a><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a><ins class="diff-new">
+for
+</ins>
+the
+<a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+property
+</a>.
+<del class="diff-old">If
+</del>
+</p>
+</div>
+<div class="section">
 <h4 id="algorithm-9">
 <ins class="diff-chg">Algorithm
 </ins></h4><p><ins class="diff-chg">
@@ -27873,120 +27775,156 @@
 four
 required
 inputs:
-an
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins></a>,<ins class="diff-chg">
-an
-</ins><a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
-inverse
+</ins>
+an
+<del class="diff-old">entry
+already
+exists
+in
+output
+for
+</del>
+<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
+active
+<del class="diff-old">property
+</del>
+<ins class="diff-chg">context
+</ins>
+</a>,
+<del class="diff-old">convert
+it
+to
+</del>
+an
+<del class="diff-old">array
+if
+necessary,
+</del>
+<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context">
+<ins class="diff-chg">inverse
 context
 </ins></a>,<ins class="diff-chg">
 an
 </ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
 active
 property
-</ins></a>,<ins class="diff-chg">
-and
-</ins>
-a
-<i>
-<ins class="diff-new">value
-</ins></i><ins class="diff-new">
+</ins></a>,
+and
+<del class="diff-old">append
+</del>
+<ins class="diff-chg">a
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
 to
 be
 compacted.
-</ins></p><ol class="algorithm"><li><ins class="diff-new">
-Initialize
+</ins></p><ol class="algorithm"><li><ins class="diff-chg">
+Initialize
+</ins><i><ins class="diff-chg">
+number
+members
+</ins></i><ins class="diff-chg">
+to
+</ins>
+the
+<del class="diff-old">compacted
+</del>
+<ins class="diff-chg">number
+of
+members
+</ins><i>
+value
+<del class="diff-old">.
+</del>
+</i>
+<ins class="diff-chg">contains.
+</ins>
+</li>
+<li>
+<del class="diff-old">Otherwise,
+if
+the
+compacted
+</del>
+<ins class="diff-chg">If
+</ins><i>
+value
+<del class="diff-old">is
+not
+</del>
+</i>
+<ins class="diff-chg">has
+</ins>
+an
+<del class="diff-old">array
+</del>
+<code>
+<ins class="diff-chg">@index
+</ins></code><ins class="diff-chg">
+member
+</ins>
+and
+<ins class="diff-chg">the
+</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-chg">
+container
+mapping
+</ins></a><ins class="diff-chg">
+associated
+to
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+property
+</a>
+<ins class="diff-new">is
+set
+to
+</ins><code><ins class="diff-new">
[email protected]
+</ins></code>,<ins class="diff-new">
+decrease
 </ins><i><ins class="diff-new">
 number
 members
 </ins></i><ins class="diff-new">
-to
-the
-number
-of
-members
-</ins><i><ins class="diff-new">
-value
-</ins></i><ins class="diff-new">
-contains.
-</ins></li><li><ins class="diff-new">
-If
-</ins><i><ins class="diff-new">
-value
-</ins></i><ins class="diff-new">
-has
-an
-</ins>
-<code>
-<del class="diff-old">@context
-</del>
-<ins class="diff-chg">@index
-</ins>
-</code>
-<ins class="diff-new">member
-and
-the
-</ins><a class="tref internalDFN" title="container-mapping" href="#dfn-container-mapping"><ins class="diff-new">
-container
-mapping
-</ins></a><ins class="diff-new">
-associated
-to
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
-active
-</ins>
-property
-</a>
-<ins class="diff-new">is
-set
-</ins>
-to
-<del class="diff-old">element
-</del>
-<code>
-<ins class="diff-chg">@index
-</ins></code>,<ins class="diff-chg">
-decrease
-</ins><i><ins class="diff-chg">
+by
+</ins><code><ins class="diff-new">
+1
+</ins></code>.</li><li><ins class="diff-new">
+If
+</ins><i><ins class="diff-new">
 number
 members
-</ins></i><ins class="diff-chg">
-by
-</ins><code><ins class="diff-chg">
-1
-</ins></code>.</li><li><ins class="diff-chg">
-If
-</ins><i><ins class="diff-chg">
-number
-members
-</ins></i><ins class="diff-chg">
+</ins></i><ins class="diff-new">
 is
 greater
 than
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
 2
-</ins></code>,<ins class="diff-chg">
+</ins></code>,<ins class="diff-new">
 return
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
+value
+</ins></i><ins class="diff-new">
 as
 it
 cannot
 be
 compacted.
-</ins></li><li><ins class="diff-chg">
-If
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-has
-an
-</ins><code><ins class="diff-chg">
[email protected]
+</ins></li><li><ins class="diff-new">
+If
+</ins><i><ins class="diff-new">
+value
+</ins></i>
+has
+<del class="diff-old">a
+</del>
+<ins class="diff-chg">an
+</ins>
+<code>
+<del class="diff-old">@container
+</del>
+<ins class="diff-chg">@id
 </ins></code><ins class="diff-chg">
 member:
 </ins><ol class="algorithm"><li><ins class="diff-chg">
@@ -27998,73 +27936,69 @@
 is
 </ins><code><ins class="diff-chg">
 1
-</ins></code>
-and
-<ins class="diff-new">the
+</ins>
+</code>
+<ins class="diff-new">and
+the
 </ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-new">
 type
-mapping
-</ins></a><ins class="diff-new">
-of
+</ins>
+mapping
+</a>
+<ins class="diff-new">of
 </ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
 active
 property
 </ins></a><ins class="diff-new">
 is
-</ins>
-set
-<del class="diff-old">it
-</del>
-to
-<code>
-<ins class="diff-new">@id
-</ins></code>,<ins class="diff-new">
-return
-</ins>
-the
-<del class="diff-old">initially
-passed
-context
-.
-</del>
-<ins class="diff-chg">result
-of
-using
-the
-</ins><a href="#iri-compaction">
-<del class="diff-old">4.9
-RDF
-Conversion
-A
-JSON-LD
-document
-may
-be
-converted
-between
-other
-RDF-compatible
-document
-formats
-</del>
-<abbr title="Internationalized Resource Identifier">
-<ins class="diff-chg">IRI
+set
+</ins>
+to
+<code>
+<del class="diff-old">@set
+</del>
+<ins class="diff-chg">@id
+</ins>
+</code>,
+<del class="diff-old">create
+an
+entry
+in
+output
+for
+</del>
+<ins class="diff-chg">return
+the
+result
+of
+using
+the
+</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
 </ins></abbr><ins class="diff-chg">
 compaction
 algorithm
 </ins></a>,<ins class="diff-chg">
 passing
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context">
+active
+<del class="diff-old">property
+</del>
+<ins class="diff-chg">context
 </ins></a>,<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
 inverse
 context
-</ins></a>,<ins class="diff-chg">
-and
-the
-value
-of
+</ins></a>,
+and
+<ins class="diff-chg">the
+</ins>
+value
+<del class="diff-old">as
+an
+array
+.
+</del>
+<ins class="diff-chg">of
 the
 </ins><code><ins class="diff-chg">
 @id
@@ -28073,9 +28007,18 @@
 for
 </ins><i><ins class="diff-chg">
 iri
-</ins></i>.</li><li><ins class="diff-chg">
-Otherwise,
-if
+</ins></i>.
+</li>
+<li>
+Otherwise,
+<del class="diff-old">create
+an
+entry
+in
+output
+for
+</del>
+<ins class="diff-chg">if
 </ins><i><ins class="diff-chg">
 number
 members
@@ -28091,11 +28034,13 @@
 mapping
 </ins></a><ins class="diff-chg">
 of
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
-property
-</ins></a><ins class="diff-chg">
-is
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property">
+active
+property
+</a>
+<del class="diff-old">and
+</del>
+<ins class="diff-chg">is
 set
 to
 </ins><code><ins class="diff-chg">
@@ -28105,10 +28050,353 @@
 the
 result
 of
-</ins>
-using
-the
-<del class="diff-old">algorithms
+using
+the
+</ins><a href="#iri-compaction"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr><ins class="diff-chg">
+compaction
+algorithm
+</ins></a>,<ins class="diff-chg">
+passing
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>,<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
+inverse
+context
+</ins></a>,<ins class="diff-chg">
+the
+</ins>
+value
+<del class="diff-old">.
+</del>
+<ins class="diff-chg">of
+the
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+member
+for
+</ins><i><ins class="diff-chg">
+iri
+</ins></i>,<ins class="diff-chg">
+and
+</ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
+true
+</ins></a><ins class="diff-chg">
+for
+</ins><i><ins class="diff-chg">
+vocab
+</ins></i>.
+</li>
+<li>
+<ins class="diff-chg">Otherwise,
+return
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+as
+is.
+</ins>
+</li>
+</ol>
+</li>
+<li>
+Otherwise,
+<del class="diff-old">return
+element
+as
+</del>
+<ins class="diff-chg">if
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+has
+an
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+member
+whose
+value
+matches
+</ins>
+the
+<del class="diff-old">compacted
+element
+.
+Issue
+7
+Perhaps
+this
+should
+also
+call
+Value
+Compaction
+</del>
+<a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping">
+<ins class="diff-chg">type
+mapping
+</ins>
+</a>
+<del class="diff-old">on
+native
+types
+and
+strings,
+which
+could
+consolidate
+potential
+transformation
+in
+one
+place.
+If,
+after
+</del>
+<ins class="diff-chg">of
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
+active
+property
+</ins></a>,<ins class="diff-chg">
+return
+</ins>
+the
+<del class="diff-old">algorithm
+outlined
+above
+is
+run,
+</del>
+<ins class="diff-chg">value
+associated
+with
+</ins>
+the
+<del class="diff-old">resulting
+element
+is
+</del>
+<code>
+<ins class="diff-chg">@value
+</ins></code><ins class="diff-chg">
+member
+of
+</ins><i><ins class="diff-chg">
+value
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+if
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+has
+</ins>
+an
+<del class="diff-old">array
+</del>
+<code>
+<ins class="diff-chg">@language
+</ins></code><ins class="diff-chg">
+member
+whose
+value
+matches
+the
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
+language
+mapping
+</ins></a><ins class="diff-chg">
+of
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
+active
+property
+</ins>
+</a>,
+<del class="diff-old">put
+element
+into
+</del>
+<ins class="diff-chg">return
+the
+value
+associated
+with
+</ins>
+the
+<code>
+<del class="diff-old">@graph
+</del>
+<ins class="diff-chg">@value
+</ins>
+</code>
+<del class="diff-old">property
+</del>
+<ins class="diff-chg">member
+</ins>
+of
+<del class="diff-old">a
+new
+JSON
+object
+</del>
+<i>
+<ins class="diff-chg">value
+</ins></i>.</li><li><ins class="diff-chg">
+Otherwise,
+if
+</ins><i><ins class="diff-chg">
+number
+members
+</ins></i><ins class="diff-chg">
+equals
+</ins><code><ins class="diff-chg">
+1
+</ins></code>
+and
+<del class="diff-old">then
+set
+element
+to
+that
+JSON
+object
+.
+Finally,
+add
+a
+</del>
+<ins class="diff-chg">either
+the
+value
+of
+the
+</ins>
+<code>
+<del class="diff-old">@context
+</del>
+<ins class="diff-chg">@value
+</ins>
+</code>
+<ins class="diff-new">member
+is
+not
+a
+</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-new">
+string
+</ins></a>,<ins class="diff-new">
+or
+the
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
+active
+context
+</ins></a><ins class="diff-new">
+has
+no
+</ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-new">
+default
+language
+</ins></a>,<ins class="diff-new">
+or
+the
+</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-new">
+language
+mapping
+</ins></a><ins class="diff-new">
+of
+</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-new">
+active
+</ins>
+property
+<del class="diff-old">to
+element
+and
+</del>
+</a>
+<ins class="diff-chg">is
+</ins>
+set
+<del class="diff-old">it
+</del>
+to
+<a class="tref internalDFN" title="null" href="#dfn-null">
+<ins class="diff-new">null
+</ins></a>,,<ins class="diff-new">
+return
+</ins>
+the
+<del class="diff-old">initially
+passed
+context
+.
+</del>
+<ins class="diff-chg">value
+associated
+with
+the
+</ins><code><ins class="diff-chg">
[email protected]
+</ins></code><ins class="diff-chg">
+member.
+</ins></li><li><ins class="diff-chg">
+Otherwise,
+return
+</ins><i><ins class="diff-chg">
+value
+</ins></i><ins class="diff-chg">
+as
+is.
+</ins></li></ol>
+</div>
+</div>
+</div>
+<div class="section" id="flattening-algorithms">
+<h2>
+<span class="secno">
+<ins class="diff-chg">9.
+</ins></span><ins class="diff-chg">
+Flattening
+Algorithms
+</ins></h2><div class="section" id="flattening-algorithm">
+<h3>
+<span class="secno">
+<del class="diff-old">4.9
+</del>
+<ins class="diff-chg">9.1
+</ins>
+</span>
+<del class="diff-old">RDF
+Conversion
+</del>
+<ins class="diff-chg">Flattening
+Algorithm
+</ins>
+</h3>
+<p>
+<del class="diff-old">A
+</del>
+<ins class="diff-chg">This
+algorithm
+flattens
+an
+expanded
+</ins>
+JSON-LD
+document
+<del class="diff-old">may
+be
+converted
+between
+other
+RDF-compatible
+document
+formats
+using
+the
+algorithms
 specified
 in
 this
@@ -28120,90 +28408,24 @@
 describes
 processing
 rules
-</del>
-<a href="#iri-compaction">
-<abbr title="Internationalized Resource Identifier">
-<ins class="diff-chg">IRI
-</ins></abbr><ins class="diff-chg">
-compaction
-algorithm
-</ins></a>,<ins class="diff-chg">
-passing
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins></a>,<a class="tref internalDFN" title="inverse-context" href="#dfn-inverse-context"><ins class="diff-chg">
-inverse
-context
-</ins></a>,<ins class="diff-chg">
-the
-value
-of
-the
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
-</ins>
-for
-<del class="diff-old">extracting
+for
+extracting
 RDF
 from
 a
 JSON-LD
 document,
-</del>
-<i>
-<ins class="diff-chg">iri
-</ins></i>,
-and
-<a class="tref internalDFN" title="true" href="#dfn-true">
-<ins class="diff-new">true
-</ins></a>
-for
-<del class="diff-old">transforming
-</del>
-<i>
-<ins class="diff-chg">vocab
-</ins></i>.</li><li><ins class="diff-chg">
-Otherwise,
-return
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-as
-is.
-</ins></li></ol></li><li><ins class="diff-chg">
-Otherwise,
-if
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-has
-</ins>
-an
-<del class="diff-old">array
-of
-</del>
-<code>
-<del class="diff-old">Quad
-</del>
-<ins class="diff-chg">@type
-</ins>
-</code>
-<ins class="diff-chg">member
-whose
-value
-matches
-the
-</ins><a class="tref internalDFN" title="type-mapping" href="#dfn-type-mapping"><ins class="diff-chg">
-type
-mapping
-</ins>
-</a>
-<del class="diff-old">retrieved
-by
-processing
+and
+for
+transforming
+an
+array
+of
+Quad
+retrieved
+</del>
+by
+<del class="diff-old">processing
 another
 serialization
 format
@@ -28213,28 +28435,16 @@
 that
 many
 uses
-</del>
-of
-<del class="diff-old">JSON-LD
+of
+JSON-LD
 may
 not
 require
 generation
 </del>
-<a class="tref internalDFN" title="active-property" href="#dfn-active-property">
-<ins class="diff-chg">active
-property
-</ins></a>,<ins class="diff-chg">
-return
-the
-value
-associated
-with
-the
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
+<ins class="diff-chg">collecting
+all
+properties
 </ins>
 of
 <del class="diff-old">RDF.
@@ -28247,16 +28457,22 @@
 section
 are
 provided
-in
-order
+</del>
+<ins class="diff-chg">a
+</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-chg">
+node
+</ins></a>
+in
+<del class="diff-old">order
 to
 demonstrate
 how
 one
 might
 implement
-a
-JSON-LD
+</del>
+a
+<del class="diff-old">JSON-LD
 to
 RDF
 processor.
@@ -28267,220 +28483,74 @@
 required
 to
 produce
-</del>
-<i>
-<ins class="diff-chg">value
-</ins></i>.</li><li><ins class="diff-chg">
-Otherwise,
-if
-</ins><i><ins class="diff-chg">
-value
-</ins></i><ins class="diff-chg">
-has
-an
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
-whose
-value
-matches
-</ins>
-the
-<del class="diff-old">same
-type
-and
-number
-</del>
-<a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping">
-<ins class="diff-chg">language
-mapping
-</ins></a>
-of
-<del class="diff-old">quads
-during
-</del>
-<a class="tref internalDFN" title="active-property" href="#dfn-active-property">
-<ins class="diff-chg">active
-property
-</ins></a>,<ins class="diff-chg">
-return
-</ins>
-the
-<del class="diff-old">output
-process
-</del>
-<ins class="diff-chg">value
-associated
-with
-the
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
-of
-</ins><i><ins class="diff-chg">
-value
-</ins></i>.</li><li><ins class="diff-chg">
-Otherwise,
-if
-</ins><i><ins class="diff-chg">
-number
-members
-</ins></i><ins class="diff-chg">
-equals
-</ins><code><ins class="diff-chg">
-1
-</ins></code>
-and
-<del class="diff-old">are
-</del>
-<ins class="diff-chg">either
-the
-value
-of
-the
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member
-is
-</ins>
-not
-<del class="diff-old">required
-</del>
-<ins class="diff-chg">a
-</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-chg">
-string
-</ins></a>,<ins class="diff-chg">
-or
-the
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
-active
-context
-</ins></a><ins class="diff-chg">
-has
-no
-</ins><a class="tref internalDFN" title="default-language" href="#dfn-default-language"><ins class="diff-chg">
-default
-language
-</ins></a>,<ins class="diff-chg">
-or
-the
-</ins><a class="tref internalDFN" title="language-mapping" href="#dfn-language-mapping"><ins class="diff-chg">
-language
-mapping
-</ins></a><ins class="diff-chg">
-of
-</ins><a class="tref internalDFN" title="active-property" href="#dfn-active-property"><ins class="diff-chg">
-active
-property
-</ins></a><ins class="diff-chg">
-is
-set
-</ins>
-to
-<del class="diff-old">implement
-</del>
-<a class="tref internalDFN" title="null" href="#dfn-null">
-<ins class="diff-chg">null
-</ins></a>,,<ins class="diff-chg">
-return
-</ins>
-the
-<del class="diff-old">algorithm
-exactly
-</del>
-<ins class="diff-chg">value
-associated
-with
-the
-</ins><code><ins class="diff-chg">
[email protected]
-</ins></code><ins class="diff-chg">
-member.
-</ins></li><li><ins class="diff-chg">
-Otherwise,
-return
-</ins><i><ins class="diff-chg">
-value
-</ins></i>
-as
-<del class="diff-old">described.
-</del>
-<ins class="diff-chg">is.
-</ins></li></ol></section></section></section><section id="flattening-algorithms"><h2>
-<span class="secno">
-<del class="diff-old">4.9.1
-</del>
-<ins class="diff-chg">9.
-</ins></span><ins class="diff-chg">
-Flattening
-Algorithms
-</ins></h2><section id="flattening-algorithm"><h3><span class="secno"><ins class="diff-chg">
-9.1
-</ins>
-</span>
-<ins class="diff-new">Flattening
-Algorithm
-</ins></h3><p><ins class="diff-new">
-This
-algorithm
-flattens
-an
-expanded
-JSON-LD
-document
-by
-collecting
+the
+same
+type
+</del>
+<ins class="diff-chg">single
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a>
+and
+<del class="diff-old">number
+</del>
+<ins class="diff-chg">labeling
 all
-properties
-of
-a
-</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-new">
-node
-</ins></a><ins class="diff-new">
-in
-a
-single
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
-JSON
-object
-</ins></a><ins class="diff-new">
-and
-labeling
-all
-</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-chg">
 blank
 nodes
-</ins></a><ins class="diff-new">
-with
-</ins><a class="tref internalDFN" title="blank-node-identifier" href="#dfn-blank-node-identifier"><ins class="diff-new">
+</ins></a><ins class="diff-chg">
+with
+</ins><a class="tref internalDFN" title="blank-node-identifier" href="#dfn-blank-node-identifier"><ins class="diff-chg">
 blank
 node
 identifiers
-</ins></a>.<ins class="diff-new">
+</ins></a>.<ins class="diff-chg">
 This
 resulting
 uniform
 shape
-of
-the
-document,
+</ins>
+of
+<del class="diff-old">quads
+during
+</del>
+the
+<del class="diff-old">output
+process
+and
+are
+not
+</del>
+<ins class="diff-chg">document,
 may
 drastically
 simplify
 the
 code
+</ins>
 required
 to
-process
+<del class="diff-old">implement
+the
+algorithm
+exactly
+as
+described.
+</del>
+<ins class="diff-chg">process
 JSON-LD
 data
 in
 certain
 applications.
-</ins></p><section class="informative"><h4 id="overview-10">
+</ins>
+</p>
+<del class="diff-old">4.9.1
+</del>
+<div class="informative section">
+<h4 id="overview-10">
 Overview
 </h4>
 <p>
@@ -28574,7 +28644,7 @@
 JSON-LD
 document
 in
-</ins><a class="tref externalDFN" title="flattened-document-form" href="../json-ld/#flattened-document-form"><ins class="diff-chg">
+</ins><a class="tref externalDFN" title="flattened-document-form" href="http://www.w3.org/TR/2013/WD-json-ld-20130411/#flattened-document-form"><ins class="diff-chg">
 flattened
 document
 form
@@ -28604,8 +28674,8 @@
 returned.
 </ins>
 </p>
-</section>
-<section>
+</div>
+<div class="section">
 <h4 id="algorithm-10">
 <ins class="diff-new">Algorithm
 </ins></h4>
@@ -29104,7 +29174,7 @@
 </del>
 <ins class="diff-chg">deterministic
 structure.
-</ins></li></ol></section></section><section id="node-map-generation"><h3><span class="secno"><ins class="diff-chg">
+</ins></li></ol></div></div><div class="section" id="node-map-generation"><h3><span class="secno"><ins class="diff-chg">
 9.2
 </ins></span><ins class="diff-chg">
 Node
@@ -29288,7 +29358,7 @@
 Parsing
 Examples
 </del>
-<section class="informative">
+<div class="informative section">
 <h4 id="overview-11">
 <ins class="diff-chg">Overview
 </ins>
@@ -29691,13 +29761,14 @@
 foaf:name
 &quot;Manu
 Sporny&quot;].
-4.9.3
+</del>
+</div>
+<del class="diff-old">4.9.3
 Convert
 to
 RDF
 </del>
-</section>
-<section>
+<div class="section">
 <h4 id="algorithm-11">
 Algorithm
 </h4>
@@ -31144,32 +31215,32 @@
 the
 </ins><code><ins class="diff-chg">
 @graph
-</ins></code><ins class="diff-chg">
-member
-for
-</ins><i><ins class="diff-chg">
-element
-</ins></i>,<i><ins class="diff-chg">
-node
-map
-</ins></i>,<ins class="diff-chg">
-and
-</ins><i><ins class="diff-chg">
-id
-</ins></i><ins class="diff-chg">
-for
-</ins><a class="tref internalDFN" title="active-graph" href="#dfn-active-graph"><ins class="diff-chg">
-active
-graph
-</ins></a><ins class="diff-chg">
-before
-removing
-the
-</ins><code><ins class="diff-chg">
[email protected]
 </ins