Skip to content

Commit 35e0771

Browse files
committed
Define and use the term _embedded context_ to describe the context contained within a term definition.
1 parent 05fe141 commit 35e0771

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/latest/json-ld/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ <h2>Reverse Properties</h2>
24052405
<h2>Scoped Contexts</h2>
24062406

24072407
<p>An <a>expanded term definition</a> can include a <code>@context</code>
2408-
property, which defines a <a>context</a> for <a data-lt="JSON-LD
2408+
property, which defines a <a>context</a> (an <dfn>embedded context</dfn>) for <a data-lt="JSON-LD
24092409
value">values</a> of properties defined using that <a>term</a>. This allows
24102410
values to use <a>term definitions</a>, <a>base IRI</a>,
24112411
<a>vocabulary mapping</a> or <a>default language</a> which is different from the
@@ -2436,7 +2436,7 @@ <h2>Scoped Contexts</h2>
24362436

24372437
<p>In this case, the social profile is defined using the schema.org vocabulary, but interest is imported from FOAF, and is used to define a node describing one of Manu's interests where those properties now come from the FOAF vocabulary.</p>
24382438

2439-
<p>Expanding this document, uses a combination of terms defined in the outer context, and those defined specifically for that term.</p>
2439+
<p>Expanding this document, uses a combination of terms defined in the outer context, and those defined specifically for that term in an <a>embedded context</a>.</p>
24402440

24412441
<pre class="example nohighlight" data-transform="updateExample"
24422442
title="Expanded document using a scoped context">
@@ -2482,15 +2482,15 @@ <h2>Scoped Contexts</h2>
24822482
<p>Scoping on <code>@type</code> is useful when common properties are used to
24832483
relate things of different types, where the vocabularies in use within
24842484
different entities calls for different context scoping. For example,
2485-
`hasPart`/`partOf` may be common terms used in a document, but mean
2485+
<code>hasPart</code>/<code>partOf</code> may be common terms used in a document, but mean
24862486
different things depending on the context.</p>
24872487

24882488
<p>When expanding, each value of <code>@type</code> is considered
24892489
(ordering them lexographically) where that value is also a <a>term</a> in
2490-
the <a>active context</a> having its own <a>context</a>. If so, that
2491-
<a>context</a> as applied to the <a>active context</a>. When compacting, if
2490+
the <a>active context</a> having its own <a>embedded context</a>. If so, that
2491+
<a>embedded context</a> is applied to the <a>active context</a>. When compacting, if
24922492
a <a>term</a> is chosen to represent an IRI used as a value of <code>@type</code> where that
2493-
<a>term definition</a> also has a <a>context</a>, it is then applied to the
2493+
<a>term definition</a> also has an <a>embedded context</a>, it is then applied to the
24942494
<a>active context</a> to affect further compaction.</p>
24952495

24962496
<p class="note">The values of <code>@type</code> are unordered, so if multiple

0 commit comments

Comments
 (0)