--- 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:
public-linked-json@w3.org
-</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
+@container
+with
+@set
+.
+</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
-@set
-.
-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
+@id
+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
-@id
-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
+@value
+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">
-@value
-</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
+@id
+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
+@language
+,
+which
+matches
+the
+@language
+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">
-@type
-</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
-@id
-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:
+{
+ "@context":
+ {
+ "name": "http://xmlns.com/foaf/0.1/name",
+ "homepage": {
+ "@id": "http://xmlns.com/foaf/0.1/homepage",
+ "@type", "@id"
+ }
+ },
+ "name": "Manu Sporny",
+ "homepage": "http://manu.sporny.org/"
+}
+</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">{
+ "http://xmlns.com/foaf/0.1/name": "Manu Sporny",
+ "http://xmlns.com/foaf/0.1/homepage": {
+ "@id": "http://manu.sporny.org/"
+ }
+}
+</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:
-{
- "@context":
- {
- "name": "http://xmlns.com/foaf/0.1/name",
- "homepage": {
- "@id": "http://xmlns.com/foaf/0.1/homepage",
- "@type", "@id"
- }
- },
- "name": "Manu Sporny",
- "homepage": "http://manu.sporny.org/"
-}
-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">{
- "http://xmlns.com/foaf/0.1/name": "Manu Sporny",
- "http://xmlns.com/foaf/0.1/homepage": {
- "@id": "http://manu.sporny.org/"
- }
-}
-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
-@value
-</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
-@language
-or
-@type
-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
-@value
-equals
-null
-,
-replace
-element
-</del>
-<ins class="diff-chg">associated
-</ins>
-with
-the
-<del class="diff-old">value
-of
-@value
-.
-Otherwise,
-if
-element
-has
-an
-@type
-</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
-@set
-or
-@list
-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
-@set
-;
-leave
-@list
-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
-@language
-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
+@type
+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
+@value
+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">{
- "http://xmlns.com/foaf/0.1/name": "Manu Sporny",
- "http://xmlns.com/foaf/0.1/homepage": {
- "@id": "http://manu.sporny.org/"
- }
-}
-</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:
-{
- "@context": {
- "name": "http://xmlns.com/foaf/0.1/name",
- "homepage": {
- "@id": "http://xmlns.com/foaf/0.1/homepage",
- "@type": "@id"
- }
- }
-}
-</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:
-{
- "@context": {
- "name": "http://xmlns.com/foaf/0.1/name",
- "homepage": {
- "@id": "http://xmlns.com/foaf/0.1/homepage",
- "@type": "@id"
- }
- },
- "name": "Manu Sporny",
- "homepage": "http://manu.sporny.org/"
-}
-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">
-@language
-</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">
-@type
-</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
+@set
+;
+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">
-@reverse
-</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">
+@null
+</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">
-@type
-</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">
-@none
+</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">{
+ "http://xmlns.com/foaf/0.1/name": "Manu Sporny",
+ "http://xmlns.com/foaf/0.1/homepage": {
+ "@id": "http://manu.sporny.org/"
+ }
+}
+</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:
+{
+ "@context": {
+ "name": "http://xmlns.com/foaf/0.1/name",
+ "homepage": {
+ "@id": "http://xmlns.com/foaf/0.1/homepage",
+ "@type": "@id"
+ }
+ }
+}
+</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:
+{
+ "@context": {
+ "name": "http://xmlns.com/foaf/0.1/name",
+ "homepage": {
+ "@id": "http://xmlns.com/foaf/0.1/homepage",
+ "@type": "@id"
+ }
+ },
+ "name": "Manu Sporny",
+ "homepage": "http://manu.sporny.org/"
+}
+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">
-@none
-</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">
+@language
+</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">
-@index
-</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">
+@list
+</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">
+@list
+</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">
+@none
</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">
-@type
+</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">
-@none
-</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">
-@none
+</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
+@list
+(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">
+@reverse
</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">
-@id
-</ins></code><ins class="diff-chg">
-or
-</ins><code><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">
-@id
-</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>
+@id
+</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">
+@id
+</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">
-@id
-</ins></code><ins class="diff-new">
-or
-an
-</ins><code><ins class="diff-new">
+</ins><code><ins class="diff-chg">
+@id
+</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">
-@id
-</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">
+@id
+</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">
+@id
</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">
-@index
-</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">
+@value
+</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">
+@index
+</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">
+@index
+</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">
-@id
+</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">
+@id
+</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">
+@type
+</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">
+@value
+</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">
-@id
-</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">
-@value
-</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">
-@language
-</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">
-@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">
-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">
-@value
-</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">
-@value
-</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
"Manu
Sporny"].
-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">
-@graph
</ins>
</code>
<ins class="diff-new">member
+for
+</ins><i><ins class="diff-new">
+element
+</ins></i>,<i><ins class="diff-new">
+node
+map
+</ins></i>,<ins class="diff-new">
+and
+</ins><i><ins class="diff-new">
+id
+</ins></i><ins class="diff-new">
+for
+</ins><a class="tref internalDFN" title="active-graph" href="#dfn-active-graph"><ins class="diff-new">
+active
+graph
+</ins></a><ins class="diff-new">
+before
+removing
+the
+</ins><code><ins class="diff-new">
+@graph
+</ins></code><ins class="diff-new">
+member
from
</ins><i><ins class="diff-new">
element
@@ -31317,9 +31388,9 @@
</ol>
</li>
</ol>
-</section>
-</section>
-<section id="generate-blank-node-identifier">
+</div>
+</div>
+<div class="section" id="generate-blank-node-identifier">
<h3>
<span class="secno">
<ins class="diff-chg">9.3
@@ -31371,7 +31442,7 @@
of
new
ones.
-</ins></p><section class="informative"><h4 id="overview-12"><ins class="diff-chg">
+</ins></p><div class="informative section"><h4 id="overview-12"><ins class="diff-chg">
Overview
</ins></h4><p><em><ins class="diff-chg">
This
@@ -31496,7 +31567,7 @@
</ins></a><ins class="diff-chg">
is
returned.
-</ins></p></section><section><h4 id="algorithm-12"><ins class="diff-chg">
+</ins></p></div><div class="section"><h4 id="algorithm-12"><ins class="diff-chg">
Algorithm
</ins></h4><p><ins class="diff-chg">
The
@@ -31702,10 +31773,10 @@
element
has
</del>
-</section>
-</section>
-</section>
-<section id="rdf-conversion-algorithms">
+</div>
+</div>
+</div>
+<div class="section" id="rdf-conversion-algorithms">
<h2>
<span class="secno">
<ins class="diff-chg">10.
@@ -31788,7 +31859,7 @@
xsd
</ins></td><td><ins class="diff-chg">
http://www.w3.org/2001/XMLSchema#
-</ins></td></tr></tbody></table><section id="convert-to-rdf-algorithm"><h3><span class="secno"><ins class="diff-chg">
+</ins></td></tr></tbody></table><div class="section" id="convert-to-rdf-algorithm"><h3><span class="secno"><ins class="diff-chg">
10.1
</ins></span><ins class="diff-chg">
Convert
@@ -31866,32 +31937,31 @@
</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-chg">
blank
nodes
-</ins></a><ins class="diff-chg">
-to
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><ins class="diff-chg">
-IRIs
-</ins></a>,<ins class="diff-chg">
+</ins>
+</a>
+to
+<a class="tref internalDFN" title="iri" href="#dfn-iri">
+<ins class="diff-new">IRIs
+</ins></a>,<ins class="diff-new">
minting
new
"Skolem
IRIs"
as
per
-</ins><cite><a href="http://www.w3.org/TR/rdf11-concepts/#section-skolemization"><ins class="diff-chg">
+</ins><cite><a href="http://www.w3.org/TR/rdf11-concepts/#section-skolemization"><ins class="diff-new">
Replacing
Blank
Nodes
with
IRIs
-</ins></a></cite><ins class="diff-chg">
-of
-[
-</ins><cite><a class="bibref" href="#bib-RDF11-CONCEPTS"><ins class="diff-chg">
+</ins></a></cite><ins class="diff-new">
+of
+[
+</ins><cite><a class="bibref" href="#bib-RDF11-CONCEPTS"><ins class="diff-new">
RDF11-CONCEPTS
-</ins>
-</a>
-</cite>
-<ins class="diff-new">].
+</ins></a></cite><ins class="diff-new">
+].
</ins></p><div class="issue atrisk"><div class="issue-title"><span><ins class="diff-new">
Feature
at
@@ -31901,9 +31971,8 @@
Allow
blank
nodes
-</ins>
-to
-<ins class="diff-new">be
+to
+be
used
as
graph
@@ -32072,7 +32141,7 @@
in
a
comment.
-</ins></p></div></div><section class="informative"><h4 id="overview-13"><ins class="diff-chg">
+</ins></p></div></div><div class="informative section"><h4 id="overview-13"><ins class="diff-chg">
Overview
</ins></h4><p>
<em>
@@ -32262,7 +32331,7 @@
RDF
Conversion
algorithm.
-</ins></a></p></section><section><h4 id="algorithm-13"><ins class="diff-new">
+</ins></a></p></div><div class="section"><h4 id="algorithm-13"><ins class="diff-new">
Algorithm
</ins></h4><p><ins class="diff-new">
The
@@ -32290,27 +32359,27 @@
</ins><a href="#expansion-algorithm"><ins class="diff-new">
Expansion
algorithm
+</ins></a>.</li><li><ins class="diff-new">
+Generate
+a
+</ins><i><ins class="diff-new">
+node
+map
+</ins></i><ins class="diff-new">
+according
+the
+</ins><a href="#node-map-generation"><ins class="diff-new">
+Node
+Map
+Generation
+algorithm
</ins>
</a>.
</li>
<li>
<del class="diff-old">Process
</del>
-<ins class="diff-chg">Generate
-a
-</ins><i><ins class="diff-chg">
-node
-map
-</ins></i><ins class="diff-chg">
-according
-the
-</ins><a href="#node-map-generation"><ins class="diff-chg">
-Node
-Map
-Generation
-algorithm
-</ins></a>.</li><li><ins class="diff-chg">
-Initialize
+<ins class="diff-chg">Initialize
an
empty
</ins><a class="tref internalDFN" title="rdf-dataset" href="#dfn-rdf-dataset"><ins class="diff-chg">
@@ -32751,7 +32820,7 @@
<ins class="diff-chg">Return
</ins><i><ins class="diff-chg">
dataset
-</ins></i>.</li></ol></section></section><section id="object-to-rdf-conversion"><h3><span class="secno"><ins class="diff-chg">
+</ins></i>.</li></ol></div></div><div class="section" id="object-to-rdf-conversion"><h3><span class="secno"><ins class="diff-chg">
10.2
</ins></span><ins class="diff-chg">
Object
@@ -32801,7 +32870,7 @@
</ins>
</a>.
</p>
-<section class="informative">
+<div class="informative section">
<h4 id="overview-14">
<ins class="diff-chg">Overview
</ins></h4><p><em><ins class="diff-chg">
@@ -32846,7 +32915,7 @@
blank
node
identifiers
-</ins></a>.</p></section><section><h4 id="algorithm-14"><ins class="diff-chg">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm-14"><ins class="diff-chg">
Algorithm
</ins></h4><p><ins class="diff-chg">
The
@@ -33069,23 +33138,23 @@
</del>
<i>
<ins class="diff-chg">value
+</ins></i><ins class="diff-chg">
+is
+a
+</ins><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-chg">
+number
+</ins></a><ins class="diff-chg">
+with
+fractions
+or
+</ins><i><ins class="diff-chg">
+value
</ins></i>
is
a
<a class="tref internalDFN" title="number" href="#dfn-number">
<ins class="diff-new">number
</ins></a><ins class="diff-new">
-with
-fractions
-or
-</ins><i><ins class="diff-new">
-value
-</ins></i><ins class="diff-new">
-is
-a
-</ins><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-new">
-number
-</ins></a><ins class="diff-new">
and
</ins><i><ins class="diff-new">
datatype
@@ -33393,9 +33462,9 @@
</ins></i>.
</li>
</ol>
-</section>
-</section>
-<section id="list-to-rdf-conversion">
+</div>
+</div>
+<div class="section" id="list-to-rdf-conversion">
<h3>
<span class="secno">
<del class="diff-old">4.9.4
@@ -33467,7 +33536,7 @@
linking
</del>
<ins class="diff-chg">].
-</ins></p><section class="informative"><h4 id="overview-15"><ins class="diff-chg">
+</ins></p><div class="informative section"><h4 id="overview-15"><ins class="diff-chg">
Overview
</ins></h4><p><em><ins class="diff-chg">
This
@@ -33555,8 +33624,8 @@
empty.
</ins>
</p>
-</section>
-<section>
+</div>
+<div class="section">
<h4 id="algorithm-15">
<ins class="diff-new">Algorithm
</ins></h4>
@@ -33944,9 +34013,9 @@
</ins>
</li>
</ol>
-</section>
-</section>
-<section id="convert-from-rdf-algorithm">
+</div>
+</div>
+<div class="section" id="convert-from-rdf-algorithm">
<h3>
<span class="secno">
<del class="diff-old">4.9.5
@@ -34039,7 +34108,7 @@
<ins class="diff-chg">Feature
at
Risk
-5
+4
</ins></span>:<ins class="diff-chg">
Converting
list
@@ -34233,7 +34302,7 @@
</p>
</div>
</div>
-<section class="informative">
+<div class="informative section">
<h4 id="overview-16">
<ins class="diff-new">Overview
</ins></h4>
@@ -34335,13 +34404,13 @@
<del class="diff-old">Quad
</del>
<ins class="diff-chg">xsd:integer
-</ins>
-</code>
-<ins class="diff-new">or
-</ins><code><ins class="diff-new">
+</ins></code><ins class="diff-chg">
+or
+</ins><code><ins class="diff-chg">
xsd:double
-</ins></code><ins class="diff-new">
-are
+</ins>
+</code>
+<ins class="diff-new">are
converted
to
a
@@ -34395,7 +34464,7 @@
Data
Round
Tripping
-</ins></a>.</p></section><section><h4 id="algorithm-16"><ins class="diff-chg">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm-16"><ins class="diff-chg">
Algorithm
</ins></h4><p><ins class="diff-chg">
The
@@ -35573,23 +35642,22 @@
</ins><i><ins class="diff-chg">
list
map
-</ins></i><ins class="diff-chg">
-to
-a
+</ins></i>
+to
+<ins class="diff-new">a
reference
of
-</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">
This
reference
may
be
required
later
-</ins>
-to
-<ins class="diff-new">replace
+to
+replace
</ins>
the
<del class="diff-old">array
@@ -36138,9 +36206,9 @@
</ins></i>.
</li>
</ol>
-</section>
-</section>
-<section id="rdf-to-object-conversion">
+</div>
+</div>
+<div class="section" id="rdf-to-object-conversion">
<h3>
<span class="secno">
<del class="diff-old">5.
@@ -36191,7 +36259,7 @@
</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
object
-</ins></a>.</p><section class="informative"><h4 id="overview-17"><ins class="diff-chg">
+</ins></a>.</p><div class="informative section"><h4 id="overview-17"><ins class="diff-chg">
Overview
</ins></h4><p><em><ins class="diff-chg">
This
@@ -36322,7 +36390,7 @@
Data
Round
Tripping
-</ins></a>.</p></section><section><h4 id="algorithm-17"><ins class="diff-new">
+</ins></a>.</p></div><div class="section"><h4 id="algorithm-17"><ins class="diff-new">
Algorithm
</ins></h4><p><ins class="diff-new">
This
@@ -36790,7 +36858,7 @@
Return
</ins><i><ins class="diff-chg">
result
-</ins></i>.</li></ol></li></ol></section></section><section id="data-round-tripping"><h3><span class="secno"><ins class="diff-chg">
+</ins></i>.</li></ol></li></ol></div></div><div class="section" id="data-round-tripping"><h3><span class="secno"><ins class="diff-chg">
10.6
</ins></span><ins class="diff-chg">
Data
@@ -36822,17 +36890,17 @@
depending
on
whether
-</ins>
-the
-<a class="tref internalDFN" title="number" href="#dfn-number">
-<ins class="diff-new">number
-</ins></a><ins class="diff-new">
+the
+</ins><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-chg">
+number
+</ins></a><ins class="diff-chg">
has
fractions
or
not,
-the
-boolean
+</ins>
+the
+<ins class="diff-new">boolean
values
</ins><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-new">
true
@@ -37660,7 +37728,7 @@
algorithm
</ins></a><ins class="diff-chg">
specifies
-an
+a
</ins><i><ins class="diff-chg">
use
native
@@ -37800,9 +37868,9 @@
backslash-escaped.
</ins>
</p>
-</section>
-</section>
-<section id="the-application-programming-interface">
+</div>
+</div>
+<div class="section" id="the-application-programming-interface">
<h2>
<span class="secno">
<del class="diff-old">A.
@@ -37862,17 +37930,12 @@
the
following
API.
-</ins></p><section id="the-jsonldprocessor-interface"><h3>
-<span class="secno">
-<ins class="diff-chg">11.1
+</ins></p><div class="section" id="the-jsonldprocessor-interface"><h3><span class="secno"><ins class="diff-chg">
+11.1
</ins></span><ins class="diff-chg">
The
-</ins><a href="#idl-def-JsonLdProcessor" class="idlType">
-<del class="diff-old">Issue
-8
-</del>
-<code>
-<ins class="diff-chg">JsonLdProcessor
+</ins><a href="#idl-def-JsonLdProcessor" class="idlType"><code><ins class="diff-chg">
+JsonLdProcessor
</ins></code></a><ins class="diff-chg">
Interface
</ins></h3><p><ins class="diff-chg">
@@ -37942,50 +38005,202 @@
processing
is
stopped.
-</ins></p> <pre class="idl"><span class="idlInterface" id="idl-def-JsonLdProcessor">[<span class="extAttr">Constructor</span>]<ins class="diff-chg">
+</ins></p><div class="issue atrisk">
+<div class="issue-title">
+<span>
+<del class="diff-old">Issue
+8
+</del>
+<ins class="diff-chg">Feature
+at
+Risk
+5
+</ins></span>:<ins class="diff-chg">
+Use
+of
+method
+overloading
+to
+make
+the
+options
+parameter
+optional
+</ins></div><div class="atrisk"><p class="atrisk-head"><ins class="diff-chg">
+Note:
+This
+feature
+is
+</ins><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><ins class="diff-chg">
+"at
+risk"
+</ins></a><ins class="diff-chg">
+and
+may
+be
+removed
+from
+this
+specification
+based
+on
+feedback.
+Please
+send
+feedback
+to
+</ins><a href="mailto:public-rdf-comments@w3.org"><ins class="diff-chg">
+public-rdf-comments@w3.org
+</ins></a>.<ins class="diff-chg">
+For
+the
+current
+status
+see
+</ins><a href="http://www.w3.org/2011/rdf-wg/wiki/JSON-LD_Features_at_Risk"><ins class="diff-chg">
+features
+"at
+risk"
+in
+JSON-LD
+1.0
+</ins></a></p><p><ins class="diff-chg">
+The
+definition
+of
+the
+</ins><a href="#idl-def-JsonLdProcessor" class="idlType"><code><ins class="diff-chg">
+JsonLdProcessor
+</ins></code></a><ins class="diff-chg">
+interface
+uses
+method
+overloading
+to
+make
+the
+"options"
+parameter
+optional.
+According
+to
+the
+current
+version
+of
+the
+Web
+IDL
+specification
+[
+</ins><cite><a class="bibref" href="#bib-WEBIDL"><ins class="diff-chg">
+WEBIDL
+</ins></a></cite><ins class="diff-chg">
+],
+this
+would
+not
+be
+supported
+as
+the
+"options"
+parameter
+(a
+dictionary)
+and
+the
+callback
+parameter
+(a
+callback
+function)
+are
+</ins><a href="http://www.w3.org/TR/2012/CR-WebIDL-20120419/#dfn-distinguishable"><ins class="diff-chg">
+not
+distinguishable
+</ins></a>.<ins class="diff-chg">
+A
+</ins><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=21640"><ins class="diff-chg">
+bug
+report
+</ins></a><ins class="diff-chg">
+has
+been
+already
+been
+filed.
+If
+it
+turns
+out
+that
+this
+is
+not
+a
+bug,
+the
+Working
+Group
+may
+change
+the
+interface
+by
+swapping
+the
+"options"
+and
+"callback"
+parameter.
+</ins></p></div></div> <pre class="idl"><span class="idlInterface" id="idl-def-JsonLdProcessor">[<span class="extAttr">Constructor</span>]<ins class="diff-chg">
interface <span class="idlInterfaceID">JsonLdProcessor</span> {
-</ins><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdCallback-callback-JsonLdOptions-options">expand</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>, <span class="idlParam">optional <span class="idlParamType"><a href="#idl-def-JsonLdOptions" class="idlType"><code>JsonLdOptions</code></a>?</span> <span class="idlParamName">options</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback-JsonLdOptions-options">compact</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdContext" class="idlType"><code>JsonLdContext</code></a>?</span> <span class="idlParamName">context</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>, <span class="idlParam">optional <span class="idlParamType"><a href="#idl-def-JsonLdOptions" class="idlType"><code>JsonLdOptions</code></a>?</span> <span class="idlParamName">options</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback-JsonLdOptions-options">flatten</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdContext" class="idlType"><code>JsonLdContext</code></a>?</span> <span class="idlParamName">context</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>, <span class="idlParam">optional <span class="idlParamType"><a href="#idl-def-JsonLdOptions" class="idlType"><code>JsonLdOptions</code></a>?</span> <span class="idlParamName">options</span></span>);</span><ins class="diff-chg">
+</ins><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdOptions-options-JsonLdCallback-callback">compact</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdContext" class="idlType"><code>JsonLdContext</code></a></span> <span class="idlParamName">context</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdOptions" class="idlType"><code>JsonLdOptions</code></a></span> <span class="idlParamName">options</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback">compact</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdContext" class="idlType"><code>JsonLdContext</code></a></span> <span class="idlParamName">context</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdOptions-options-JsonLdCallback-callback">expand</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdOptions" class="idlType"><code>JsonLdOptions</code></a></span> <span class="idlParamName">options</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdCallback-callback">expand</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdOptions-options-JsonLdCallback-callback">flatten</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdContext" class="idlType"><code>JsonLdContext</code></a>?</span> <span class="idlParamName">context</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdOptions" class="idlType"><code>JsonLdOptions</code></a></span> <span class="idlParamName">options</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>);</span><span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback">flatten</a></span> (<span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdInput" class="idlType"><code>JsonLdInput</code></a></span> <span class="idlParamName">input</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdContext" class="idlType"><code>JsonLdContext</code></a>?</span> <span class="idlParamName">context</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#idl-def-JsonLdCallback" class="idlType"><code>JsonLdCallback</code></a></span> <span class="idlParamName">callback</span></span>);</span><ins class="diff-chg">
};
-</ins></span></pre><section><h4 id="methods"><ins class="diff-chg">
-Methods
-</ins></h4><dl class="methods"><dt id="widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback-JsonLdOptions-options"><code><ins class="diff-chg">
-compact
-</ins></code></dt><dd><p><a href="#compaction"><ins class="diff-chg">
+</ins>
+</span>
+</pre>
+<div class="section">
+<h4 id="methods">
+<ins class="diff-new">Methods
+</ins></h4><dl class="methods"><dt id="widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdOptions-options-JsonLdCallback-callback"><code><ins class="diff-new">
+compact
+</ins></code></dt><dd><p><a href="#compaction"><ins class="diff-new">
Compacts
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
the
given
-</ins><i><ins class="diff-chg">
-input
-</ins></i><ins class="diff-chg">
-using
-the
-</ins><i><ins class="diff-chg">
-context
-</ins></i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
+input
+</ins></i><ins class="diff-new">
+using
+the
+</ins><i><ins class="diff-new">
+context
+</ins></i><ins class="diff-new">
according
to
the
steps
in
the
-</ins><a href="#compaction-algorithm"><ins class="diff-chg">
+</ins><a href="#compaction-algorithm"><ins class="diff-new">
Compaction
algorithm
-</ins></a>:</p><ol class="algorithm"><li><ins class="diff-chg">
+</ins></a>:</p><ol class="algorithm"><li><ins class="diff-new">
If
the
passed
-</ins><i><ins class="diff-chg">
-input
-</ins></i><ins class="diff-chg">
-is
-a
-</ins><span class="idlParamType"><ins class="diff-chg">
+</ins><i><ins class="diff-new">
+input
+</ins></i><ins class="diff-new">
+is
+a
+</ins><span class="idlParamType"><ins class="diff-new">
DOMString
-</ins>
-</span>
-<ins class="diff-new">representing
+</ins></span><ins class="diff-new">
+representing
the
</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
IRI
@@ -38267,8 +38482,8 @@
context
</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdContext" class="idlType"><code><ins class="diff-new">
JsonLdContext
-</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-new">
-✔
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-new">
+✘
</ins></td><td class="prmOptFalse"><ins class="diff-new">
✘
</ins></td><td class="prmDesc"><ins class="diff-new">
@@ -38298,6 +38513,34 @@
</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
IRI
</ins></abbr></a>.</td></tr><tr><td class="prmName"><ins class="diff-new">
+options
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdOptions" class="idlType"><code><ins class="diff-new">
+JsonLdOptions
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-new">
+A
+set
+of
+options
+to
+configure
+the
+algorithms.
+This
+allows,
+e.g.,
+to
+set
+the
+input
+document's
+base
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+IRI
+</ins></abbr></a>.</td></tr><tr><td class="prmName"><ins class="diff-new">
callback
</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdCallback" class="idlType"><code><ins class="diff-new">
JsonLdCallback
@@ -38329,35 +38572,7 @@
processing
from
completing.
-</ins></td></tr><tr><td class="prmName"><ins class="diff-new">
-options
-</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdOptions" class="idlType"><code><ins class="diff-new">
-JsonLdOptions
-</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-new">
-✔
-</ins></td><td class="prmOptTrue"><ins class="diff-new">
-✔
-</ins></td><td class="prmDesc"><ins class="diff-new">
-A
-set
-of
-options
-to
-configure
-the
-algorithms.
-This
-allows,
-e.g.,
-to
-set
-the
-input
-document's
-base
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr></a>.</td></tr></table><div><em><ins class="diff-new">
+</ins></td></tr></table><div><em><ins class="diff-new">
Return
type:
</ins></em><code><a><ins class="diff-new">
@@ -38367,9 +38582,156 @@
<del class="diff-old">It
</del>
</dd>
-<dt id="widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdCallback-callback-JsonLdOptions-options">
-<code>
-<ins class="diff-chg">expand
+<dt id="widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback">
+<code>
+<ins class="diff-chg">compact
+</ins></code></dt><dd><p><ins class="diff-chg">
+This
+method
+</ins>
+is
+<del class="diff-old">still
+being
+discussed
+</del>
+<ins class="diff-chg">the
+same
+as
+the
+</ins><code class="idlMethName"><a href="#widl-JsonLdProcessor-compact-void-JsonLdInput-input-JsonLdContext-context-JsonLdOptions-options-JsonLdCallback-callback"><ins class="diff-chg">
+compact
+</ins>
+</a>
+<del class="diff-old">whether
+</del>
+</code>
+<ins class="diff-chg">method
+defined
+above
+but
+without
+the
+the
+</ins><i><ins class="diff-chg">
+options
+</ins></i><ins class="diff-chg">
+parameter:
+</ins></p><table class="parameters"><tr><th><ins class="diff-chg">
+Parameter
+</ins></th><th><ins class="diff-chg">
+Type
+</ins></th><th><ins class="diff-chg">
+Nullable
+</ins></th><th><ins class="diff-chg">
+Optional
+</ins></th><th><ins class="diff-chg">
+Description
+</ins></th></tr><tr><td class="prmName"><ins class="diff-chg">
+input
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdInput" class="idlType"><code><ins class="diff-chg">
+JsonLdInput
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
+The
+JSON-LD
+object
+or
+array
+of
+JSON-LD
+objects
+to
+perform
+the
+compaction
+upon
+or
+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">
+referencing
+the
+JSON-LD
+document
+to
+compact.
+</ins></td></tr><tr><td class="prmName"><ins class="diff-chg">
+context
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdContext" class="idlType"><code><ins class="diff-chg">
+JsonLdContext
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
+The
+context
+to
+use
+when
+compacting
+the
+</ins><code><ins class="diff-chg">
+input
+</ins></code><ins class="diff-chg">
+;
+either
+in
+the
+form
+of
+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">
+or
+as
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr></a>.</td></tr><tr><td class="prmName"><ins class="diff-chg">
+callback
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdCallback" class="idlType"><code><ins class="diff-chg">
+JsonLdCallback
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
+A
+callback
+that
+is
+called
+when
+processing
+completed
+successfully
+on
+the
+given
+</ins><code><ins class="diff-chg">
+input
+</ins></code>,<ins class="diff-chg">
+or
+a
+fatal
+error
+prevented
+processing
+from
+completing.
+</ins></td></tr></table><div><em><ins class="diff-chg">
+Return
+type:
+</ins></em><code><a><ins class="diff-chg">
+void
+</ins></a></code></div></dd><dt id="widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdOptions-options-JsonLdCallback-callback"><code><ins class="diff-chg">
+expand
</ins></code></dt><dd><p><a href="#expansion"><ins class="diff-chg">
Expands
</ins></a><ins class="diff-chg">
@@ -38393,13 +38755,9 @@
passed
</ins><i><ins class="diff-chg">
input
-</ins></i>
-is
-<del class="diff-old">still
-being
-discussed
-</del>
-<ins class="diff-chg">a
+</ins></i><ins class="diff-chg">
+is
+a
</ins><span class="idlParamType"><ins class="diff-chg">
DOMString
</ins></span><ins class="diff-chg">
@@ -38407,11 +38765,8 @@
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">whether
-</del>
-<ins class="diff-chg">of
+</ins></abbr></a><ins class="diff-chg">
+of
a
remote
document,
@@ -38625,9 +38980,143 @@
✘
</ins></td><td class="prmDesc"><ins class="diff-chg">
The
-</ins>
-JSON-LD
-<ins class="diff-new">object
+JSON-LD
+object
+or
+array
+of
+JSON-LD
+objects
+to
+perform
+the
+expansion
+upon
+or
+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">
+referencing
+the
+</ins>
+JSON-LD
+<ins class="diff-new">document
+to
+expand.
+</ins></td></tr><tr><td class="prmName"><ins class="diff-new">
+options
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdOptions" class="idlType"><code><ins class="diff-new">
+JsonLdOptions
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-new">
+A
+set
+of
+options
+to
+configure
+the
+used
+algorithms
+such.
+This
+allows,
+e.g.,
+to
+set
+the
+input
+document's
+base
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+IRI
+</ins></abbr></a>.</td></tr><tr><td class="prmName"><ins class="diff-new">
+callback
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdCallback" class="idlType"><code><ins class="diff-new">
+JsonLdCallback
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-new">
+A
+callback
+that
+is
+called
+when
+processing
+completed
+successfully
+on
+the
+given
+</ins><code><ins class="diff-new">
+input
+</ins></code>,<ins class="diff-new">
+or
+a
+fatal
+error
+prevented
+processing
+from
+completing.
+</ins></td></tr></table><div><em><ins class="diff-new">
+Return
+type:
+</ins></em><code><a><ins class="diff-new">
+void
+</ins></a></code></div></dd><dt id="widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdCallback-callback"><code><ins class="diff-new">
+expand
+</ins></code></dt><dd><p><ins class="diff-new">
+This
+method
+is
+the
+same
+as
+the
+</ins><code class="idlMethName"><a href="#widl-JsonLdProcessor-expand-void-JsonLdInput-input-JsonLdOptions-options-JsonLdCallback-callback"><ins class="diff-new">
+expand
+</ins></a></code><ins class="diff-new">
+method
+defined
+above
+but
+without
+the
+the
+</ins><i><ins class="diff-new">
+options
+</ins></i><ins class="diff-new">
+parameter:
+</ins></p><table class="parameters"><tr><th><ins class="diff-new">
+Parameter
+</ins></th><th><ins class="diff-new">
+Type
+</ins></th><th><ins class="diff-new">
+Nullable
+</ins></th><th><ins class="diff-new">
+Optional
+</ins></th><th><ins class="diff-new">
+Description
+</ins></th></tr><tr><td class="prmName"><ins class="diff-new">
+input
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdInput" class="idlType"><code><ins class="diff-new">
+JsonLdInput
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-new">
+The
+JSON-LD
+object
or
array
of
@@ -38681,42 +39170,12 @@
processing
from
completing.
-</ins></td></tr><tr><td class="prmName"><ins class="diff-new">
-options
-</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdOptions" class="idlType"><code><ins class="diff-new">
-JsonLdOptions
-</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-new">
-✔
-</ins></td><td class="prmOptTrue"><ins class="diff-new">
-✔
-</ins></td><td class="prmDesc"><ins class="diff-new">
-A
-set
-of
-options
-to
-configure
-the
-used
-algorithms
-such.
-This
-allows,
-e.g.,
-to
-set
-the
-input
-document's
-base
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr></a>.</td></tr></table><div><em><ins class="diff-new">
+</ins></td></tr></table><div><em><ins class="diff-new">
Return
type:
</ins></em><code><a><ins class="diff-new">
void
-</ins></a></code></div></dd><dt id="widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback-JsonLdOptions-options"><code><ins class="diff-new">
+</ins></a></code></div></dd><dt id="widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdOptions-options-JsonLdCallback-callback"><code><ins class="diff-new">
flatten
</ins></code></dt><dd><p><a href="#flattening"><ins class="diff-new">
Flattens
@@ -38773,8 +39232,9 @@
the
retrieved
document
-has
-a
+</ins>
+has
+<ins class="diff-new">a
content
type
different
@@ -38788,8 +39248,11 @@
</ins></code><ins class="diff-new">
or
if
-the
-document
+</ins>
+the
+<del class="diff-old">notion
+</del>
+<ins class="diff-chg">document
cannot
be
parsed
@@ -38797,41 +39260,38 @@
JSON,
invoke
the
-</ins><i><ins class="diff-new">
+</ins><i><ins class="diff-chg">
callback
-</ins></i><ins class="diff-new">
-passing
-an
-</ins><code class="error"><a href="#idl-def-JsonLdErrorCode.loading-document-failed"><ins class="diff-new">
+</ins></i><ins class="diff-chg">
+passing
+an
+</ins><code class="error"><a href="#idl-def-JsonLdErrorCode.loading-document-failed"><ins class="diff-chg">
loading
document
failed
-</ins></a></code><ins class="diff-new">
+</ins></a></code><ins class="diff-chg">
error.
-</ins></li><li><ins class="diff-new">
-Initialize
-a
-new
-empty
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
-active
-context
-</ins></a>.</li><li><ins class="diff-new">
-If
-an
-</ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-expandContext"><ins class="diff-new">
+</ins></li><li><ins class="diff-chg">
+Initialize
+a
+new
+empty
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+active
+context
+</ins></a>.</li><li><ins class="diff-chg">
+If
+an
+</ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-expandContext"><ins class="diff-chg">
expandContext
-</ins></a></code>
-has
-<ins class="diff-new">been
+</ins></a></code><ins class="diff-chg">
+has
+been
passed,
update
-</ins>
-the
-<del class="diff-old">notion
-</del>
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-chg">active
+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">
using
@@ -38996,53 +39456,238 @@
as
</ins><i><ins class="diff-chg">
element
-</ins></i>,<i><ins class="diff-chg">
-context
-</ins></i>,<ins class="diff-chg">
-and
+</ins></i>,<i>
+context
+</i>,
+<ins class="diff-new">and
if
passed,
the
-</ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-compactArrays"><ins class="diff-chg">
+</ins><code class="idlMemberName"><a href="#widl-JsonLdOptions-compactArrays"><ins class="diff-new">
compactArrays
-</ins></a></code><ins class="diff-chg">
+</ins></a></code><ins class="diff-new">
flag
in
-</ins><i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
options
-</ins></i><ins class="diff-chg">
+</ins></i><ins class="diff-new">
(which
is
internally
passed
to
the
-</ins><a href="#compaction-algorithm"><ins class="diff-chg">
+</ins><a href="#compaction-algorithm"><ins class="diff-new">
Compaction
algorithm
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
).
-</ins></li><li><ins class="diff-chg">
+</ins></li><li><ins class="diff-new">
Invoke
-</ins><i><ins class="diff-chg">
+</ins><i><ins class="diff-new">
callback
-</ins></i>,<ins class="diff-chg">
-passing
-</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
-null
-</ins></a><ins class="diff-chg">
-for
-</ins><i><ins class="diff-chg">
+</ins></i>,<ins class="diff-new">
+passing
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
+null
+</ins></a><ins class="diff-new">
+for
+</ins><i><ins class="diff-new">
error
-</ins></i><ins class="diff-chg">
-and
-</ins><i><ins class="diff-chg">
+</ins></i><ins class="diff-new">
+and
+</ins><i><ins class="diff-new">
flattened
-</ins></i><ins class="diff-chg">
-for
-</ins><i><ins class="diff-chg">
-document
-</ins></i>.</li></ol><table class="parameters"><tr><th><ins class="diff-chg">
+</ins></i><ins class="diff-new">
+for
+</ins><i><ins class="diff-new">
+document
+</ins></i>.</li></ol><table class="parameters"><tr><th><ins class="diff-new">
+Parameter
+</ins></th><th><ins class="diff-new">
+Type
+</ins></th><th><ins class="diff-new">
+Nullable
+</ins></th><th><ins class="diff-new">
+Optional
+</ins></th><th><ins class="diff-new">
+Description
+</ins></th></tr><tr><td class="prmName"><ins class="diff-new">
+input
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdInput" class="idlType"><code><ins class="diff-new">
+JsonLdInput
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-new">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-new">
+The
+JSON-LD
+object
+</ins>
+or
+<del class="diff-old">not.
+</del>
+<ins class="diff-chg">array
+of
+JSON-LD
+objects
+or
+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">
+referencing
+the
+JSON-LD
+document
+to
+flatten.
+</ins></td></tr><tr><td class="prmName"><ins class="diff-chg">
+context
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdContext" class="idlType"><code><ins class="diff-chg">
+JsonLdContext
+</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-chg">
+✔
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
+The
+context
+to
+use
+when
+compacting
+the
+flattened
+</ins><code><ins class="diff-chg">
+input
+</ins></code><ins class="diff-chg">
+;
+either
+in
+the
+form
+of
+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">
+or
+as
+</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">
+If
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a><ins class="diff-chg">
+is
+passed,
+the
+result
+will
+not
+be
+compacted
+but
+kept
+in
+expanded
+form.
+</ins></td></tr><tr><td class="prmName"><ins class="diff-chg">
+options
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdOptions" class="idlType"><code><ins class="diff-chg">
+JsonLdOptions
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
+A
+set
+of
+options
+to
+configure
+the
+used
+algorithms
+such.
+This
+allows,
+e.g.,
+to
+set
+the
+input
+document's
+base
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
+</ins></abbr></a>.</td></tr><tr><td class="prmName"><ins class="diff-chg">
+callback
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdCallback" class="idlType"><code><ins class="diff-chg">
+JsonLdCallback
+</ins></code></a></code></td><td class="prmNullFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
+A
+callback
+that
+is
+called
+when
+processing
+completed
+successfully
+on
+the
+given
+</ins><code><ins class="diff-chg">
+input
+</ins></code>,<ins class="diff-chg">
+or
+a
+fatal
+error
+prevented
+processing
+from
+completing.
+</ins></td></tr></table><div><em><ins class="diff-chg">
+Return
+type:
+</ins></em><code><a><ins class="diff-chg">
+void
+</ins></a></code></div></dd><dt id="widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdCallback-callback"><code><ins class="diff-chg">
+flatten
+</ins></code></dt><dd><p><ins class="diff-chg">
+This
+method
+is
+the
+same
+as
+the
+</ins><code class="idlMethName"><a href="#widl-JsonLdProcessor-flatten-void-JsonLdInput-input-JsonLdContext-context-JsonLdOptions-options-JsonLdCallback-callback"><ins class="diff-chg">
+flatten
+</ins></a></code><ins class="diff-chg">
+method
+defined
+above
+but
+without
+the
+the
+</ins><i><ins class="diff-chg">
+options
+</ins></i><ins class="diff-chg">
+parameter:
+</ins></p><table class="parameters"><tr><th><ins class="diff-chg">
Parameter
</ins></th><th><ins class="diff-chg">
Type
@@ -39080,19 +39725,15 @@
document
to
flatten.
-</ins></td></tr><tr><td class="prmName">
-context
-</td>
-<td class="prmType">
-<code>
-<a href="#idl-def-JsonLdContext" class="idlType">
-<code>
-<ins class="diff-new">JsonLdContext
-</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-new">
+</ins></td></tr><tr><td class="prmName"><ins class="diff-chg">
+context
+</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdContext" class="idlType"><code><ins class="diff-chg">
+JsonLdContext
+</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-chg">
✔
-</ins></td><td class="prmOptFalse"><ins class="diff-new">
-✘
-</ins></td><td class="prmDesc"><ins class="diff-new">
+</ins></td><td class="prmOptFalse"><ins class="diff-chg">
+✘
+</ins></td><td class="prmDesc"><ins class="diff-chg">
The
context
to
@@ -39101,9 +39742,9 @@
compacting
the
flattened
-</ins><code><ins class="diff-new">
-input
-</ins></code><ins class="diff-new">
+</ins><code><ins class="diff-chg">
+input
+</ins></code><ins class="diff-chg">
;
either
in
@@ -39111,14 +39752,12 @@
form
of
a
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
-JSON
-object
-</ins></a>
-or
-<del class="diff-old">not.
-</del>
-<ins class="diff-chg">as
+</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
+JSON
+object
+</ins></a><ins class="diff-chg">
+or
+as
</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
IRI
</ins></abbr></a>.
@@ -39171,42 +39810,12 @@
processing
from
completing.
-</ins></td></tr><tr><td class="prmName"><ins class="diff-new">
-options
-</ins></td><td class="prmType"><code><a href="#idl-def-JsonLdOptions" class="idlType"><code><ins class="diff-new">
-JsonLdOptions
-</ins></code></a></code></td><td class="prmNullTrue"><ins class="diff-new">
-✔
-</ins></td><td class="prmOptTrue"><ins class="diff-new">
-✔
-</ins></td><td class="prmDesc"><ins class="diff-new">
-A
-set
-of
-options
-to
-configure
-the
-used
-algorithms
-such.
-This
-allows,
-e.g.,
-to
-set
-the
-input
-document's
-base
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
-IRI
-</ins></abbr></a>.</td></tr></table><div><em><ins class="diff-new">
+</ins></td></tr></table><div><em><ins class="diff-new">
Return
type:
</ins></em><code><a><ins class="diff-new">
void
-</ins></a></code></div></dd></dl></section><pre class="idl"><span class="idlTypedef" id="idl-def-JsonLdInput"><ins class="diff-new">
+</ins></a></code></div></dd></dl></div><pre class="idl"><span class="idlTypedef" id="idl-def-JsonLdInput"><ins class="diff-new">
typedef
</ins><span class="idlTypedefType"><ins class="diff-new">
(
@@ -39280,13 +39889,13 @@
DOMString)
</ins></span><ins class="diff-new">
type.
-</ins></p></div></section><section id="callbacks"><h3><span class="secno"><ins class="diff-new">
+</ins></p></div></div><div class="section" id="callbacks"><h3><span class="secno"><ins class="diff-new">
11.2
</ins></span><ins class="diff-new">
Callbacks
-</ins></h3><p><a class="tref internalDFN" title="json-ld-api-implementation" href="#dfn-json-ld-api-implementation"><ins class="diff-new">
-JSON-LD
-API
+</ins></h3><p><a class="tref internalDFN" title="json-ld-api-implementation" href="#dfn-json-ld-api-implementation">
+JSON-LD
+<ins class="diff-new">API
Implementations
</ins></a><ins class="diff-new">
utilize
@@ -39310,7 +39919,7 @@
of
those
callbacks.
-</ins></p><section><h4 id="jsonldcallback"><ins class="diff-new">
+</ins></p><div class="section"><h4 id="jsonldcallback"><ins class="diff-new">
JsonLdCallback
</ins></h4><p><ins class="diff-new">
The
@@ -39326,9 +39935,9 @@
of
</ins><a href="#idl-def-JsonLdProcessor" class="idlType"><code><ins class="diff-new">
JsonLdProcessor
-</ins></code></a><ins class="diff-new">
-has
-been
+</ins></code></a>
+has
+<ins class="diff-new">been
completed,
either
successfully
@@ -39351,21 +39960,17 @@
JsonLdError
</ins></code></a></span><span class="idlParamName"><ins class="diff-new">
error
-</ins></span></span>,<span class="idlParam"><ins class="diff-new">optional </ins><span class="idlParamType"><ins class="diff-new">
-(
-</ins><a><ins class="diff-new">
-object
-</ins></a><ins class="diff-new">
-or
-</ins><a><ins class="diff-new">
-object[]
-</ins></a><ins class="diff-new">
-)
-</ins></span><span class="idlParamName"><ins class="diff-new">
+</ins></span></span>,<span class="idlParam"><ins class="diff-new">
+optional
+</ins><span class="idlParamType"><a><ins class="diff-new">
+(object
+or
+object[])
+</ins></a></span><span class="idlParamName"><ins class="diff-new">
document
</ins></span></span><ins class="diff-new">
);
-</ins></span></pre><section><h5 id="callback-jsonldcallback-parameters"><ins class="diff-new">
+</ins></span></pre><div class="section"><h5 id="callback-jsonldcallback-parameters"><ins class="diff-new">
Callback
</ins><a class="idlType" href="#idl-def-JsonLdCallback"><code><ins class="diff-new">
JsonLdCallback
@@ -39422,10 +40027,9 @@
</ins></a></span></dt><dd><ins class="diff-new">
The
processed
-</ins>
-JSON-LD
-<ins class="diff-new">document.
-</ins></dd></dl></section></section><section><h4 id="loadcontextcallback"><ins class="diff-new">
+JSON-LD
+document.
+</ins></dd></dl></div></div><div class="section"><h4 id="loadcontextcallback"><ins class="diff-new">
LoadContextCallback
</ins></h4><p><ins class="diff-new">
The
@@ -39469,7 +40073,7 @@
callback
</ins></span></span><ins class="diff-new">
);
-</ins></span></pre><section><h5 id="callback-loadcontextcallback-parameters"><ins class="diff-new">
+</ins></span></pre><div class="section"><h5 id="callback-loadcontextcallback-parameters"><ins class="diff-new">
Callback
</ins><a class="idlType" href="#idl-def-LoadContextCallback"><code><ins class="diff-new">
LoadContextCallback
@@ -39508,9 +40112,8 @@
the
remote
context
-</ins>
-has
-<ins class="diff-new">been
+has
+been
successfully
loaded
or
@@ -39525,7 +40128,7 @@
has
been
detected.
-</ins></dd></dl></section></section><section><h4 id="contextloadedcallback"><ins class="diff-chg">
+</ins></dd></dl></div></div><div class="section"><h4 id="contextloadedcallback"><ins class="diff-chg">
ContextLoadedCallback
</ins></h4><p><ins class="diff-chg">
The
@@ -39557,17 +40160,21 @@
JsonLdError
</ins></code></a></span><span class="idlParamName"><ins class="diff-chg">
error
-</ins></span></span>,<span class="idlParam"><span class="idlParamType"><a><ins class="diff-chg">
+</ins></span></span>,<span class="idlParam"><ins class="diff-chg">
+optional
+</ins><span class="idlParamType"><a><ins class="diff-chg">
DOMString
</ins></a></span><span class="idlParamName"><ins class="diff-chg">
url
-</ins></span></span>,<span class="idlParam"><span class="idlParamType"><a><ins class="diff-chg">
+</ins></span></span>,<span class="idlParam"><ins class="diff-chg">
+optional
+</ins><span class="idlParamType"><a><ins class="diff-chg">
DOMString
</ins></a></span><span class="idlParamName"><ins class="diff-chg">
context
</ins></span></span><ins class="diff-chg">
);
-</ins></span></pre><section><h5 id="callback-contextloadedcallback-parameters"><ins class="diff-chg">
+</ins></span></pre><div class="section"><h5 id="callback-contextloadedcallback-parameters"><ins class="diff-chg">
Callback
</ins><a class="idlType" href="#idl-def-ContextLoadedCallback"><code><ins class="diff-chg">
ContextLoadedCallback
@@ -39668,7 +40275,7 @@
retrieved
JSON-LD
context.
-</ins></dd></dl></section></section></section><section id="data-structures"><h3><span class="secno"><ins class="diff-chg">
+</ins></dd></dl></div></div></div><div class="section" id="data-structures"><h3><span class="secno"><ins class="diff-chg">
11.3
</ins></span><ins class="diff-chg">
Data
@@ -39684,7 +40291,7 @@
the
JSON-LD
API.
-</ins></p><section><h4 id="jsonldoptions"><ins class="diff-chg">
+</ins></p><div class="section"><h4 id="jsonldoptions"><ins class="diff-chg">
JsonLdOptions
</ins></h4><p><ins class="diff-chg">
The
@@ -39704,9 +40311,9 @@
JsonLdProcessor
</ins></code></a><ins class="diff-chg">
methods.
-</ins></p> <pre class="idl"><span class="idlDictionary" id="idl-def-JsonLdOptions">dictionary <span class="idlDictionaryID">JsonLdOptions</span> {<span class="idlMember"> <span class="idlMemberType"><a>DOMString</a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-base">base</a></span>;</span><span class="idlMember"> <span class="idlMemberType"><a>boolean</a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-compactArrays">compactArrays</a></span> = <span class="idlMemberValue">true</span>;</span><span class="idlMember"> <span class="idlMemberType"><a href="#idl-def-LoadContextCallback" class="idlType"><code>LoadContextCallback</code></a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-loadContext">loadContext</a></span>;</span><span class="idlMember"> <span class="idlMemberType">(<a>object</a> or <a>DOMString</a>)</span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-expandContext">expandContext</a></span> = <span class="idlMemberValue">null</span>;</span><span class="idlMember"> <span class="idlMemberType"><a>DOMString</a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-processingMode">processingMode</a></span> = <span class="idlMemberValue">"json-ld-1.0"</span>;</span><ins class="diff-chg">
+</ins></p> <pre class="idl"><span class="idlDictionary" id="idl-def-JsonLdOptions">dictionary <span class="idlDictionaryID">JsonLdOptions</span> {<span class="idlMember"> <span class="idlMemberType"><a>DOMString</a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-base">base</a></span>;</span><span class="idlMember"> <span class="idlMemberType"><a>boolean</a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-compactArrays">compactArrays</a></span> = <span class="idlMemberValue">true</span>;</span><span class="idlMember"> <span class="idlMemberType"><a href="#idl-def-LoadContextCallback" class="idlType"><code>LoadContextCallback</code></a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-loadContext">loadContext</a></span>;</span><span class="idlMember"> <span class="idlMemberType">(<a>object?</a> or <a>DOMString</a>)</span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-expandContext">expandContext</a></span> = <span class="idlMemberValue">null</span>;</span><span class="idlMember"> <span class="idlMemberType"><a>DOMString</a></span> <span class="idlMemberName"><a href="#widl-JsonLdOptions-processingMode">processingMode</a></span> = <span class="idlMemberValue">"json-ld-1.0"</span>;</span><ins class="diff-chg">
};
-</ins></span></pre><section><h5 id="dictionary-jsonldoptions-members"><ins class="diff-chg">
+</ins></span></pre><div class="section"><h5 id="dictionary-jsonldoptions-members"><ins class="diff-chg">
Dictionary
</ins><a class="idlType" href="#idl-def-JsonLdOptions"><code><ins class="diff-chg">
JsonLdOptions
@@ -39794,7 +40401,7 @@
Feature
at
Risk
-4
+6
</ins></span>:<ins class="diff-new">
Default
value
@@ -39976,7 +40583,7 @@
of
type
</ins><span class="idlMemberType"><a><ins class="diff-new">
-(object
+(object?
or
DOMString)
</ins></a></span>,<ins class="diff-new">
@@ -40035,9 +40642,8 @@
external
</del>
<ins class="diff-chg">used
-</ins>
-to
-<ins class="diff-new">retrieve
+to
+retrieve
remote
contexts;
otherwise,
@@ -40049,23 +40655,24 @@
built-in
context
loader
-</ins><em class="rfc2119" title="MUST"><ins class="diff-new">
+</ins><em class="rfc2119" title="MUST"><ins class="diff-chg">
MUST
-</ins></em><ins class="diff-new">
+</ins></em><ins class="diff-chg">
be
used.
-</ins></dd><dt id="widl-JsonLdOptions-processingMode"><code><ins class="diff-new">
+</ins></dd><dt id="widl-JsonLdOptions-processingMode"><code><ins class="diff-chg">
processingMode
-</ins></code><ins class="diff-new">
-of
-type
-</ins><span class="idlMemberType"><a><ins class="diff-new">
+</ins></code><ins class="diff-chg">
+of
+type
+</ins><span class="idlMemberType"><a><ins class="diff-chg">
DOMString
-</ins></a></span>,<ins class="diff-new">
+</ins></a></span>,<ins class="diff-chg">
defaulting
-to
-</ins><code><ins class="diff-new">
-"json-ld-1.0"
+</ins>
+to
+<code>
+<ins class="diff-new">"json-ld-1.0"
</ins></code></dt><dd><ins class="diff-new">
If
set
@@ -40167,7 +40774,7 @@
of
this
specification.
-</ins></dd></dl></section></section><section><h4 id="jsonlderror"><ins class="diff-chg">
+</ins></dd></dl></div></div><div class="section"><h4 id="jsonlderror"><ins class="diff-chg">
JsonLdError
</ins></h4><p><ins class="diff-chg">
The
@@ -40194,25 +40801,22 @@
</p>
<pre class="idl"><span class="idlDictionary" id="idl-def-JsonLdError">dictionary <span class="idlDictionaryID">JsonLdError</span> {
<span class="idlMember"> <span class="idlMemberType"><a href="#idl-def-JsonLdErrorCode" class="idlType"><code>JsonLdErrorCode</code></a></span> <span class="idlMemberName"><a href="#widl-JsonLdError-code">code</a></span>;</span>
-<span class="idlMember"> <span class="idlMemberType"><a>DOMString</a>?</span> <span class="idlMemberName"><a href="#widl-JsonLdError-message">message</a></span>;</span>
+<span class="idlMember"> <span class="idlMemberType"><a>DOMString</a>?</span> <span class="idlMemberName"><a href="#widl-JsonLdError-message">message</a></span> = <span class="idlMemberValue">null</span>;</span>
<ins class="diff-new">};
-</ins></span>
-</pre>
-<section>
-<h5 id="dictionary-jsonlderror-members">
-<ins class="diff-chg">Dictionary
-</ins><a class="idlType" href="#idl-def-JsonLdError"><code><ins class="diff-chg">
+</ins></span></pre><div class="section"><h5 id="dictionary-jsonlderror-members"><ins class="diff-new">
+Dictionary
+</ins><a class="idlType" href="#idl-def-JsonLdError"><code><ins class="diff-new">
JsonLdError
-</ins></code></a><ins class="diff-chg">
+</ins></code></a><ins class="diff-new">
Members
-</ins></h5><dl class="dictionary-members"><dt id="widl-JsonLdError-code"><code><ins class="diff-chg">
+</ins></h5><dl class="dictionary-members"><dt id="widl-JsonLdError-code"><code><ins class="diff-new">
code
-</ins></code><ins class="diff-chg">
-of
-type
-</ins><span class="idlMemberType"><a href="#idl-def-JsonLdErrorCode" class="idlType"><code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
+of
+type
+</ins><span class="idlMemberType"><a href="#idl-def-JsonLdErrorCode" class="idlType"><code><ins class="diff-new">
JsonLdErrorCode
-</ins></code></a></span></dt><dd><ins class="diff-chg">
+</ins></code></a></span></dt><dd><ins class="diff-new">
a
string
representing
@@ -40229,16 +40833,20 @@
in
this
document.
-</ins></dd><dt id="widl-JsonLdError-message"><code><ins class="diff-chg">
+</ins></dd><dt id="widl-JsonLdError-message"><code><ins class="diff-new">
message
-</ins></code><ins class="diff-chg">
-of
-type
-</ins><span class="idlMemberType"><a><ins class="diff-chg">
+</ins></code><ins class="diff-new">
+of
+type
+</ins><span class="idlMemberType"><a><ins class="diff-new">
DOMString
-</ins></a></span>,<ins class="diff-chg">
-nullable
-</ins></dt><dd><ins class="diff-chg">
+</ins></a></span>,<ins class="diff-new">
+nullable,
+defaulting
+to
+</ins><code><ins class="diff-new">
+null
+</ins></code></dt><dd><ins class="diff-new">
an
optional
error
@@ -40260,8 +40868,12 @@
of
this
specification.
-</ins></dd></dl></section></section><section><h4 id="jsonlderrorcode"><ins class="diff-chg">
-JsonLdErrorCode
+</ins></dd></dl>
+</div>
+</div>
+<div class="section">
+<h4 id="jsonlderrorcode">
+<ins class="diff-chg">JsonLdErrorCode
</ins></h4><p><ins class="diff-chg">
The
</ins><a href="#idl-def-JsonLdErrorCode" class="idlType"><code><ins class="diff-chg">
@@ -40949,7 +41561,7 @@
value
in
a
-</ins><a class="tref externalDFN" title="language-map" href="../json-ld/#dfn-language-map"><ins class="diff-chg">
+</ins><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></a><ins class="diff-chg">
@@ -41080,7 +41692,7 @@
</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
object
-</ins></a>.</td></tr></table></section></section></section><section class="appendix informative" id="acknowledgements">
+</ins></a>.</td></tr></table></div></div></div><div class="appendix informative section" id="acknowledgements">
<h2>
<span class="secno">
<del class="diff-old">B.
@@ -41260,8 +41872,8 @@
the
specification.
</p>
-</section>
-<section id="references" class="appendix" typeof="bibo:Chapter" resource="#references" rel="bibo:chapter">
+</div>
+<div id="references" class="appendix section" typeof="bibo:Chapter" resource="#references" rel="bibo:chapter">
<h2>
<span class="secno">
<del class="diff-old">C.
@@ -41271,7 +41883,7 @@
</span>
References
</h2>
-<section id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:chapter">
+<div class="section" id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:chapter">
<h3>
<span class="secno">
<del class="diff-old">C.1
@@ -41767,8 +42379,8 @@
</a>
</dd>
</dl>
-</section>
-<section id="informative-references" typeof="bibo:Chapter" resource="#informative-references" rel="bibo:chapter">
+</div>
+<div class="section" id="informative-references" typeof="bibo:Chapter" resource="#informative-references" rel="bibo:chapter">
<h3>
<span class="secno">
<del class="diff-old">C.2
@@ -42001,8 +42613,8 @@
</a>
</dd>
</dl>
-</section>
-</section>
+</div>
+</div>
</body>
</html>
--- a/spec/WD/json-ld/20130411/diff-20120712.html Tue Apr 09 20:10:43 2013 +0200
+++ b/spec/WD/json-ld/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</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
@@ -9,7 +9,7 @@
table, thead, tr, td { padding: 5px; border-width: 1px; border-spacing: 0px; border-style: solid; border-collapse: collapse; }
.atrisk-head { font-style: italic; }
</style>
-<style>
+<style type="text/css">
/* --- INLINES --- */
em.rfc2119 {
text-transform: lowercase;
@@ -120,7 +120,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;
@@ -152,14 +152,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;
}
@@ -174,7 +174,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;
@@ -191,10 +191,7 @@
}
-</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;
@@ -300,7 +297,7 @@
</ins></a></dd><dt><ins class="diff-chg">
Previous
version:
-</ins></dt><dd><a href="http://www.w3.org/TR/2012/WD-json-ld-20120712/"><ins class="diff-chg">
+</ins></dt><dd><a href="http://www.w3.org/TR/2012/WD-json-ld-syntax-20120712/"><ins class="diff-chg">
http://www.w3.org/TR/2012/WD-json-ld-20120712/
</ins>
</a>
@@ -308,7 +305,7 @@
<dt>
Editors:
</dt>
-<dd rel="bibo:editor" inlist="">
+<dd rel="bibo:editor">
<span typeof="foaf:Person">
<a rel="foaf:homepage" property="foaf:name" content="Manu Sporny" href="http://manu.sporny.org/">
Manu
@@ -320,7 +317,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
@@ -332,7 +329,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="Markus Lanthaler" href="http://www.markus-lanthaler.com/">
Markus
@@ -489,7 +486,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>
@@ -614,8 +611,8 @@
engines.
</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
@@ -1296,8 +1293,8 @@
Policy
</a>.
</p>
-</section>
-<section id="toc">
+</div>
+<div class="section" id="toc">
<h2 class="introductory">
Table
of
@@ -1988,8 +1985,8 @@
</ul>
</li>
</ul>
-</section>
-<section class="informative" id="introduction">
+</div>
+<div class="informative section" id="introduction">
<h2>
<span class="secno">
1.
@@ -2650,7 +2647,7 @@
processing.
</ins>
</p>
-<section class="informative" id="how-to-read-this-document">
+<div class="informative section" id="how-to-read-this-document">
<h3>
<span class="secno">
1.1
@@ -3200,9 +3197,9 @@
@id
key.
</del>
-</section>
-</section>
-<section class="informative" id="design-goals-and-rationale">
+</div>
+</div>
+<div class="informative section" id="design-goals-and-rationale">
<h2>
<span class="secno">
2.
@@ -3654,8 +3651,8 @@
</ins>
</dd>
</dl>
-</section>
-<section class="normative" id="terminology">
+</div>
+<div class="normative section" id="terminology">
<h2>
<span class="secno">
3.
@@ -3729,7 +3726,7 @@
JSON
markup.
</del>
-<section class="normative" id="general-terminology">
+<div class="normative section" id="general-terminology">
<h3>
<span class="secno">
3.1
@@ -3932,17 +3929,17 @@
internationalized
text,
or
-a
-strictly-typed
+</del>
+a
+<del class="diff-old">strictly-typed
data
value.
A
node
may
be
-</del>
-a
-<del class="diff-old">subject
+a
+subject
and
an
object
@@ -4570,7 +4567,10 @@
</ins></a><ins class="diff-chg">
is
ignored.
-</ins></dd></dl></section><section class="normative" id="syntax-tokens-and-keywords"><h3>
+</ins></dd></dl>
+</div>
+<div class="normative section" id="syntax-tokens-and-keywords">
+<h3>
<span class="secno">
<del class="diff-old">3.1.1
</del>
@@ -5162,9 +5162,9 @@
are
case-sensitive.
</p>
-</section>
-</section>
-<section class="normative" id="conformance">
+</div>
+</div>
+<div class="normative section" id="conformance">
<h2>
<span class="secno">
<del class="diff-old">3.1.2
@@ -5411,7 +5411,7 @@
</del>
</cite>
<ins class="diff-chg">].
-</ins></p></section><section class="informative" id="basic-concepts"><h2><span class="secno"><ins class="diff-chg">
+</ins></p></div><div class="informative section" id="basic-concepts"><h2><span class="secno"><ins class="diff-chg">
5.
</ins></span><ins class="diff-chg">
Basic
@@ -5977,7 +5977,7 @@
</del>
<ins class="diff-chg">next
section.
-</ins></p><section class="informative" id="the-context"><h3><span class="secno"><ins class="diff-chg">
+</ins></p><div class="informative section" id="the-context"><h3><span class="secno"><ins class="diff-chg">
5.1
</ins></span><ins class="diff-chg">
The
@@ -6625,17 +6625,17 @@
contained
outside
of
-</ins>
-the
-<code>
-<ins class="diff-new">@context
-</ins></code><ins class="diff-new">
+the
+</ins><code><ins class="diff-chg">
+@context
+</ins></code><ins class="diff-chg">
value
is
ignored
when
-the
-document
+</ins>
+the
+<ins class="diff-new">document
is
used
as
@@ -7031,8 +7031,17 @@
null
value
is
+</del>
+<ins class="diff-chg">has
+the
+advantage
+that
+documents
+can
+be
+</ins>
processed
-in
+<del class="diff-old">in
a
special
way
@@ -7051,22 +7060,25 @@
a
key-value
pair
-in
-the
-body
-of
-a
-JSON-LD
+</del>
+<ins class="diff-chg">even
+</ins>
+in
+the
+<del class="diff-old">body
+</del>
+<ins class="diff-chg">absence
+</ins>
+of
+a
+<del class="diff-old">JSON-LD
document
was
never
declared
when
-</del>
-<ins class="diff-chg">has
-</ins>
-the
-<del class="diff-old">value
+the
+value
equals
null
.
@@ -7081,17 +7093,8 @@
set
to
null
-</del>
-<ins class="diff-chg">advantage
-that
-documents
-can
-be
-processed
-even
-</ins>
-in
-<del class="diff-old">expanded
+in
+expanded
form,
then
the
@@ -7104,8 +7107,11 @@
@context
is
set
-to
-null
+</del>
+<ins class="diff-chg">connection
+</ins>
+to
+<del class="diff-old">null
,
the
active
@@ -7131,19 +7137,47 @@
unless
otherwise
specified.
-3.1.3
-From
+</del>
+<ins class="diff-chg">Web.
+</ins>
+</p>
+ <div class="example"><div class="example-title"><span>Example 5</span>: In-line context definition</div><pre class="example">{
+ <span class="diff">"@context":
+<ins class="diff-new"> {
+ "name": "http://schema.org/name",
+ "image": {
+ "@id": "http://schema.org/image",
+ "@type": "@id"
+ },
+ "homepage": {
+ "@id": "http://schema.org/url",
+ "@type": "@id"
+ }
+ },</span>
+ "name": "Manu Sporny",
+ "homepage": "http://manu.sporny.org/",
+ "image": "http://manu.sporny.org/images/manu.png"
+}
+</ins></pre>
+</div>
+</div>
+<div class="informative section" id="iris">
+<h3>
+<span class="secno">
+<del class="diff-old">3.1.3
+</del>
+<ins class="diff-chg">5.2
+</ins>
+</span>
+<del class="diff-old">From
JSON
to
JSON-LD
If
a
set
-</del>
-<ins class="diff-chg">absence
-</ins>
-of
-<del class="diff-old">term
+of
+term
s
such
as,
@@ -7157,23 +7191,18 @@
are
defined
in
-</del>
-a
-<del class="diff-old">context
-,
-and
-that
-context
-is
-used
-</del>
-<ins class="diff-chg">connection
-</ins>
-to
-<del class="diff-old">resolve
-</del>
-the
-<del class="diff-old">names
+a
+context
+,
+and
+that
+context
+is
+used
+to
+resolve
+the
+names
in
JSON
objects
@@ -7193,35 +7222,15 @@
unambiguous,
like
this:
-</del>
-<ins class="diff-chg">Web.
-</ins>
-</p>
-<del class="diff-old">{
+{
"": "Manu Sporny",
"": "http://manu.sporny.org"
"": "http://twitter.com/account/profile_image/manusporny"
-</del>
- <div class="example"><div class="example-title"><span>Example 5</span>: In-line context definition</div><pre class="example">{
- <span class="diff">"@context":
-<ins class="diff-chg"> {
- "name": "http://schema.org/name",
- "image": {
- "@id": "http://schema.org/image",
- "@type": "@id"
- },
- "homepage": {
- "@id": "http://schema.org/url",
- "@type": "@id"
- }
- },</span>
- "name": "Manu Sporny",
- "homepage": "http://manu.sporny.org/",
- "image": "http://manu.sporny.org/images/manu.png"
-</ins>
-}
-</pre>
-</div>
+}
+</del>
+<ins class="diff-chg">IRIs
+</ins></h3>
+<p>
<del class="diff-old">Doing
this
allows
@@ -7239,19 +7248,8 @@
their
workflow.
</del>
-</section>
-<section class="informative" id="iris">
-<h3>
<del class="diff-old">Note
-</del>
-<span class="secno">
-<ins class="diff-chg">5.2
-</ins>
-</span>
-<ins class="diff-new">IRIs
-</ins></h3>
-<p>
-<del class="diff-old">The
+The
example
above
does
@@ -8259,11 +8257,11 @@
</ins>
</p>
<p>
-<ins class="diff-chg">In
+<ins class="diff-new">In
summary,
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><ins class="diff-chg">
-IRIs
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><ins class="diff-new">
+IRIs
+</ins></a><ins class="diff-new">
can
be
expressed
@@ -8275,73 +8273,73 @@
ways
in
JSON-LD:
-</ins></p><ol><li><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
-JSON
-object
-</ins></a><ins class="diff-chg">
+</ins></p><ol><li><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
+JSON
+object
+</ins></a><ins class="diff-new">
keys
that
have
a
-</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">
mapping
in
the
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><ins class="diff-new">
active
context
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
expand
to
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">
+</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">
(only
applies
outside
of
the
-</ins><a class="tref internalDFN" title="context-definition" href="#dfn-context-definition"><ins class="diff-chg">
-context
-definition
-</ins></a><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="context-definition" href="#dfn-context-definition"><ins class="diff-new">
+context
+definition
+</ins></a><ins class="diff-new">
).
-</ins></li><li><ins class="diff-chg">
+</ins></li><li><ins class="diff-new">
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">
+</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">
is
generated
for
the
-</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">
value
specified
using
-</ins><code><ins class="diff-chg">
-@id
-</ins></code><ins class="diff-chg">
-or
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
+@id
+</ins></code><ins class="diff-new">
+or
+</ins><code><ins class="diff-new">
@type
-</ins></code>.</li><li><ins class="diff-chg">
+</ins></code>.</li><li><ins class="diff-new">
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">
+</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">
is
generated
for
the
-</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">
value
of
any
@@ -8350,16 +8348,16 @@
which
there
are
-</ins><a class="tref internalDFN" title="coercion" href="#dfn-coercion"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="coercion" href="#dfn-coercion"><ins class="diff-new">
coercion
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
rules
that
contain
a
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
@type
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
key
that
is
@@ -8368,13 +8366,15 @@
a
value
of
-</ins><code><ins class="diff-chg">
-@id
-</ins></code><ins class="diff-chg">
-or
-</ins><code><ins class="diff-chg">
+</ins><code><ins class="diff-new">
+@id
+</ins></code><ins class="diff-new">
+or
+</ins><code><ins class="diff-new">
@vocab
-</ins></code>.</li></ol></section><section class="informative" id="node-identifiers">
+</ins></code>.</li></ol>
+</div>
+<div class="informative section" id="node-identifiers">
<h3>
<span class="secno">
<del class="diff-old">3.3
@@ -8535,12 +8535,12 @@
it
is
necessary
-to
-be
+</del>
+to
+<del class="diff-old">be
able
-</del>
-to
-<del class="diff-old">uniquely
+to
+uniquely
identify
each
</del>
@@ -8815,8 +8815,8 @@
<ins class="diff-chg">http://me.markus-lanthaler.com/
</ins></code>.
</p>
-</section>
-<section class="informative" id="specifying-the-type">
+</div>
+<div class="informative section" id="specifying-the-type">
<h3>
<span class="secno">
<del class="diff-old">3.4
@@ -9042,9 +9042,9 @@
}
</pre>
</div>
-</section>
-</section>
-<section class="normative" id="advanced-concepts">
+</div>
+</div>
+<div class="normative section" id="advanced-concepts">
<h2>
<span class="secno">
<ins class="diff-new">6.
@@ -9097,7 +9097,7 @@
in
more
detail.
-</ins></p><section class="informative" id="base-iri"><h3><span class="secno"><ins class="diff-chg">
+</ins></p><div class="informative section" id="base-iri"><h3><span class="secno"><ins class="diff-chg">
6.1
</ins></span><ins class="diff-chg">
Base
@@ -9694,8 +9694,8 @@
}
</ins></pre>
</div>
-</section>
-<section class="informative" id="default-vocabulary">
+</div>
+<div class="informative section" id="default-vocabulary">
<h3>
<span class="secno">
<del class="diff-old">4.
@@ -10006,7 +10006,7 @@
"name": "Brew Eats",
</ins> <span class="diff">"databaseId"</span>: "23987520"<ins class="diff-chg">
}
-</ins></pre></div></section><section class="informative" id="compact-iris"><h3><span class="secno"><ins class="diff-chg">
+</ins></pre></div></div><div class="informative section" id="compact-iris"><h3><span class="secno"><ins class="diff-chg">
6.3
</ins></span><ins class="diff-chg">
Compact
@@ -10622,8 +10622,8 @@
}
</pre>
</div>
-</section>
-<section class="informative" id="typed-values">
+</div>
+<div class="informative section" id="typed-values">
<h3>
<span class="secno">
<del class="diff-old">4.2
@@ -11227,31 +11227,33 @@
<thead>
<tr>
<th>
-<ins class="diff-chg">Subject
-</ins></th><th><ins class="diff-chg">
+<ins class="diff-new">Subject
+</ins></th><th><ins class="diff-new">
Property
-</ins></th><th><ins class="diff-chg">
+</ins></th><th><ins class="diff-new">
Value
-</ins></th><th><ins class="diff-chg">
+</ins></th><th><ins class="diff-new">
Value
Type
-</ins></th></tr></thead><tbody><tr><td><ins class="diff-chg">
+</ins></th></tr></thead><tbody><tr><td><ins class="diff-new">
http://example.org/posts#TripToWestVirginia
-</ins></td><td><ins class="diff-chg">
+</ins></td><td><ins class="diff-new">
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
-</ins></td><td><ins class="diff-chg">
+</ins></td><td><ins class="diff-new">
http://schema.org/BlogPosting
-</ins></td><td style="text-align:center;"><ins class="diff-chg">
+</ins></td><td style="text-align:center;"><ins class="diff-new">
-
-</ins></td></tr><tr><td><ins class="diff-chg">
+</ins></td></tr><tr><td><ins class="diff-new">
http://example.org/posts#TripToWestVirginia
-</ins></td><td><ins class="diff-chg">
+</ins></td><td><ins class="diff-new">
http://purl.org/dc/terms/modified
-</ins></td><td><ins class="diff-chg">
+</ins></td><td><ins class="diff-new">
2010-05-29T14:17:39+02:00
-</ins></td><td><ins class="diff-chg">
+</ins></td><td><ins class="diff-new">
http://www.w3.org/2001/XMLSchema#dateTime
-</ins></td></tr></tbody></table></section><section class="informative" id="type-coercion">
+</ins></td></tr></tbody></table>
+</div>
+<div class="informative section" id="type-coercion">
<h3>
<span class="secno">
<del class="diff-old">4.3
@@ -12228,24 +12230,24 @@
document.
</p>
</div>
-</section>
-<section class="informative" id="embedding">
+</div>
+<div class="informative section" id="embedding">
<h3>
<span class="secno">
<ins class="diff-new">6.6
</ins></span><ins class="diff-new">
Embedding
-</ins></h3><p><em><ins class="diff-new">
-This
+</ins></h3>
+<p>
+<del class="diff-old">An
+</del>
+<em>
+<ins class="diff-chg">This
section
is
non-normative.
-</ins></em></p>
-<p>
-<del class="diff-old">An
-</del>
-<dfn title="embedding" id="dfn-embedding">
-<ins class="diff-chg">Embedding
+</ins></em></p><p><dfn title="embedding" id="dfn-embedding"><ins class="diff-chg">
+Embedding
</ins></dfn><ins class="diff-chg">
is
a
@@ -12332,7 +12334,7 @@
a
JSON-LD
document.
-</ins></p></section><section class="informative" id="advanced-context-usage"><h3><span class="secno"><ins class="diff-new">
+</ins></p></div><div class="informative section" id="advanced-context-usage"><h3><span class="secno"><ins class="diff-new">
6.7
</ins></span><ins class="diff-new">
Advanced
@@ -12363,8 +12365,9 @@
Context
</ins></span></a><ins class="diff-chg">
introduced
-the
-basics
+</ins>
+the
+<ins class="diff-new">basics
of
what
makes
@@ -12378,10 +12381,9 @@
basic
principles
of
-</ins>
-the
-<a class="tref internalDFN" title="context" href="#dfn-context">
-<ins class="diff-new">context
+the
+</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-new">
+context
</ins></a><ins class="diff-new">
and
demonstrates
@@ -12994,8 +12996,8 @@
</ins>
</p>
</div>
-</section>
-<section class="normative" id="interpreting-json-as-json-ld">
+</div>
+<div class="normative section" id="interpreting-json-as-json-ld">
<h3>
<span class="secno">
<del class="diff-old">4.4
@@ -13372,8 +13374,8 @@
documents.
</ins>
</p>
-</section>
-<section class="informative" id="string-internationalization">
+</div>
+<div class="informative section" id="string-internationalization">
<h3>
<span class="secno">
<del class="diff-old">4.5
@@ -14022,7 +14024,9 @@
expanded
term
definition
-using
+</del>
+</a>
+<del class="diff-old">using
the
@type
key.
@@ -14053,9 +14057,7 @@
or
the
keyword
-</del>
-</a>
-<del class="diff-old">@id
+@id
.
Specifying
@id
@@ -14460,11 +14462,11 @@
could
specify
that
-</del>
-<code>
-<del class="diff-old">dog
-and
-cat
+dog
+and
+</del>
+<code>
+<del class="diff-old">cat
</del>
<ins class="diff-chg">property.language
</ins>
@@ -14621,8 +14623,11 @@
<del class="diff-old">would
lead
to
-a
-great
+</del>
+<ins class="diff-chg">using
+</ins>
+a
+<del class="diff-old">great
deal
of
confusion
@@ -14634,37 +14639,10 @@
the
JSON-LD
document.
-Type
-coercion
-is
-performed
-</del>
-using
-<del class="diff-old">the
-unexpanded
-</del>
-<ins class="diff-chg">a
-</ins><a class="tref internalDFN" title="value-object" href="#dfn-value-object">
-value
-<del class="diff-old">of
-the
-key,
-which
-must
-have
-an
-exact
-match
-for
-an
-entry
-in
-the
-active
-context
-.
-</del>
-<ins class="diff-chg">object
+</del>
+<a class="tref internalDFN" title="value-object" href="#dfn-value-object">
+<ins class="diff-chg">value
+object
</ins></a>:
</p>
<div class="example"><div class="example-title"><span>Example 36</span>: Removing language information using an expanded value</div><pre class="example">{
@@ -14683,8 +14661,34 @@
}
</ins></pre>
</div>
-</section>
-<section class="informative" id="iri-expansion-within-a-context">
+<del class="diff-old">Type
+coercion
+is
+performed
+using
+the
+unexpanded
+value
+of
+the
+key,
+which
+must
+have
+an
+exact
+match
+for
+an
+entry
+in
+the
+active
+context
+.
+</del>
+</div>
+<div class="informative section" id="iri-expansion-within-a-context">
<h3>
<span class="secno">
<del class="diff-old">4.7
@@ -15340,8 +15344,8 @@
}
</pre>
</div>
-</section>
-<section class="informative" id="sets-and-lists">
+</div>
+<div class="informative section" id="sets-and-lists">
<h3>
<span class="secno">
<del class="diff-old">4.8
@@ -15971,8 +15975,8 @@
single
value.
</p>
-</section>
-<section class="informative" id="reverse-properties">
+</div>
+<div class="informative section" id="reverse-properties">
<h3>
<del class="diff-old">Note
</del>
@@ -15982,8 +15986,7 @@
</span>
<ins class="diff-new">Reverse
Properties
-</ins></h3>
-<p>
+</ins></h3><p>
<em>
<ins class="diff-new">This
section
@@ -16209,20 +16212,22 @@
</del>
<ins class="diff-chg">but
just
-a
-</ins><em><ins class="diff-chg">
-parent
-</ins></em><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-chg">
+</ins>
+a
+<em>
+<ins class="diff-new">parent
+</ins></em><a class="tref internalDFN" title="property" href="#dfn-property">
property
-</ins></a>,<ins class="diff-chg">
-every
+<del class="diff-old">from
+</del>
+</a>,
+<ins class="diff-chg">every
</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-chg">
node
</ins></a><ins class="diff-chg">
representing
-</ins>
-a
-<ins class="diff-new">child
+a
+child
would
have
to
@@ -16230,12 +16235,10 @@
expressed
with
a
-</ins><a class="tref internalDFN" title="property" href="#dfn-property">
+</ins><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-chg">
property
-<del class="diff-old">from
-</del>
-</a>
-<ins class="diff-chg">pointing
+</ins></a><ins class="diff-chg">
+pointing
to
</ins>
the
@@ -16451,8 +16454,8 @@
}
</pre>
</div>
-</section>
-<section class="informative" id="named-graphs">
+</div>
+<div class="informative section" id="named-graphs">
<h3>
<span class="secno">
<ins class="diff-new">6.13
@@ -17070,10 +17073,8 @@
a
shared
context.
-</ins>
-</p>
- <div class="example"><div class="example-title"><span>Example 50</span>: Using @graph to explicitly express the default graph</div><pre class="example">{
-<ins class="diff-new"> "@context": ...,
+</ins></p> <div class="example"><div class="example-title"><span>Example 50</span>: Using @graph to explicitly express the default graph</div><pre class="example">{<ins class="diff-chg">
+ "@context": ...,
"<span class="diff">@graph</span>":
[
{
@@ -17090,10 +17091,8 @@
}
]
}
-</ins></pre>
-</div>
-<p>
-<ins class="diff-new">In
+</ins></pre></div><p><ins class="diff-chg">
+In
this
case,
embedding
@@ -17101,10 +17100,10 @@
work
as
each
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
-node
-object
-</ins></a><ins class="diff-new">
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
+node
+object
+</ins></a><ins class="diff-chg">
references
the
other.
@@ -17114,25 +17113,27 @@
to
using
multiple
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
objects
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
in
array
and
defining
the
-</ins><code><ins class="diff-new">
+</ins><code><ins class="diff-chg">
@context
-</ins></code><ins class="diff-new">
+</ins></code><ins class="diff-chg">
within
each
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
-node
-object
-</ins></a>:</p> <div class="example"><div class="example-title"><span>Example 51</span>: Context needs to be duplicated if @graph is not used</div><pre class="example">[<ins class="diff-new">
- {
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
+node
+object
+</ins></a>:
+</p>
+ <div class="example"><div class="example-title"><span>Example 51</span>: Context needs to be duplicated if @graph is not used</div><pre class="example">[
+<ins class="diff-new"> {
</ins> <span class="diff">"@context": ...,</span><ins class="diff-new">
"@id": "http://manu.sporny.org/i/public",
"@type": "foaf:Person",
@@ -17149,8 +17150,8 @@
]
</ins></pre>
</div>
-</section>
-<section class="informative" id="identifying-blank-nodes">
+</div>
+<div class="informative section" id="identifying-blank-nodes">
<h3>
<span class="secno">
<del class="diff-old">4.11
@@ -17560,8 +17561,8 @@
other
documents.
</p>
-</section>
-<section class="informative" id="aliasing-keywords">
+</div>
+<div class="informative section" id="aliasing-keywords">
<h3>
<span class="secno">
<del class="diff-old">4.12
@@ -17702,17 +17703,23 @@
to
other
keywords.
-</ins></p></section><section class="informative" id="data-indexing"><h3><span class="secno"><ins class="diff-new">
-6.16
-</ins></span><ins class="diff-new">
+</ins></p>
+</div>
+<div class="informative section" id="data-indexing">
+<h3>
+<span class="secno">
+<del class="diff-old">4.13
+</del>
+<ins class="diff-chg">6.16
+</ins></span><ins class="diff-chg">
Data
Indexing
-</ins></h3><p><em><ins class="diff-new">
+</ins></h3><p><em><ins class="diff-chg">
This
section
is
non-normative.
-</ins></em></p><p><ins class="diff-new">
+</ins></em></p><p><ins class="diff-chg">
Databases
are
typically
@@ -17760,16 +17767,16 @@
for
an
application.
-</ins></p><p><ins class="diff-new">
+</ins></p><p><ins class="diff-chg">
JSON-LD
introduces
the
notion
of
-</ins><a class="tref internalDFN" title="index-map" href="#dfn-index-map"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="index-map" href="#dfn-index-map"><ins class="diff-chg">
index
maps
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
that
can
be
@@ -17808,9 +17815,9 @@
not
map
to
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><ins class="diff-new">
-IRIs
-</ins></a>.<ins class="diff-new">
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><ins class="diff-chg">
+IRIs
+</ins></a>.<ins class="diff-chg">
This
enables
direct
@@ -17840,21 +17847,21 @@
by
associating
the
-</ins><code><ins class="diff-new">
+</ins><code><ins class="diff-chg">
@index
-</ins></code><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-new">
-keyword
-</ins></a><ins class="diff-new">
-with
-a
-</ins><code><ins class="diff-new">
+</ins></code><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
+keyword
+</ins></a><ins class="diff-chg">
+with
+a
+</ins><code><ins class="diff-chg">
@container
-</ins></code><ins class="diff-new">
+</ins></code><ins class="diff-chg">
declaration
in
the
context:
-</ins></p> <div class="example"><div class="example-title"><span>Example 54</span>: Indexing data in JSON-LD</div><pre class="example">{<ins class="diff-new">
+</ins></p> <div class="example"><div class="example-title"><span>Example 54</span>: Indexing data in JSON-LD</div><pre class="example">{<ins class="diff-chg">
"@context":
{
"schema": "http://schema.org/",
@@ -17863,13 +17870,13 @@
"words": "schema:wordCount",
"post": {
"@id": "schema:blogPost",
-</ins> <span class="diff">"@container": "@index"</span><ins class="diff-new">
+</ins> <span class="diff">"@container": "@index"</span><ins class="diff-chg">
}
},
"@id": "http://example.com/",
"@type": "schema:Blog",
"name": "World Financial News",
-</ins> <span class="diff">"post": {<ins class="diff-new">
+</ins> <span class="diff">"post": {<ins class="diff-chg">
"en": {
"@id": "http://example.com/posts/1/en",
"body": "World commodities were up today with heavy trading of crude oil...",
@@ -17882,10 +17889,8 @@
}</span>
}
}
-</ins></pre>
-</div>
-<p>
-<ins class="diff-chg">In
+</ins></pre></div><p><ins class="diff-chg">
+In
the
example
above,
@@ -18083,12 +18088,8 @@
http://schema.org/wordCount
</ins></td><td><ins class="diff-chg">
1204
-</ins></td></tr></tbody></table></section><section class="informative" id="expanded-document-form">
-<h3>
-<span class="secno">
-<del class="diff-old">4.13
-</del>
-<ins class="diff-chg">6.17
+</ins></td></tr></tbody></table></div><div class="informative section" id="expanded-document-form"><h3><span class="secno"><ins class="diff-chg">
+6.17
</ins>
</span>
Expanded
@@ -18281,8 +18282,8 @@
form
.
</del>
-</section>
-<section class="informative" id="compact-document-form">
+</div>
+<div class="informative section" id="compact-document-form">
<h3>
<span class="secno">
<del class="diff-old">4.14
@@ -18556,8 +18557,8 @@
}
</pre>
</div>
-</section>
-<section class="informative" id="flattened-document-form">
+</div>
+<div class="informative section" id="flattened-document-form">
<h3>
<span class="secno">
<ins class="diff-new">6.19
@@ -18668,13 +18669,12 @@
For
example,
assume
-</ins>
-the
-<ins class="diff-new">following
+the
+following
JSON-LD
input
document:
-</ins></p> <div class="example"><div class="example-title"><span>Example 60</span>: Sample JSON-LD document</div><pre class="example">{<ins class="diff-new">
+</ins></p> <div class="example"><div class="example-title"><span>Example 60</span>: Sample JSON-LD document</div><pre class="example">{<ins class="diff-chg">
"@context": {
"name": "http://xmlns.com/foaf/0.1/name",
"knows": "http://xmlns.com/foaf/0.1/knows"
@@ -18691,15 +18691,16 @@
}
]
}
-</ins></pre></div><p><ins class="diff-new">
+</ins></pre></div><p><ins class="diff-chg">
Running
the
JSON-LD
Flattening
algorithm
against
-the
-JSON-LD
+</ins>
+the
+<ins class="diff-new">JSON-LD
input
</ins>
document
@@ -18777,7 +18778,7 @@
}
]
}
-</ins></pre></div></section><section class="informative" id="embedding-json-ld-in-html-documents"><h3><span class="secno"><ins class="diff-chg">
+</ins></pre></div></div><div class="informative section" id="embedding-json-ld-in-html-documents"><h3><span class="secno"><ins class="diff-chg">
6.20
</ins></span><ins class="diff-chg">
Embedding
@@ -18919,10 +18920,8 @@
converted
to
RDF.
-</ins>
-</p>
-<p>
-<ins class="diff-chg">If
+</ins></p><p><ins class="diff-chg">
+If
JSON-LD
content
is
@@ -18946,7 +18945,7 @@
</ins></a><ins class="diff-chg">
using
the
-</ins><cite><a href="../json-ld-api/#convert-to-rdf-algorithm"><ins class="diff-chg">
+</ins><cite><a href="http://www.w3.org/TR/2013/WD-json-ld-api-20130411/#convert-to-rdf-algorithm"><ins class="diff-chg">
Convert
to
RDF
@@ -18957,7 +18956,11 @@
JSON-LD-API
</ins></a></cite><ins class="diff-chg">
].
-</ins></p></section></section><section class="appendix normative" id="data-model">
+</ins>
+</p>
+</div>
+</div>
+<div class="appendix normative section" id="data-model">
<h2>
<span class="secno">
A.
@@ -19203,37 +19206,45 @@
an
<del class="diff-old">invalid
JSON
+document
+can
+never
</del>
<a class="tref internalDFN" title="edge" href="#dfn-edge">
<ins class="diff-chg">edge
</ins></a><em class="rfc2119" title="SHOULD"><ins class="diff-chg">
SHOULD
-</ins></em><ins class="diff-chg">
-be
-labeled
-with
-an
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr></a>.</li><li><ins class="diff-chg">
+</ins></em>
+be
+<ins class="diff-new">labeled
+with
+an
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+IRI
+</ins></abbr></a>.</li><li><ins class="diff-new">
Every
-</ins><dfn title="node" id="dfn-node"><ins class="diff-chg">
-node
-</ins></dfn><ins class="diff-chg">
-is
-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">
-a
-</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-chg">
-blank
-node
-</ins></a>,<ins class="diff-chg">
-a
-</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value"><ins class="diff-chg">
-JSON-LD
-value
+</ins><dfn title="node" id="dfn-node"><ins class="diff-new">
+node
+</ins></dfn><ins class="diff-new">
+is
+an
+</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-new">
+IRI
+</ins></abbr></a>,
+a
+<del class="diff-old">valid
+</del>
+<a class="tref internalDFN" title="blank-node" href="#dfn-blank-node">
+<ins class="diff-chg">blank
+node
+</ins></a>,<ins class="diff-chg">
+a
+</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value">
+JSON-LD
+<del class="diff-old">document.
+Furthermore,
+</del>
+<ins class="diff-chg">value
</ins></a>,<ins class="diff-chg">
or
a
@@ -19263,9 +19274,11 @@
node
</ins></a>.</li><li><ins class="diff-chg">
A
-</ins><a class="tref internalDFN" title="json-ld-graph" href="#dfn-json-ld-graph"><ins class="diff-chg">
-JSON-LD
-graph
+</ins><a class="tref internalDFN" title="json-ld-graph" href="#dfn-json-ld-graph">
+JSON-LD
+<del class="diff-old">places
+</del>
+<ins class="diff-chg">graph
</ins></a><em class="rfc2119" title="MUST NOT"><ins class="diff-chg">
MUST
NOT
@@ -19300,16 +19313,30 @@
Resource
Identifier)
is
-a
-string
+</ins>
+a
+<del class="diff-old">number
+of
+restrictions
+on
+</del>
+<ins class="diff-chg">string
that
conforms
to
-the
+</ins>
+the
+<del class="diff-old">JSON
+</del>
syntax
-defined
-in
-[
+<ins class="diff-new">defined
+</ins>
+in
+<del class="diff-old">order
+to
+define
+</del>
+<ins class="diff-chg">[
</ins><cite><a class="bibref" href="#bib-RFC3987"><ins class="diff-chg">
RFC3987
</ins></a></cite><ins class="diff-chg">
@@ -19319,9 +19346,15 @@
</ins></a><ins class="diff-chg">
used
within
-a
-</ins><a class="tref internalDFN" title="json-ld-graph" href="#dfn-json-ld-graph"><ins class="diff-chg">
-JSON-LD
+</ins>
+a
+<del class="diff-old">set
+of
+authoring
+guidelines
+</del>
+<a class="tref internalDFN" title="json-ld-graph" href="#dfn-json-ld-graph">
+<ins class="diff-chg">JSON-LD
graph
</ins></a><em class="rfc2119" title="SHOULD"><ins class="diff-chg">
SHOULD
@@ -19331,56 +19364,57 @@
</ins><a class="tref internalDFN" title="linked-data" href="#dfn-linked-data"><ins class="diff-chg">
Linked
Data
-</ins></a>
-document
-<ins class="diff-new">describing
+</ins></a><ins class="diff-chg">
+document
+describing
the
resource
denoted
by
that
-</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><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">
when
being
dereferenced.
-</ins></li><li><ins class="diff-new">
-A
-</ins><dfn title="blank-node" id="dfn-blank-node"><ins class="diff-new">
+</ins></li><li><ins class="diff-chg">
+A
+</ins><dfn title="blank-node" id="dfn-blank-node"><ins class="diff-chg">
blank
node
-</ins></dfn><ins class="diff-new">
-is
-a
-</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-new">
-node
-</ins></a><ins class="diff-new">
+</ins></dfn><ins class="diff-chg">
+is
+a
+</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-chg">
+node
+</ins></a><ins class="diff-chg">
which
is
neither
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><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">
nor
a
-</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value"><ins class="diff-new">
-JSON-LD
-value
-</ins></a>,<ins class="diff-new">
+</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value"><ins class="diff-chg">
+JSON-LD
+value
+</ins></a>,<ins class="diff-chg">
nor
a
-</ins><a class="tref internalDFN" title="list" href="#dfn-list"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="list" href="#dfn-list"><ins class="diff-chg">
list
-</ins></a>.<ins class="diff-new">
+</ins></a>.<ins class="diff-chg">
A
blank
node
-</ins><em class="rfc2119" title="MAY"><ins class="diff-new">
+</ins><em class="rfc2119" title="MAY"><ins class="diff-chg">
MAY
-</ins></em><ins class="diff-new">
-be
+</ins>
+</em>
+<ins class="diff-new">be
identified
using
a
@@ -19398,36 +19432,59 @@
is
a
string
-that
-</ins>
-can
-<del class="diff-old">never
-</del>
-be
-<ins class="diff-new">used
-as
+</ins>
+that
+<del class="diff-old">are
+</del>
+<ins class="diff-chg">can
+be
+</ins>
+used
+<del class="diff-old">to
+express
+well-formed
+JSON-LD
+documents.
+At
+times,
+even
+if
+these
+guidelines
+are
+violated,
+</del>
+<ins class="diff-chg">as
an
identifier
for
</ins>
a
-<del class="diff-old">valid
+<del class="diff-old">JSON-LD
+processor
+will
+do
+its
+best
+to
+recover
+from
</del>
<a class="tref internalDFN" title="blank-node" href="#dfn-blank-node">
<ins class="diff-chg">blank
node
</ins></a><ins class="diff-chg">
within
-the
-scope
-of
-a
-</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document">
-JSON-LD
-<del class="diff-old">document.
-Furthermore,
-</del>
-<ins class="diff-chg">document
+</ins>
+the
+<del class="diff-old">mistake
+</del>
+<ins class="diff-chg">scope
+of
+a
+</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-chg">
+JSON-LD
+document
</ins></a>.<ins class="diff-chg">
Blank
node
@@ -19438,67 +19495,60 @@
_:
</ins></code>.</li><li><ins class="diff-chg">
A
-</ins><dfn title="json-ld-value" id="dfn-json-ld-value">
-JSON-LD
-<del class="diff-old">places
-</del>
-<ins class="diff-chg">value
+</ins><dfn title="json-ld-value" id="dfn-json-ld-value"><ins class="diff-chg">
+JSON-LD
+value
</ins></dfn><ins class="diff-chg">
is
a
</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-chg">
string
-</ins></a>,
-a
-<a class="tref internalDFN" title="number" href="#dfn-number">
+</ins></a>,<ins class="diff-chg">
+a
+</ins><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-chg">
number
-</a>,
-<a class="tref internalDFN" title="true" href="#dfn-true">
-<ins class="diff-new">true
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="false" href="#dfn-false"><ins class="diff-new">
+</ins></a>,<a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
+true
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="false" href="#dfn-false"><ins class="diff-chg">
false
-</ins></a>,<ins class="diff-new">
-a
-</ins><a class="tref internalDFN" title="typed-value" href="#dfn-typed-value"><ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
+a
+</ins><a class="tref internalDFN" title="typed-value" href="#dfn-typed-value"><ins class="diff-chg">
typed
value
-</ins></a>,<ins class="diff-new">
-or
-a
-</ins><a class="tref internalDFN" title="language-tagged-string" href="#dfn-language-tagged-string"><ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
+or
+a
+</ins><a class="tref internalDFN" title="language-tagged-string" href="#dfn-language-tagged-string"><ins class="diff-chg">
language-tagged
string
-</ins></a>.</li><li><ins class="diff-new">
-A
-</ins><dfn title="typed-value" id="dfn-typed-value"><ins class="diff-new">
+</ins></a>.</li><li><ins class="diff-chg">
+A
+</ins><dfn title="typed-value" id="dfn-typed-value"><ins class="diff-chg">
typed
value
-</ins></dfn><ins class="diff-new">
+</ins></dfn><ins class="diff-chg">
consists
-</ins>
-of
-<del class="diff-old">restrictions
-on
-the
-JSON
-syntax
-in
-order
-to
-define
-</del>
-a
-<del class="diff-old">set
-</del>
-<ins class="diff-chg">value,
+of
+a
+value,
which
is
a
string,
-and
-a
+</ins>
+and
+<del class="diff-old">will
+deterministically
+transform
+the
+author's
+markup
+into
+</del>
+<ins class="diff-chg">a
type,
which
is
@@ -19512,12 +19562,8 @@
string
</ins></dfn><ins class="diff-chg">
consists
-</ins>
-of
-<del class="diff-old">authoring
-guidelines
-</del>
-<ins class="diff-chg">a
+of
+a
string
and
a
@@ -19537,14 +19583,13 @@
tag
</ins><em class="rfc2119" title="MUST"><ins class="diff-chg">
MUST
-</ins>
-</em>
-<del class="diff-old">that
-are
-</del>
-<ins class="diff-chg">be
+</ins></em><ins class="diff-chg">
+be
+</ins>
well-formed
-according
+<del class="diff-old">JSON-LD.
+</del>
+<ins class="diff-chg">according
to
section
</ins><a href="http://tools.ietf.org/html/bcp47#section-2.2.9"><ins class="diff-chg">
@@ -19582,8 +19627,13 @@
</ins><a class="tref internalDFN" title="json-ld-value" href="#dfn-json-ld-value"><ins class="diff-chg">
JSON-LD
values
-</ins></a>.</li></ul><div class="issue atrisk"><div class="issue-title"><span><ins class="diff-chg">
-Feature
+</ins></a>.</li></ul><div class="issue atrisk">
+<div class="issue-title">
+<span>
+<del class="diff-old">Issue
+4
+</del>
+<ins class="diff-chg">Feature
at
Risk
3
@@ -19593,22 +19643,29 @@
nodes
to
be
-</ins>
-used
-<ins class="diff-new">as
+used
+as
graph
name
or
property
-</ins></div><div class="atrisk"><p class="atrisk-head"><ins class="diff-new">
-Note:
+</ins>
+</div>
+<del class="diff-old">The
+final
+details
+of
+</del>
+<div class="atrisk">
+<p class="atrisk-head">
+<ins class="diff-chg">Note:
This
feature
is
-</ins><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><ins class="diff-new">
+</ins><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><ins class="diff-chg">
"at
risk"
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
and
may
be
@@ -19622,17 +19679,22 @@
Please
send
feedback
-</ins>
-to
-<del class="diff-old">express
-well-formed
-</del>
-<a href="mailto:public-rdf-comments@w3.org">
-<ins class="diff-chg">public-rdf-comments@w3.org
+to
+</ins><a href="mailto:public-rdf-comments@w3.org"><ins class="diff-chg">
+public-rdf-comments@w3.org
</ins></a>.<ins class="diff-chg">
For
-the
-current
+</ins>
+the
+<del class="diff-old">guidelines
+are
+still
+being
+discussed
+(
+ISSUE-114
+</del>
+<ins class="diff-chg">current
status
see
</ins><a href="http://www.w3.org/2011/rdf-wg/wiki/JSON-LD_Features_at_Risk"><ins class="diff-chg">
@@ -19640,58 +19702,45 @@
"at
risk"
in
-</ins>
-JSON-LD
-<del class="diff-old">documents.
-At
-times,
-even
-if
-these
-guidelines
-are
-violated,
-</del>
-<ins class="diff-chg">1.0
-</ins></a></p><p><ins class="diff-chg">
-RDF
+JSON-LD
+1.0
+</ins>
+</a>
+<del class="diff-old">),
+</del>
+</p>
+<p>
+<ins class="diff-chg">RDF
does
not
currently
allow
-</ins>
-a
-<a class="tref internalDFN" title="blank-node" href="#dfn-blank-node">
-<ins class="diff-new">blank
-node
-</ins></a><ins class="diff-new">
-to
-be
-used
-as
-</ins><a class="tref internalDFN" title="graph-name" href="#dfn-graph-name"><ins class="diff-new">
-graph
+a
+</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-chg">
+blank
+node
+</ins></a><ins class="diff-chg">
+to
+be
+used
+</ins>
+as
+<del class="diff-old">well
+</del>
+<a class="tref internalDFN" title="graph-name" href="#dfn-graph-name">
+<ins class="diff-chg">graph
name
-</ins></a><ins class="diff-new">
-or
-</ins><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-new">
+</ins></a><ins class="diff-chg">
+or
+</ins><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-chg">
property
-</ins></a>,<ins class="diff-new">
+</ins></a>,<ins class="diff-chg">
while
JSON-LD
does.
-</ins>
-JSON-LD
-<del class="diff-old">processor
-will
-do
-its
-best
-</del>
-to
-<del class="diff-old">recover
-</del>
-<ins class="diff-chg">RDF
+JSON-LD
+to
+RDF
converters
can
work
@@ -19718,247 +19767,36 @@
new
"Skolem
IRIs"
-as
-per
-</ins><cite><a href="http://www.w3.org/TR/rdf11-concepts/#section-skolemization"><ins class="diff-chg">
+</ins>
+as
+<ins class="diff-new">per
+</ins><cite><a href="http://www.w3.org/TR/rdf11-concepts/#section-skolemization"><ins class="diff-new">
Replacing
Blank
Nodes
with
IRIs
-</ins></a></cite><ins class="diff-chg">
-of
-[
-</ins><cite><a class="bibref" href="#bib-RDF11-CONCEPTS"><ins class="diff-chg">
+</ins></a></cite><ins class="diff-new">
+of
+[
+</ins><cite><a class="bibref" href="#bib-RDF11-CONCEPTS"><ins class="diff-new">
RDF11-CONCEPTS
-</ins></a></cite><ins class="diff-chg">
+</ins></a></cite><ins class="diff-new">
].
Based
on
feedback
-</ins>
-from
-<ins class="diff-new">implementors
-</ins>
-the
-<del class="diff-old">mistake
+from
+implementors
+</ins>
+the
+<del class="diff-old">best
+mechanism
</del>
<ins class="diff-chg">Working
Group
may
decide
-to
-disallow
-blank
-nodes
-as
-graph
-names
-</ins>
-and
-<del class="diff-old">will
-deterministically
-transform
-the
-author's
-markup
-into
-well-formed
-</del>
-<ins class="diff-chg">properties
-in
-</ins>
-JSON-LD.
-<ins class="diff-new">If
-this
-change
-would
-affect
-you,
-be
-sure
-to
-send
-in
-a
-comment.
-</ins>
-</p>
-</div>
-</div>
-<p>
-<del class="diff-old">Issue
-4
-</del>
-<a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document">
-<ins class="diff-chg">JSON-LD
-documents
-</ins></a><em class="rfc2119" title="MAY"><ins class="diff-chg">
-MAY
-</ins></em><ins class="diff-chg">
-contain
-data
-that
-cannot
-be
-represented
-by
-the
-</ins><a class="tref internalDFN" title="json-ld-data-model" href="#dfn-json-ld-data-model"><ins class="diff-chg">
-data
-model
-</ins></a><ins class="diff-chg">
-defined
-above.
-Unless
-otherwise
-specified,
-such
-data
-is
-ignored
-when
-a
-</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-chg">
-JSON-LD
-document
-</ins></a><ins class="diff-chg">
-is
-being
-processed.
-This
-means,
-e.g.,
-that
-properties
-which
-are
-not
-mapped
-to
-an
-</ins><a class="tref internalDFN" title="iri" href="#dfn-iri">
-<abbr title="Internationalized Resource Identifier">
-<ins class="diff-chg">IRI
-</ins></abbr>
-<del class="diff-old">The
-final
-details
-</del>
-</a>
-<ins class="diff-chg">or
-</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-chg">
-blank
-node
-</ins></a><ins class="diff-chg">
-will
-be
-ignored.
-</ins></p><p style="text-align: center"><img src="linked-data-graph.png" title="An illustration of JSON-LD's data model" /></p><p style="text-align: center"><ins class="diff-chg">
-Figure
-1:
-An
-illustration
-</ins>
-of
-<ins class="diff-new">JSON-LD's
-data
-model.
-</ins></p></section><section class="appendix normative" id="json-ld-grammar"><h2><span class="secno"><ins class="diff-new">
-B.
-</ins></span><ins class="diff-new">
-JSON-LD
-Grammar
-</ins></h2><p><ins class="diff-new">
-This
-appendix
-restates
-</ins>
-the
-<del class="diff-old">guidelines
-are
-still
-being
-discussed
-(
-ISSUE-114
-</del>
-<ins class="diff-chg">syntactic
-conventions
-described
-in
-the
-previous
-sections
-more
-formally.
-</ins></p><p><ins class="diff-chg">
-A
-</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-chg">
-JSON-LD
-document
-</ins>
-</a>
-<del class="diff-old">),
-as
-well
-</del>
-<em class="rfc2119" title="MUST">
-<ins class="diff-chg">MUST
-</ins></em><ins class="diff-chg">
-be
-a
-valid
-JSON
-document
-</ins>
-as
-<ins class="diff-new">described
-in
-[
-</ins><cite><a class="bibref" href="#bib-RFC4627"><ins class="diff-new">
-RFC4627
-</ins></a></cite><ins class="diff-new">
-].
-</ins></p><p><ins class="diff-new">
-A
-</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-new">
-JSON-LD
-document
-</ins></a><em class="rfc2119" title="MUST"><ins class="diff-new">
-MUST
-</ins></em><ins class="diff-new">
-be
-a
-single
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
-node
-object
-</ins></a><ins class="diff-new">
-or
-an
-</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
-array
-</ins></a><ins class="diff-new">
-whose
-elements
-are
-each
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
-node
-objects
-</ins></a><ins class="diff-new">
-at
-</ins>
-the
-<del class="diff-old">best
-mechanism
-</del>
-<ins class="diff-chg">top
-level.
-</ins></p><p><ins class="diff-chg">
-In
-contrast
</ins>
to
<del class="diff-old">express
@@ -19974,7 +19812,213 @@
are
attempting
</del>
-<ins class="diff-chg">JSON,
+<ins class="diff-chg">disallow
+blank
+nodes
+as
+graph
+names
+and
+properties
+in
+JSON-LD.
+If
+this
+change
+would
+affect
+you,
+be
+sure
+</ins>
+to
+<del class="diff-old">do
+-
+which
+is
+strongly
+express
+what
+constitutes
+</del>
+<ins class="diff-chg">send
+in
+</ins>
+a
+<del class="diff-old">well-formed
+</del>
+<ins class="diff-chg">comment.
+</ins></p></div></div><p><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document">
+JSON-LD
+<del class="diff-old">document.
+For
+</del>
+<ins class="diff-chg">documents
+</ins></a><em class="rfc2119" title="MAY"><ins class="diff-chg">
+MAY
+</ins></em><ins class="diff-chg">
+contain
+data
+that
+cannot
+be
+represented
+by
+</ins>
+the
+<del class="diff-old">time
+being,
+</del>
+<a class="tref internalDFN" title="json-ld-data-model" href="#dfn-json-ld-data-model">
+<ins class="diff-chg">data
+model
+</ins></a><ins class="diff-chg">
+defined
+above.
+Unless
+otherwise
+specified,
+such
+data
+is
+ignored
+when
+</ins>
+a
+<del class="diff-old">simple
+list
+of
+plain
+English
+guidelines
+</del>
+<a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document">
+<ins class="diff-chg">JSON-LD
+document
+</ins></a><ins class="diff-chg">
+is
+being
+processed.
+This
+means,
+e.g.,
+that
+properties
+which
+</ins>
+are
+<del class="diff-old">provided.
+</del>
+<ins class="diff-chg">not
+mapped
+to
+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">
+or
+</ins><a class="tref internalDFN" title="blank-node" href="#dfn-blank-node"><ins class="diff-chg">
+blank
+node
+</ins></a><ins class="diff-chg">
+will
+be
+ignored.
+</ins>
+</p>
+<p style="text-align: center">
+<img src="linked-data-graph.png" title="An illustration of JSON-LD's data model" alt="An illustration of JSON-LD's data model" />
+</p>
+<p style="text-align: center">
+<ins class="diff-new">Figure
+1:
+An
+illustration
+of
+JSON-LD's
+data
+model.
+</ins></p>
+</div>
+<div class="appendix normative section" id="json-ld-grammar">
+<h2>
+<span class="secno">
+<ins class="diff-chg">B.
+</ins></span><ins class="diff-chg">
+JSON-LD
+Grammar
+</ins></h2><p><ins class="diff-chg">
+This
+appendix
+restates
+the
+syntactic
+conventions
+described
+in
+the
+previous
+sections
+more
+formally.
+</ins></p><p><ins class="diff-chg">
+A
+</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-chg">
+JSON-LD
+document
+</ins></a><em class="rfc2119" title="MUST"><ins class="diff-chg">
+MUST
+</ins></em><ins class="diff-chg">
+be
+a
+valid
+JSON
+document
+as
+described
+in
+[
+</ins><cite><a class="bibref" href="#bib-RFC4627"><ins class="diff-chg">
+RFC4627
+</ins></a></cite><ins class="diff-chg">
+].
+</ins></p><p><ins class="diff-chg">
+A
+</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-chg">
+JSON-LD
+document
+</ins></a><em class="rfc2119" title="MUST"><ins class="diff-chg">
+MUST
+</ins></em><ins class="diff-chg">
+be
+a
+single
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
+node
+object
+</ins></a><ins class="diff-chg">
+or
+an
+</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-chg">
+array
+</ins></a><ins class="diff-chg">
+whose
+elements
+are
+each
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
+node
+objects
+</ins></a><ins class="diff-chg">
+at
+the
+top
+level.
+</ins></p><p><ins class="diff-chg">
+In
+contrast
+to
+JSON,
in
JSON-LD
the
@@ -19987,25 +20031,31 @@
</ins></em><ins class="diff-chg">
be
unique.
-</ins></p><div class="note"><div class="note-title"><span><ins class="diff-chg">
-Note
-</ins></span></div><p class=""><ins class="diff-chg">
-JSON-LD
+</ins></p><div class="note"><div class="note-title">
+<span>
+<del class="diff-old">Issue
+5
+</del>
+<ins class="diff-chg">Note
+</ins>
+</span>
+</div>
+<p class="">
+<del class="diff-old">Per
+Andy
+S's
+comment
+,
+consider
+making
+</del>
+<ins class="diff-chg">JSON-LD
allows
</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
keywords
-</ins></a>
-to
-<del class="diff-old">do
--
-which
-is
-strongly
-express
-what
-constitutes
-</del>
-<ins class="diff-chg">be
+</ins></a><ins class="diff-chg">
+to
+be
aliased
(see
</ins><a class="sectionRef sec-ref" href="#aliasing-keywords"><ins class="diff-chg">
@@ -20017,20 +20067,16 @@
for
details).
Whenever
-</ins>
-a
-<del class="diff-old">well-formed
-JSON-LD
-document.
-</del>
-<a class="tref internalDFN" title="keyword" href="#dfn-keyword">
-<ins class="diff-chg">keyword
+a
+</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
+keyword
</ins></a><ins class="diff-chg">
is
discussed
in
-this
-grammar,
+</ins>
+this
+<ins class="diff-new">grammar,
the
statements
also
@@ -20040,35 +20086,31 @@
alias
for
that
-</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-chg">
-keyword
-</ins></a>.
+</ins><a class="tref internalDFN" title="keyword" href="#dfn-keyword"><ins class="diff-new">
+keyword
+</ins></a>.<ins class="diff-new">
For
-<ins class="diff-new">example,
+example,
if
-</ins>
-the
-<del class="diff-old">time
-being,
-</del>
-<a class="tref internalDFN" title="active-context" href="#dfn-active-context">
-<ins class="diff-chg">active
-context
-</ins></a><ins class="diff-chg">
+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">
defines
the
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><code><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><code><ins class="diff-new">
id
-</ins></code><ins class="diff-chg">
+</ins></code><ins class="diff-new">
as
an
alias
for
-</ins><code><ins class="diff-chg">
-@id
-</ins></code>,<ins class="diff-chg">
+</ins><code><ins class="diff-new">
+@id
+</ins></code>,<ins class="diff-new">
that
alias
may
@@ -20078,12 +20120,12 @@
as
</ins>
a
-<del class="diff-old">simple
-list
-of
-plain
-English
-guidelines
+<del class="diff-old">normative
+syntax
+definition
+along
+with
+EBNF.
</del>
<ins class="diff-chg">substitution
for
@@ -20096,11 +20138,8 @@
keyword
</ins></a><ins class="diff-chg">
aliases
-</ins>
-are
-<del class="diff-old">provided.
-</del>
-<ins class="diff-chg">not
+are
+not
expanded
during
context
@@ -20108,92 +20147,82 @@
</ins>
</p>
</div>
-<section class="normative" id="terms">
+<div class="normative section" id="terms">
<h3>
-<del class="diff-old">Issue
-5
-</del>
<span class="secno">
<ins class="diff-chg">B.1
-</ins>
-</span>
-<ins class="diff-new">Terms
-</ins></h3><p><ins class="diff-new">
-A
-</ins><dfn title="term" id="dfn-term"><ins class="diff-new">
-term
-</ins></dfn><ins class="diff-new">
-is
-a
-short-hand
-</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-new">
-string
-</ins></a><ins class="diff-new">
+</ins></span><ins class="diff-chg">
+Terms
+</ins></h3><p>
+A
+<del class="diff-old">JSON-LD
+document
+</del>
+<dfn title="term" id="dfn-term">
+<ins class="diff-chg">term
+</ins></dfn>
+is
+<del class="diff-old">composed
+of
+</del>
+a
+<del class="diff-old">single
+subject
+definition
+</del>
+<ins class="diff-chg">short-hand
+</ins><a class="tref internalDFN" title="string" href="#dfn-string"><ins class="diff-chg">
+string
+</ins></a><ins class="diff-chg">
that
expands
to
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="iri" href="#dfn-iri"><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
</ins></abbr>
-<del class="diff-old">Per
-Andy
-S's
-comment
-,
-consider
-making
-this
-</del>
-</a>
-<ins class="diff-chg">or
-</ins>
-a
-<del class="diff-old">normative
-syntax
-definition
-along
-</del>
-<a class="tref internalDFN" title="blank-node-identifier" href="#dfn-blank-node-identifier">
-<ins class="diff-chg">blank
+</a>
+or
+<ins class="diff-new">a
+</ins><a class="tref internalDFN" title="blank-node-identifier" href="#dfn-blank-node-identifier"><ins class="diff-new">
+blank
node
identifier
-</ins></a>.</p><p><ins class="diff-chg">
-A
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><em class="rfc2119" title="MUST NOT"><ins class="diff-chg">
+</ins></a>.</p><p><ins class="diff-new">
+A
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><em class="rfc2119" title="MUST NOT"><ins class="diff-new">
MUST
NOT
-</ins></em><ins class="diff-chg">
+</ins></em><ins class="diff-new">
equal
any
of
the
JSON-LD
-</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>.</p><p><ins class="diff-chg">
+</ins></a>.</p><p><ins class="diff-new">
To
avoid
forward-compatibility
issues,
a
-</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-chg">
-term
-</ins></a><em class="rfc2119" title="SHOULD NOT"><ins class="diff-chg">
+</ins><a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
+term
+</ins></a><em class="rfc2119" title="SHOULD NOT"><ins class="diff-new">
SHOULD
NOT
-</ins></em><ins class="diff-chg">
+</ins></em><ins class="diff-new">
start
-</ins>
-with
-<del class="diff-old">EBNF.
-</del>
-<ins class="diff-chg">an
-</ins><code><ins class="diff-chg">
-@
+with
+</ins>
+an
+<del class="diff-old">array
+</del>
+<code>
+<ins class="diff-chg">@
</ins></code><ins class="diff-chg">
character
as
@@ -20237,17 +20266,16 @@
empty
JSON
keys.
-</ins>
-</p>
-<p>
-<ins class="diff-new">See
-</ins><a class="sectionRef sec-ref" href="#the-context"><ins class="diff-new">
+</ins></p><p><ins class="diff-chg">
+See
+</ins><a class="sectionRef sec-ref" href="#the-context"><ins class="diff-chg">
section
5.1
The
Context
-</ins></a><ins class="diff-new">
-and
+</ins>
+</a>
+<ins class="diff-new">and
</ins><a class="sectionRef sec-ref" href="#iris"><ins class="diff-new">
section
5.2
@@ -20264,16 +20292,15 @@
to
</ins><a class="tref internalDFN" title="iri" href="#dfn-iri"><ins class="diff-new">
IRIs
-</ins></a>.</p></section><section class="normative" id="node-objects"><h3>
-<span class="secno">
-<ins class="diff-chg">B.2
-</ins></span><ins class="diff-chg">
+</ins></a>.</p></div><div class="normative section" id="node-objects"><h3><span class="secno"><ins class="diff-new">
+B.2
+</ins></span><ins class="diff-new">
Node
Objects
-</ins></h3><p>
-A
-<dfn title="node-object" id="dfn-node-object">
-<ins class="diff-new">node
+</ins></h3><p><ins class="diff-new">
+A
+</ins><dfn title="node-object" id="dfn-node-object"><ins class="diff-new">
+node
object
</ins></dfn><ins class="diff-new">
represents
@@ -20281,54 +20308,51 @@
or
more
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
-the
-</ins><a class="tref internalDFN" title="json-ld-graph" href="#dfn-json-ld-graph"><ins class="diff-new">
-JSON-LD
-graph
-</ins></a><ins class="diff-new">
+</ins>
+of
+<del class="diff-old">subject
+definitions
+</del>
+<ins class="diff-chg">a
+</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-chg">
+node
+</ins></a><ins class="diff-chg">
+in
+the
+</ins><a class="tref internalDFN" title="json-ld-graph" href="#dfn-json-ld-graph"><ins class="diff-chg">
+JSON-LD
+graph
+</ins></a><ins class="diff-chg">
serialized
by
the
-</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document">
-JSON-LD
-document
+</ins><a class="tref internalDFN" title="json-ld-document" href="#dfn-json-ld-document"><ins class="diff-chg">
+JSON-LD
+document
+</ins>
</a>.
<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>
-is
-<del class="diff-old">composed
-</del>
-<ins class="diff-chg">a
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
-node
-object
-</ins></a><ins class="diff-chg">
+</ins></a><ins class="diff-new">
+is
+a
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
+node
+object
+</ins></a><ins class="diff-new">
if
it
exists
outside
-</ins>
-of
-a
-<del class="diff-old">single
-subject
-definition
-</del>
-<ins class="diff-chg">JSON-LD
-</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-chg">
-context
-</ins>
-</a>
-<ins class="diff-new">and:
+of
+a
+JSON-LD
+</ins><a class="tref internalDFN" title="context" href="#dfn-context"><ins class="diff-new">
+context
+</ins></a><ins class="diff-new">
+and:
</ins></p><ul><li><ins class="diff-new">
it
does
@@ -20339,18 +20363,20 @@
@value
</ins></code>,<code><ins class="diff-new">
@list
-</ins></code>,
-or
-<del class="diff-old">an
-array
-</del>
-<code>
-<ins class="diff-chg">@set
-</ins></code><ins class="diff-chg">
+</ins></code>,<ins class="diff-new">
+or
+</ins><code><ins class="diff-new">
+@set
+</ins></code><ins class="diff-new">
keywords,
and
-</ins></li><li><ins class="diff-chg">
-it
+</ins>
+</li>
+<li>
+<del class="diff-old">The
+value
+</del>
+<ins class="diff-chg">it
is
not
the
@@ -20358,38 +20384,34 @@
</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-chg">
JSON
object
-</ins>
-</a>
-<ins class="diff-new">in
+</ins></a><ins class="diff-chg">
+in
the
JSON-LD
document
consisting
</ins>
of
-<del class="diff-old">subject
-definitions
-.
-</del>
-<ins class="diff-chg">no
+<ins class="diff-new">no
other
members
than
-</ins><code><ins class="diff-chg">
-@graph
-</ins></code><ins class="diff-chg">
-and
+</ins>
+<code>
+<del class="diff-old">@id
+</del>
+<ins class="diff-chg">@graph
+</ins>
+</code>
+<del class="diff-old">must
+</del>
+<ins class="diff-chg">and
</ins><code><ins class="diff-chg">
@context
-</ins></code>.
-</li>
-</ul>
-<p>
-The
-<del class="diff-old">value
-</del>
-<a class="tref internalDFN" title="property" href="#dfn-property">
-<ins class="diff-chg">properties
+</ins></code>.</li></ul><p><ins class="diff-chg">
+The
+</ins><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-chg">
+properties
</ins></a><ins class="diff-chg">
of
a
@@ -20419,14 +20441,13 @@
happens,
the
keys
-</ins>
-of
-<ins class="diff-new">the
+of
+the
different
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
objects
-</ins></a><ins class="diff-new">
+</ins></a><ins class="diff-chg">
need
to
be
@@ -20438,20 +20459,21 @@
of
the
resulting
-</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-new">
-node
-</ins></a>.</p><p><ins class="diff-new">
-A
-</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
-node
-object
-</ins></a><em class="rfc2119" title="MUST"><ins class="diff-new">
-MUST
-</ins></em><ins class="diff-new">
-be
-a
-</ins><a class="tref internalDFN" title="json-object" href="#dfn-json-object"><ins class="diff-new">
-JSON
+</ins><a class="tref internalDFN" title="node" href="#dfn-node"><ins class="diff-chg">
+node
+</ins></a>.</p><p><ins class="diff-chg">
+A
+</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
+node
+object
+</ins></a><em class="rfc2119" title="MUST"><ins class="diff-chg">
+MUST
+</ins>
+</em>
+be
+a
+<a class="tref internalDFN" title="json-object" href="#dfn-json-object">
+<ins class="diff-new">JSON
object
</ins></a>.<ins class="diff-new">
All
@@ -20464,56 +20486,49 @@
</ins></a>,<a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-new">
compact
IRIs
-</ins></a>,<a class="tref internalDFN" title="term" href="#dfn-term"><ins class="diff-new">
-terms
-</ins></a><ins class="diff-new">
+</ins></a>,
+<a class="tref internalDFN" title="term" href="#dfn-term">
+<del class="diff-old">term
+</del>
+<ins class="diff-chg">terms
+</ins></a><ins class="diff-chg">
valid
in
the
-</ins><a class="tref internalDFN" title="active-context" href="#dfn-active-context"><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-new">
+</ins></a>,<ins class="diff-chg">
or
one
of
the
following
-</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><em class="rfc2119" title="MUST"><ins class="diff-new">
-MUST
-</ins></em><ins class="diff-new">
+</ins></a><em class="rfc2119" title="MUST"><ins class="diff-chg">
+MUST
+</ins></em><ins class="diff-chg">
be
ignored
when
processed:
-</ins></p><ul><li><code><ins class="diff-new">
+</ins></p><ul><li><code><ins class="diff-chg">
@context
-</ins></code>,</li><li>
-<code>
-@id
-</code>,
-</li>
-<li>
-<code>
-<ins class="diff-new">@graph
-</ins></code>,</li><li><code><ins class="diff-new">
+</ins></code>,</li><li><code><ins class="diff-chg">
+@id
+</ins></code>,</li><li><code><ins class="diff-chg">
+@graph
+</ins></code>,</li><li><code><ins class="diff-chg">
@type
-</ins></code>,</li><li><code><ins class="diff-new">
+</ins></code>,</li><li><code><ins class="diff-chg">
@reverse
-</ins></code>,<ins class="diff-new">
-or
-</ins></li><li><code><ins class="diff-new">
+</ins></code>,<ins class="diff-chg">
+or
+</ins></li><li><code><ins class="diff-chg">
@index
-</ins>
-</code>
-<del class="diff-old">must
-</del>
-</li>
-</ul>
-<p>
-<ins class="diff-chg">If
+</ins></code></li></ul><p><ins class="diff-chg">
+If
the
</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
@@ -20529,14 +20544,10 @@
value
</ins><em class="rfc2119" title="MUST"><ins class="diff-chg">
MUST
-</ins>
-</em>
-be
-<del class="diff-old">a
-term
-</del>
-<a class="tref internalDFN" title="null" href="#dfn-null">
-<ins class="diff-chg">null
+</ins></em><ins class="diff-chg">
+be
+</ins><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
</ins></a>,<ins class="diff-chg">
an
</ins><a class="tref internalDFN" title="absolute-iri" href="#dfn-absolute-iri"><ins class="diff-chg">
@@ -20594,11 +20605,18 @@
absolute
</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
IRI
+</ins></abbr></a>,<ins class="diff-chg">
+a
+</ins><a class="tref internalDFN" title="relative-iri" href="#dfn-relative-iri"><ins class="diff-chg">
+relative
+</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
+IRI
</ins></abbr>
</a>,
-<ins class="diff-new">a
-</ins><a class="tref internalDFN" title="relative-iri" href="#dfn-relative-iri"><ins class="diff-new">
-relative
+<ins class="diff-new">or
+a
+</ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-new">
+compact
</ins>
<abbr title="Internationalized Resource Identifier">
IRI
@@ -20606,15 +20624,8 @@
<del class="diff-old">.
An
</del>
-</a>,
-<ins class="diff-chg">or
-a
-</ins><a class="tref internalDFN" title="compact-iri" href="#dfn-compact-iri"><ins class="diff-chg">
-compact
-</ins><abbr title="Internationalized Resource Identifier"><ins class="diff-chg">
-IRI
-</ins></abbr></a><ins class="diff-chg">
-(including
+</a>
+<ins class="diff-chg">(including
</ins><a class="tref internalDFN" title="blank-node-identifier" href="#dfn-blank-node-identifier"><ins class="diff-chg">
blank
node
@@ -21260,7 +21271,7 @@
</ins><a class="tref internalDFN" title="index-map" href="#dfn-index-map"><ins class="diff-chg">
index
map
-</ins></a></li></ul></section><section class="normative" id="value-objects"><h3><span class="secno"><ins class="diff-chg">
+</ins></a></li></ul></div><div class="normative section" id="value-objects"><h3><span class="secno"><ins class="diff-chg">
B.3
</ins></span><ins class="diff-chg">
Value
@@ -21567,7 +21578,7 @@
</ins><a class="tref internalDFN" title="value-object" href="#dfn-value-object">
value
<ins class="diff-new">objects
-</ins></a>.</p></section><section class="normative" id="lists-and-sets"><h3><span class="secno"><ins class="diff-new">
+</ins></a>.</p></div><div class="normative section" id="lists-and-sets"><h3><span class="secno"><ins class="diff-new">
B.4
</ins></span><ins class="diff-new">
Lists
@@ -21902,16 +21913,15 @@
</ins></a>,</li><li><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
object
-</ins></a>,
+</ins></a>,</li><li><a class="tref internalDFN" title="value-object" href="#dfn-value-object"><ins class="diff-chg">
+value
+object
+</ins></a>,<ins class="diff-chg">
+or
+</ins>
</li>
<li>
-<a class="tref internalDFN" title="value-object" href="#dfn-value-object">
-<ins class="diff-new">value
-object
-</ins></a>,<ins class="diff-new">
-or
-</ins></li><li><ins class="diff-new">
-an
+<ins class="diff-new">an
</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
array
</ins></a><ins class="diff-new">
@@ -21939,7 +21949,7 @@
sets
and
lists.
-</ins></p></section><section class="normative" id="language-maps"><h3><span class="secno"><ins class="diff-new">
+</ins></p></div><div class="normative section" id="language-maps"><h3><span class="secno"><ins class="diff-new">
B.5
</ins></span><ins class="diff-new">
Language
@@ -22109,7 +22119,7 @@
on
language
maps.
-</ins></p></section><section class="normative" id="index-maps"><h3><span class="secno"><ins class="diff-chg">
+</ins></p></div><div class="normative section" id="index-maps"><h3><span class="secno"><ins class="diff-chg">
B.6
</ins></span><ins class="diff-chg">
Index
@@ -22210,29 +22220,28 @@
string
</ins></a>,</li><li><a class="tref internalDFN" title="number" href="#dfn-number"><ins class="diff-chg">
number
+</ins></a>,</li><li><a class="tref internalDFN" title="true" href="#dfn-true"><ins class="diff-chg">
+true
+</ins></a>,</li><li><a class="tref internalDFN" title="false" href="#dfn-false"><ins class="diff-chg">
+false
+</ins></a>,</li><li><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-chg">
+null
+</ins></a>,</li><li><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
+node
+object
+</ins></a>,</li><li><a class="tref internalDFN" title="value-object" href="#dfn-value-object"><ins class="diff-chg">
+value
+object
+</ins></a>,</li><li><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-chg">
+list
+object
+</ins></a>,</li><li><a class="tref internalDFN" title="set-object" href="#dfn-set-object"><ins class="diff-chg">
+set
+object
</ins></a>,
</li>
<li>
-<a class="tref internalDFN" title="true" href="#dfn-true">
-<ins class="diff-new">true
-</ins></a>,</li><li><a class="tref internalDFN" title="false" href="#dfn-false"><ins class="diff-new">
-false
-</ins></a>,</li><li><a class="tref internalDFN" title="null" href="#dfn-null"><ins class="diff-new">
-null
-</ins></a>,</li><li><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-new">
-node
-object
-</ins></a>,</li><li><a class="tref internalDFN" title="value-object" href="#dfn-value-object"><ins class="diff-new">
-value
-object
-</ins></a>,</li><li><a class="tref internalDFN" title="list-object" href="#dfn-list-object"><ins class="diff-new">
-list
-object
-</ins></a>,</li><li><a class="tref internalDFN" title="set-object" href="#dfn-set-object"><ins class="diff-new">
-set
-object
-</ins></a>,</li><li><ins class="diff-new">
-an
+<ins class="diff-new">an
</ins><a class="tref internalDFN" title="array" href="#dfn-array"><ins class="diff-new">
array
</ins></a><ins class="diff-new">
@@ -22258,7 +22267,7 @@
on
this
topic.
-</ins></p></section><section class="normative" id="context-definitions"><h3><span class="secno"><ins class="diff-new">
+</ins></p></div><div class="normative section" id="context-definitions"><h3><span class="secno"><ins class="diff-new">
B.7
</ins></span><ins class="diff-new">
Context
@@ -23101,11 +23110,11 @@
@list
</ins></code>,<code><ins class="diff-new">
@set
+</ins></code>,
+<code>
+<ins class="diff-new">@language
</ins></code>,<code><ins class="diff-new">
-@language
-</ins></code>,
-<code>
-<ins class="diff-new">@index
+@index
</ins></code>,<ins class="diff-new">
or
be
@@ -23234,7 +23243,7 @@
discussion
on
contexts.
-</ins></p></section></section><section class="appendix normative" id="relationship-to-rdf"><h2>
+</ins></p></div></div><div class="appendix normative section" id="relationship-to-rdf"><h2>
<del class="diff-old">,
an
</del>
@@ -23284,16 +23293,16 @@
</del>
<ins class="diff-chg">directed
graph
-of
-information.
+</ins>
+of
+<ins class="diff-new">information.
It
is
a
subset
-</ins>
-of
-<a class="tref internalDFN" title="json-ld-data-model" href="#dfn-json-ld-data-model">
-<ins class="diff-new">JSON-LD's
+of
+</ins><a class="tref internalDFN" title="json-ld-data-model" href="#dfn-json-ld-data-model"><ins class="diff-new">
+JSON-LD's
data
model
</ins></a><ins class="diff-new">
@@ -23714,7 +23723,7 @@
information.
</ins></p>
</div>
-<section class="informative" id="transformation-from-json-ld-to-rdf">
+<div class="informative section" id="transformation-from-json-ld-to-rdf">
<h3>
<span class="secno">
<del class="diff-old">B.
@@ -24019,16 +24028,16 @@
<p>
<ins class="diff-new">Running
the
-</ins>
-JSON-LD
-<ins class="diff-new">Expansion
+JSON-LD
+Expansion
and
Flattening
algorithms
against
the
-JSON-LD
-input
+</ins>
+JSON-LD
+<ins class="diff-new">input
document
in
the
@@ -24197,9 +24206,8 @@
</ins><a class="tref internalDFN" title="node-object" href="#dfn-node-object"><ins class="diff-chg">
node
object
-</ins>
-</a>
-<ins class="diff-new">for
+</ins></a><ins class="diff-chg">
+for
all
triples
having
@@ -24209,10 +24217,11 @@
and
a
single
-</ins><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-new">
+</ins><a class="tref internalDFN" title="property" href="#dfn-property"><ins class="diff-chg">
property
-</ins></a><ins class="diff-new">
-for
+</ins>
+</a>
+<ins class="diff-new">for
those
triples
also
@@ -24220,7 +24229,7 @@
a
common
predicate.
-</ins></p></section></section><section class="appendix informative" id="relationship-to-other-linked-data-formats"><h2><span class="secno"><ins class="diff-new">
+</ins></p></div></div><div class="appendix informative section" id="relationship-to-other-linked-data-formats"><h2><span class="secno"><ins class="diff-new">
D.
</ins></span><ins class="diff-new">
Relationship
@@ -24318,7 +24327,7 @@
].
</del>
</p>
-<section class="informative" id="turtle">
+<div class="informative section" id="turtle">
<h3>
<span class="secno">
<del class="diff-old">B.1
@@ -24442,7 +24451,7 @@
</p>
<del class="diff-old">B.2.1
</del>
-<section>
+<div class="section">
<h4 id="prefix-definitions">
Prefix
definitions
@@ -24495,7 +24504,9 @@
</pre>
</div>
<del class="diff-old">Note
-JSON-LD
+</del>
+</div>
+<del class="diff-old">JSON-LD
has
no
equivalent
@@ -24529,8 +24540,7 @@
}
B.2.2
</del>
-</section>
-<section>
+<div class="section">
<h4 id="embedding-1">
Embedding
</h4>
@@ -24599,8 +24609,8 @@
}
</pre>
</div>
-</section>
-<section>
+</div>
+<div class="section">
<h4 id="conversion-of-native-data-types">
<ins class="diff-chg">Conversion
of
@@ -24739,7 +24749,7 @@
"true"^^xsd:boolean,
"false"^^xsd:boolean
.
-</ins></pre></div></section><section><h4 id="lists">
+</ins></pre></div></div><div class="section"><h4 id="lists">
Lists
</h4>
<p>
@@ -24785,9 +24795,9 @@
}
</pre>
</div>
-</section>
-</section>
-<section class="informative" id="rdfa">
+</div>
+</div>
+<div class="informative section" id="rdfa">
<h3>
<span class="secno">
<del class="diff-old">B.3
@@ -24897,8 +24907,8 @@
}
</pre>
</div>
-</section>
-<section class="informative" id="microformats">
+</div>
+<div class="informative section" id="microformats">
<h3>
<span class="secno">
<del class="diff-old">B.4
@@ -25018,8 +25028,8 @@
}
</pre>
</div>
-</section>
-<section class="informative" id="microdata">
+</div>
+<div class="informative section" id="microdata">
<h3>
<span class="secno">
<del class="diff-old">B.5
@@ -25152,9 +25162,9 @@
]
</pre>
</div>
-</section>
-</section>
-<section class="appendix normative" id="iana-considerations">
+</div>
+</div>
+<div class="appendix normative section" id="iana-considerations">
<h2>
<span class="secno">
<del class="diff-old">C.
@@ -25263,7 +25273,6 @@
list
of
space-separated
-URI-encoded
URIs
identifying
specific
@@ -25443,10 +25452,6 @@
form
is
specified
-in
-an
-HTTP
-response,
</del>
<ins class="diff-chg">be
used.
@@ -25458,23 +25463,15 @@
JSON-LD
document
form,
-</ins>
-the
-<del class="diff-old">form
-must
-not
-</del>
-<ins class="diff-chg">URI
+the
+URI
</ins><code><ins class="diff-chg">
http://www.w3.org/ns/json-ld#compacted
</ins></code><em class="rfc2119" title="SHOULD"><ins class="diff-chg">
SHOULD
-</ins>
-</em>
-be
-<del class="diff-old">assumed
-</del>
-<ins class="diff-chg">used.
+</ins></em><ins class="diff-chg">
+be
+used.
To
request
or
@@ -25510,17 +25507,16 @@
</ins></code><ins class="diff-chg">
parameter
has
-</ins>
-to
-<del class="diff-old">take
-any
-particular
-form.
-</del>
-<ins class="diff-chg">be
+to
+be
enclosed
-in
-quotes
+</ins>
+in
+<del class="diff-old">an
+HTTP
+response,
+</del>
+<ins class="diff-chg">quotes
(
</ins><code><ins class="diff-chg">
"
@@ -25541,8 +25537,12 @@
</ins></p><p><ins class="diff-chg">
When
processing
-the
-"profile"
+</ins>
+the
+<del class="diff-old">form
+must
+</del>
+<ins class="diff-chg">"profile"
media
type
parameter,
@@ -25550,19 +25550,61 @@
is
important
to
-apply
-URI-decoding
-before
-processing
-the
-URI
-(such
-as
-comparing
-it
-to
-known
-profiles).
+note
+that
+its
+value
+is
+contains
+one
+or
+more
+URIs
+and
+</ins>
+not
+<ins class="diff-chg">IRIs.
+In
+some
+cases
+it
+might
+therefore
+</ins>
+be
+<del class="diff-old">assumed
+</del>
+<ins class="diff-chg">necessary
+</ins>
+to
+<del class="diff-old">take
+any
+particular
+form.
+</del>
+<ins class="diff-chg">convert
+between
+IRIs
+and
+URIs
+as
+specified
+in
+</ins><cite><a href="http://tools.ietf.org/html/rfc3986#section-5.1"><ins class="diff-chg">
+section
+3
+Relationship
+between
+IRIs
+and
+URIs
+</ins></a></cite><ins class="diff-chg">
+of
+[
+</ins><cite><a class="bibref" href="#bib-RFC3987"><ins class="diff-chg">
+RFC3987
+</ins></a></cite><ins class="diff-chg">
+].
</ins></p>
</dd>
</dl>
@@ -25675,12 +25717,12 @@
<del class="diff-old">recommended
</del>
<ins class="diff-chg">advised
-</ins>
-that
-<ins class="diff-new">any
+that
+any
application
-that
-depends
+</ins>
+that
+<ins class="diff-new">depends
on
</ins>
a
@@ -26005,8 +26047,8 @@
<ins class="diff-chg">].
</ins>
</p>
-</section>
-<section class="appendix informative" id="acknowledgements">
+</div>
+<div class="appendix informative section" id="acknowledgements">
<h2>
<span class="secno">
<del class="diff-old">D.
@@ -26426,8 +26468,8 @@
Waites.
</ins>
</p>
-</section>
-<section id="references" class="appendix" typeof="bibo:Chapter" resource="#references" rel="bibo:chapter">
+</div>
+<div id="references" class="appendix section" typeof="bibo:Chapter" resource="#references" rel="bibo:chapter">
<h2>
<span class="secno">
<del class="diff-old">E.
@@ -26437,7 +26479,7 @@
</span>
References
</h2>
-<section id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:chapter">
+<div class="section" id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:chapter">
<h3>
<span class="secno">
<del class="diff-old">E.1
@@ -26708,8 +26750,8 @@
</a>
</dd>
</dl>
-</section>
-<section id="informative-references" typeof="bibo:Chapter" resource="#informative-references" rel="bibo:chapter">
+</div>
+<div class="section" id="informative-references" typeof="bibo:Chapter" resource="#informative-references" rel="bibo:chapter">
<h3>
<span class="secno">
<del class="diff-old">E.2
@@ -27067,8 +27109,8 @@
</a>
</dd>
</dl>
-</section>
-</section>
+</div>
+</div>
</body>
</html>