Skip to content

Commit

Permalink
Added a new step 13.1 to Object to RDF conversion to create a variabl…
Browse files Browse the repository at this point in the history
…e for `@language`.

For #277.
  • Loading branch information
gkellogg committed Dec 24, 2019
1 parent c7d2b28 commit e4fb499
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5050,6 +5050,9 @@ <h3>Algorithm</h3>
and {{JsonLdOptions/rdfDirection}} is not `null`,
<var>item</var> is a <a>value object</a> which is serialized using special rules.
<ol>
<li id="alg-obj2rdf-direction-language">
Initialize <var>language</var> to the value of `@language` in <var>item</var>,
or the empty string (`""`) if there is no such entry.</li>
<li>If {{JsonLdOptions/rdfDirection}} is `i18n-datatype`,
set <var>datatype</var> to the result of appending <var>language</var>
and the value of `@direction` in <var>item</var> separated by an underscore (`"_"`)
Expand Down Expand Up @@ -6972,6 +6975,12 @@ <h2>Changes since Candidate Release of 12 December 2019</h2>
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/279">Issue 279</a>.</li>
</ul>
</li>
<li>Misclaneous updates to <a href="#object-to-rdf-conversion" class="sectionRef"></a>:
<ul>
<li>Added a new step <a href="#alg-obj2rdf-direction-language">13.1</a> to create a variable for `@language`.
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/277">Issue 277</a>.</li>
</ul>
</li>
</ul>
</section>

Expand Down

0 comments on commit e4fb499

Please sign in to comment.