You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update text on vocabulary mapping and @vocab to allow relative IRIs, which are resolved relative to the base IRI. This subsumes the previous usage of allowing just the empty string.
<pclass="changed">If the <a>context definition</a> has an <code>@version</code> key,
@@ -9916,7 +9917,7 @@ <h2>Keywords</h2>
9916
9917
<dt><code>@vocab</code></dt><dd>
9917
9918
The <code>@vocab</code> keyword MUST NOT be aliased and MAY be used as a key in a <a>context definition</a>
9918
9919
or as the value of <code>@type</code> in an <a>expanded term definition</a>.
9919
-
Its value MUST be a <a>absolute IRI</a>, a <a>compact IRI</a>, a <a>blank node identifier</a>, an empty <a>string</a> (""), a <a>term</a>, or <a>null</a>.
9920
+
Its value MUST be a <a>absolute IRI</a>, <spanclass="changed">a <a>relative IRI</a></span>, a <a>compact IRI</a>, a <a>blank node identifier</a>, an empty <a>string</a> (""), a <a>term</a>, or <a>null</a>.
9920
9921
This keyword is described further in <aclass="sectionRef" href="#context-definitions"></a>,
9921
9922
and <aclass="sectionRef" href="#default-vocabulary"></a>.
9922
9923
</dd>
@@ -9967,7 +9968,7 @@ <h2>Relationship to RDF</h2>
9967
9968
instead, consider one of the following mechanisms:</p>
9968
9969
<ul>
9969
9970
<li>a <a>relative IRI</a>, either relative to the document or the vocabulary
9970
-
(see <ahref="#using-the-document-base-as-the-default-vocabulary" class="sectionRef"></a> for a discussion on using the document base as the <a>vocabulary mapping</a>).</li>
9971
+
(see <ahref="#using-the-document-base-for-the-default-vocabulary" class="sectionRef"></a> for a discussion on using the document base as part of the the <a>vocabulary mapping</a>).</li>
9971
9972
<li>a URN such as <code>urn:example:1</code>, see [[?URN]], or</li>
9972
9973
<li>a "Skolem IRI" as per
9973
9974
<adata-cite="RDF11-CONCEPTS#section-skolemization">Replacing Blank Nodes with IRIs</a>
@@ -10633,10 +10634,11 @@ <h2>Changes since 1.0 Recommendation of 16 January 2014</h2>
10633
10634
may include <code>"@set"</code>, which create maps from the
10634
10635
graph identifier or index value similar to <a>index maps</a>
10635
10636
and <a>id maps</a>.</li>
10636
-
<li>The empty string (<code>""</code>) has been added as a possible value for <code>@vocab</code> in
10637
-
a context. When this is set, vocabulary-relative IRIs, such as the
10637
+
<li>a <a>relative IRI</a> has been added as a possible value for <code>@vocab</code> in
10638
+
a context. When this is set, the <a>vocabulary mapping</a> is resolved against
10639
+
the <a>base IRI</a>, so that vocabulary-relative IRIs, such as the
10638
10640
keys of <a>node objects</a>, are expanded or compacted relative
10639
-
to the <a>base IRI</a> using string concatenation.</li>
10641
+
to the document base.</li>
10640
10642
</ul>
10641
10643
<p>Additionally, see <ahref="#changes-from-cg" class="sectionRef"></a>.</p>
0 commit comments