@@ -4694,9 +4694,10 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4694
4694
"@context": {
4695
4695
"@base": "http://example1.com/",
4696
4696
"@vocab": "http://example2.com/",
4697
- "fred ": {"@type": "@vocab"}
4697
+ "knows ": {"@type": "@vocab"}
4698
4698
},
4699
- "fred": [
4699
+ "@id": "fred",
4700
+ "knows": [
4700
4701
{"@id": "barney", "mnemonic": "the sidekick"},
4701
4702
"barney"
4702
4703
]
@@ -4708,15 +4709,13 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4708
4709
data-result-for="Term expansion for values, not identifiers-compacted">
4709
4710
<!--
4710
4711
[{
4711
- "http://example2.com/fred": [
4712
- {
4713
- "@id": "http://example1.com/barney",
4714
- "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
4715
- },
4716
- {
4717
- "@id": "http://example2.com/barney"
4718
- }
4719
- ]
4712
+ "@id": "http://example1.com/fred",
4713
+ "http://example2.com/knows": [{
4714
+ "@id": "http://example1.com/barney",
4715
+ "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
4716
+ }, {
4717
+ "@id": "http://example2.com/barney"
4718
+ }]
4720
4719
}]
4721
4720
-->
4722
4721
</pre>
@@ -4726,8 +4725,8 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4726
4725
<thead><tr><th>Subject</th><th>Property</th><th>Value</th></tr></thead>
4727
4726
<tbody>
4728
4727
<tr><td>http://example1.com/barney</td><td>http://example2.com/mnemonic</td><td>the sidekick</td></tr>
4729
- <tr><td>_:b0 </td><td>http://example2.com/fred </td><td>http://example1.com/barney</td></tr>
4730
- <tr><td>_:b0 </td><td>http://example2.com/fred </td><td>http://example2.com/barney</td></tr>
4728
+ <tr><td>http://example1.com/fred </td><td>http://example2.com/knows </td><td>http://example1.com/barney</td></tr>
4729
+ <tr><td>http://example1.com/fred </td><td>http://example2.com/knows </td><td>http://example2.com/barney</td></tr>
4731
4730
</tbody>
4732
4731
</table>
4733
4732
<pre class="turtle"
@@ -4742,7 +4741,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4742
4741
4743
4742
ex1:barney ex2:mnemonic "the sidekick" .
4744
4743
4745
- [ ex2 :fred ex2:barney, ex1 :barney] .
4744
+ ex1 :fred ex2:knows ex1: barney, ex2 :barney .
4746
4745
-->
4747
4746
</pre>
4748
4747
</aside>
@@ -4765,7 +4764,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4765
4764
of <code>@vocab</code> illustrates the behavior of interpreting "barney" relative to the document:</p>
4766
4765
4767
4766
4768
- <aside class="example ds-selector-tabs changed "
4767
+ <aside class="example ds-selector-tabs"
4769
4768
title="Terms not expanded when document-relative">
4770
4769
<div class="selectors">
4771
4770
<button class="selected" data-selects="compacted">Compacted (Input)</button>
@@ -4780,9 +4779,10 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4780
4779
"@context": {
4781
4780
"@base": "http://example1.com/",
4782
4781
"@vocab": "http://example2.com/",
4783
- "fred ": {"@type": "@id"}
4782
+ "knows ": {"@type": "@id"}
4784
4783
},
4785
- "fred": [
4784
+ "@id": "fred",
4785
+ "knows": [
4786
4786
{"@id": "barney", "mnemonic": "the sidekick"},
4787
4787
"barney"
4788
4788
]
@@ -4794,15 +4794,13 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4794
4794
data-result-for="Terms not expanded when document-relative-compacted">
4795
4795
<!--
4796
4796
[{
4797
- "http://example2.com/fred": [
4798
- {
4799
- "@id": "http://example1.com/barney",
4800
- "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
4801
- },
4802
- {
4803
- "@id": "http://example1.com/barney"
4804
- }
4805
- ]
4797
+ "@id": "http://example1.com/fred",
4798
+ "http://example2.com/knows": [{
4799
+ "@id": "http://example1.com/barney",
4800
+ "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
4801
+ }, {
4802
+ "@id": "http://example1.com/barney"
4803
+ }]
4806
4804
}]
4807
4805
-->
4808
4806
</pre>
@@ -4818,7 +4816,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4818
4816
4819
4817
ex1:barney ex2:mnemonic "the sidekick" .
4820
4818
4821
- [] ex2 :fred ex1:barney , ex1:barney .
4819
+ ex1 :fred ex2:knows , ex1:barney .
4822
4820
-->
4823
4821
</pre>
4824
4822
</aside>
@@ -4831,7 +4829,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4831
4829
to be applied to keys which are not represented as a simple <a>term</a>.
4832
4830
For example:</p>
4833
4831
4834
- <aside class="example ds-selector-tabs changed "
4832
+ <aside class="example ds-selector-tabs"
4835
4833
title="Term definitions using compact and absolute IRIs">
4836
4834
<div class="selectors">
4837
4835
<button class="selected" data-selects="compacted">Compacted (Input)</button>
0 commit comments