Skip to content

Timothee updates #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 35 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1612,8 +1612,8 @@ <h3>Algorithm</h3>
<span class="changed">initializing <a>prefix flag</a> to `false`,
<a>protected</a> to <var>protected</var>,
and <a>reverse property</a> to `false`</span>.</li>
<li class="changed">If the <code>@protected</code> entry in <var>value</var>
is <code>true</code> set the <a>protected</a> flag in <var>definition</var> to true.
<li id="alg-ctd-protected" class="changed">If <var>value</var> has an <code>@protected</code> entry,
set the <a>protected</a> flag in <var>definition</var> to the value of this entry.
If the value of `@protected` is not a <a>boolean</a>,
an <a data-link-for="JsonLdErrorCode">invalid @protected value</a> error has been detected and processing is aborted.
If <a>processing mode</a> is `json-ld-1.0`,
Expand Down Expand Up @@ -2422,6 +2422,16 @@ <h3>Overview</h3>

<p>Finally, after ensuring <var>result</var> is in an <a>array</a>,
we return <var>result</var>.</p>

<p class="note">Although the <a data-cite="JSON-LD11#data-model">data model</a>,
based on [[RDF11-CONCEPTS]], does not support multiple unordered property values,
this algorithm does not remove duplicates that
may be found during expansion within an unordered <a>array</a>.
Other algorithms, such as <a href="#compaction-algorithm" class="sectionRef"></a>,
and <a href="#flattening-algorithm" class="sectionRef"></a>, do eliminate
duplicate values from unordered arrays.
A future version of this specification may be updated to remove duplicate
array values when the form a set.</p>
</section>

<section class="algorithm">
Expand Down Expand Up @@ -2665,9 +2675,10 @@ <h3>Algorithm</h3>
<ol>
<li>If <a>processing mode</a> is `json-ld-1.0`,
continue with the next <var>key</var> from <var>element</var>.</li>
<li>Set <var>expanded value</var> to the result of using
<li id="alg-expand-included">Set <var>expanded value</var> to the result of using
this algorithm recursively passing <var>active context</var>,
<var>active property</var>, <var>value</var> for <var>element</var>,
`null` for <var>active property</var>,
<var>value</var> for <var>element</var>,
<var>base URL</var>,
and the {{JsonLdOptions/frameExpansion}}
and {{JsonLdOptions/ordered}} flags,
Expand Down Expand Up @@ -2931,13 +2942,14 @@ <h3>Algorithm</h3>
<li>If <var>index value</var> is not an <a>array</a>
set <var>index value</var> to an <a>array</a> containing only
<var>index value</var>.</li>
<li>Initialize <var>index value</var> to the result of
<li id="alg-expand-index-value">Initialize <var>index value</var> to the result of
using this algorithm recursively, passing
<var class="changed">map context</var> as <var>active context</var>,
<var>key</var> as <var>active property</var>,
<var>index value</var> as <var>element</var>,
<var class="changed">base URL</var>,
<span class="changed">and the {{JsonLdOptions/frameExpansion}}
<span class="changed">`true` for <var>from map</var>,
and the {{JsonLdOptions/frameExpansion}}
and {{JsonLdOptions/ordered}} flags</span>.</li>
<li>For each <var>item</var> in <var>index value</var>:
<ol class="algorithm changed">
Expand All @@ -2957,9 +2969,11 @@ <h3>Algorithm</h3>
and <var>index</var> as <var>value</var>.</li>
<li>Initialize <var>expanded index key</var> to the result of
<span class="changed"><a>IRI expanding</a></span> <var>index key</var>.</li>
<li>Initialize <var>index property values</var> to the concatenation of
<var>re-expanded index</var> with any existing values of
<var>expanded index key</var> in <var>item</var>.</li>
<li>Initialize <var>index property values</var> to
an <a>array</a> consisting of <var>re-expanded index</var> followed
by the existing values of
the concatenation of <var>expanded index key</var> in <var>item</var>,
if any.</li>
<li>Add the key-value pair (<var>expanded index key</var>-<var>index property values</var>)
to <var>item</var>.</li>
<li>If <var>item</var> is a value object,
Expand Down Expand Up @@ -7026,8 +7040,20 @@ <h2>Changes since Candidate Release of 05 March 2020</h2>
<li>Move step <a href="#alg-context-create-defns">5.2.2</a> of the
<a href="#context-processing-algorithm">Context Processing algorithm</a>
to run before the subsequent step for checking <var>remote contexts</var>.</li>
<li>Updated step <a href="#alg-ctd-protected">11</a> of the
<a href="#create-term-definition">Create Term Definition algorithm</a>
to use any boolean value of `@protected`, not just `true`.</li>
<li>Updated step <a href="#alg-iric-value-map">4.5</a> of the <a href="#iri-compaction">IRI Compaction algorithm</a>
to use `@index` for any value with an `@index` entry.</li>
alg-expand-included
<li>Update step <a href="#alg-expand-included">13.4.6.2</a> of the
<a href="#expansion-algorithm">Expansion algorithm</a> to pass
`null` for <var>active property</var>, as <a>included blocks</a>
do not define a relationship to a referencing node.</li>
<li>Update step <a href="#alg-expand-index-value">13.8.3.6</a> of the
<a href="#expansion-algorithm">Expansion algorithm</a> to pass
`true` for the <var>from map</var> parameter to properly manage reverting
<a>active contexts</a>.</li>
<li>Update step <a href="#alg-compact-11_1">11.1</a> of the
<a href="#compaction-algorithm">Compaction Algorithm</a>
to pass `false` for <var>propagate</var> when calling the
Expand Down
Loading