Skip to content

Commit 5cbd3b8

Browse files
gkelloggpchampindlongley
authored
Apply suggestions from code review
From @pchampin and @dlongley. Co-Authored-By: Pierre-Antoine Champin <[email protected]> Co-Authored-By: Dave Longley <[email protected]>
1 parent 0b9f4e6 commit 5cbd3b8

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

index.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5188,7 +5188,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
51885188
****"@language": "ar",
51895189
"@direction": "rtl"****
51905190
},
5191-
****"title": "HTML و CSS: تصميم و إنشاء مواقع الويب"****,
5191+
****"title": "HTML و CSS: تصميم و إنشاء مواقع الويب",
51925192
"publisher": "مكتبة"****
51935193
}
51945194
-->
@@ -11991,7 +11991,7 @@ <h2>Value Objects</h2>
1199111991
<a data-cite="BCP47#section-2.1.1">lexical form</a> described in [[BCP47]], or be <a>null</a>.</p>
1199211992

1199311993
<p>The value associated with the <code>@direction</code> key MUST be
11994-
one of `ltr` or `rtl`, or be <a>null</a>.</p>
11994+
one of <code>"ltr"</code> or <code>"rtl"</code>, or be <a>null</a>.</p>
1199511995

1199611996
<p>The value associated with the <code>@index</code> key MUST be a
1199711997
<a>string</a>.</p>
@@ -12016,7 +12016,7 @@ <h2>Value Patterns</h2>
1201612016
MAY additionally be
1201712017
an empty <a>map</a> (<a data-cite="JSON-LD11-FRAMING#dfn-wildcard">wildcard</a>),
1201812018
an <a>array</a> containing only an empty <a>map</a>,
12019-
an empty <a>array</a> (<a data-cite="JSON-LD11-FRAMING#dfn-match-none">match none</a>)
12019+
an empty <a>array</a> (<a data-cite="JSON-LD11-FRAMING#dfn-match-none">match none</a>),
1202012020
an <a>array</a> of <a>strings</a>.</li>
1202112021
</ul>
1202212022
</section>
@@ -12609,13 +12609,13 @@ <h2>Relationship to RDF</h2>
1260912609
defines the <a data-cite="JSON-LD11-API#data-round-tripping">conversion rules</a>
1261012610
between JSON's native data types and RDF's counterparts to allow round-tripping.</li>
1261112611
<li class="changed">As an extension to the <a data-cite="RDF11-CONCEPTS#data-model">RDF data model</a>,
12612-
<em>typed literals</em>, where the datatype is `xsd:string`, or <a>language-tagged strings</a>
12612+
literals without an explicit datatype
1261312613
MAY include a <a>base direction</a>.
1261412614
As there is currently no standardized mechanism for representing the <a>base direction</a>
12615-
of <a>RDF literals</a>, the JSON-LD to RDF transformation loses the base direction.
12616-
The <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
12617-
also provides a means of representing <a>base direction</a>
12618-
using non-standardized mechanisms which will preserve round-tripping through RDF.</li>
12615+
of <a>RDF literals</a>, the JSON-LD to standard RDF transformation loses the base direction.
12616+
However, the <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
12617+
provides a means of representing <a>base direction</a>
12618+
using mechanisms which will preserve round-tripping through non-standard RDF.</li>
1261912619
</ul>
1262012620

1262112621
<p class="note">The use of <a>blank node identifiers</a> to label properties is obsolete,
@@ -12836,7 +12836,7 @@ <h3>Serializing/Deserializing RDF</h3>
1283612836
<section class='informative'><h2>The `i18n` Namespace</h2>
1283712837
<p>The `i18n:` namespace is used for describing combinations of <a>language tag</a> and <a>base direction</a> in <a>RDF literals</a>.
1283812838
It is used as an alternative mechanism for describing the [[BCP47]] <a>language tag</a> and <a>base direction</a>
12839-
of <a>RDF literals</a> that would otherwise be use `xsd:string` or `rdf:langString` datatypes.</p>
12839+
of <a>RDF literals</a> that would otherwise use the `xsd:string` or `rdf:langString` datatypes.</p>
1284012840
<p>Datatypes based on this namespace allow round-tripping of JSON-LD documents using base direction,
1284112841
although the mechanism is not otherwise standardized.</p>
1284212842
<p>The <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
@@ -12858,7 +12858,7 @@ <h3>Serializing/Deserializing RDF</h3>
1285812858
@prefix ex: <http://example.org/> .
1285912859
@prefix i18n: <https://www.w3.org/i18n#> .
1286012860

12861-
# Note that this version preserves the base direction using a datatype.
12861+
# Note that this version preserves the base direction using a non-standard datatype.
1286212862
[
1286312863
ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"^^i18n:ar_rtl****;
1286412864
ex:publisher ****"مكتبة"^^i18n:ar_rtl****
@@ -12869,8 +12869,8 @@ <h3>Serializing/Deserializing RDF</h3>
1286912869
on using <a>base direction</a> for strings.</p>
1287012870
</section>
1287112871

12872-
<section class='informative'><h2>The `rdf:CompoundLiteral` class and the `rdf:language` and `rdf:direction` Datatypes</h2>
12873-
<p>This specification defines the `rdf:CompoundLiteral` datatype, which is in the domain
12872+
<section class='informative'><h2>The `rdf:CompoundLiteral` class and the `rdf:language` and `rdf:direction` properties</h2>
12873+
<p>This specification defines the `rdf:CompoundLiteral` class, which is in the domain
1287412874
of `rdf:language` and `rdf:direction` to be used for describing RDF literal values
1287512875
containing base direction and a possible language tag to be associated with the
1287612876
string value of `rdf:value` on the same subject.</p>
@@ -12904,7 +12904,6 @@ <h3>Serializing/Deserializing RDF</h3>
1290412904
<!--
1290512905
@prefix ex: <http://example.org/> .
1290612906

12907-
# Note that this version preserves the base direction using a bnode structure.
1290812907
# Note that this version preserves the base direction using a bnode structure.
1290912908
[
1291012909
ex:title ****[

0 commit comments

Comments
 (0)