Skip to content

Commit c3ad9a7

Browse files
pchampingkellogg
authored andcommitted
added section on property-based index maps in Grammar section
1 parent d942b32 commit c3ad9a7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

index.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11073,6 +11073,32 @@ <h2>Index Maps</h2>
1107311073
not include <code>@id</code>, or a <a>named graph</a> if it includes <code>@id</code>.</p>
1107411074
</section>
1107511075

11076+
<section class="changed">
11077+
<h2>Property-based Index Maps</h2>
11078+
11079+
<p>A property-based <a>index map</a> is a variant of <a>index map</a>
11080+
were indexes are semantically preserved in the graph as property values.
11081+
A property-based <a>index map</a> may be used as a term value within a <a>node object</a>
11082+
if the <a>term</a> is defined with <code>@container</code> set to <code>@index</code>,
11083+
or an array containing both <code>@index</code> and <code>@set</code>,
11084+
and with <code>@index</code> set to a <a>string</a>.
11085+
The values of a property-based <a>index map</a> MUST be <a>node objects</a>
11086+
or <a>strings</a> which expand to <a>node objects</a>.</p>
11087+
11088+
<p>When expanding,
11089+
if the <a>active context</a> contains a <a>term definition</a>
11090+
for the value of <code>@index</code>,
11091+
this <a>term definition</a> will be used to expand the keys of the <a>index map</a>.
11092+
Otherwise, the keys will be expanded as simple <a>value objects</a>.
11093+
Each <a>node object</a> in the expanded values of the <a>index map</a>
11094+
will be added an additional property value,
11095+
where the property is the expanded value of <code>@index</code>,
11096+
and the value is the expanded referencing key.
11097+
</p>
11098+
11099+
<p>See <a class="sectionRef" href="#property-based-data-indexing"></a> for further information on this topic.</p>
11100+
</section>
11101+
1107611102
<section class="changed">
1107711103
<h2>Id Maps</h2>
1107811104

0 commit comments

Comments
 (0)