Skip to content

Commit 7cb027a

Browse files
committed
Note circular dependency between terms used in @vocab and the context defining the terms, requiring that they be in-scope when @vocab is evaluated.
1 parent ab4ed63 commit 7cb027a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2470,6 +2470,11 @@ <h1>Advanced Concepts</h1>
24702470
</pre>
24712471
</aside>
24722472

2473+
<p class="note">The grammar for `@vocab`, as defined in <a href="#context-definitions" class="sectionRef"></a>
2474+
allows the value to be a <a>term</a> or <a>compact IRI</a>.
2475+
Note that terms used in the value of `@vocab` must be in scope at the time the context is introduced,
2476+
otherwise there would be a circular dependency between `@vocab` and other terms defined in the same context.</p>
2477+
24732478
<section id="document-relative-vocabulary-mapping" class="changed">
24742479
<h3>Using the Document Base for the Default Vocabulary</h3>
24752480
<p>In some cases, vocabulary terms are defined directly within the document

0 commit comments

Comments
 (0)