@@ -5204,19 +5204,18 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5204
5204
data-result-for="Setting the default base direction of a JSON-LD document-compacted">
5205
5205
<!--
5206
5206
[{
5207
- "http://example.org/title": [{"@value": ****"HTML و CSS: تصميم و إنشاء مواقع الويب"****, "@language": "ar-eg ", ****"@direction": "rtl"****}],
5208
- "http://example.org/publisher": [{"@value": ****"مكتبة"****, "@language": "ar-eg ", ****"@direction": "rtl"****}]
5207
+ "http://example.org/title": [{"@value": ****"HTML و CSS: تصميم و إنشاء مواقع الويب"****, "@language": "ar-EG ", ****"@direction": "rtl"****}],
5208
+ "http://example.org/publisher": [{"@value": ****"مكتبة"****, "@language": "ar-EG ", ****"@direction": "rtl"****}]
5209
5209
}]
5210
5210
-->
5211
5211
</pre>
5212
5212
<table class="statements"
5213
- data-result-for="Setting the default base direction of a JSON-LD document-expanded"
5214
5213
data-options="rdfDirection=i18n-datatype"
5215
5214
data-to-rdf>
5216
5215
<thead><tr><th>Subject</th><th>Property</th><th>Value</th><th>Language</th><th>Direction</th></tr></thead>
5217
5216
<tbody>
5218
- <tr><td>_:b0</td><td>http://example.org/title</td><td lang="ar-eg " dir="rtl">HTML و CSS: تصميم و إنشاء مواقع الويب</td><td>ar-eg </td><td>rtl</td></tr>
5219
- <tr><td>_:b0</td><td>http://example.org/publisher</td><td lang="ar-eg " dir="rtl">مكتبة</td><td>ar-eg </td><td>rtl</td></tr>
5217
+ <tr><td>_:b0</td><td>http://example.org/title</td><td lang="ar-EG " dir="rtl">HTML و CSS: تصميم و إنشاء مواقع الويب</td><td>ar-EG </td><td>rtl</td></tr>
5218
+ <tr><td>_:b0</td><td>http://example.org/publisher</td><td lang="ar-EG " dir="rtl">مكتبة</td><td>ar-EG </td><td>rtl</td></tr>
5220
5219
</tbody>
5221
5220
</table>
5222
5221
<pre class="turtle nohighlight"
@@ -5229,8 +5228,8 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5229
5228
5230
5229
# Note that this version drops the base direction.
5231
5230
[
5232
- ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"****@ar-eg ;
5233
- ex:publisher ****"مكتبة"****@ar-eg
5231
+ ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"****@ar-EG ;
5232
+ ex:publisher ****"مكتبة"****@ar-EG
5234
5233
] .
5235
5234
-->
5236
5235
</pre>
@@ -5246,8 +5245,8 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5246
5245
5247
5246
# Note that this version preserves the base direction using a datatype.
5248
5247
[
5249
- ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"^^i18n:ar-eg_rtl ****;
5250
- ex:publisher ****"مكتبة"^^i18n:ar-eg_rtl ****
5248
+ ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"^^i18n:ar-EG_rtl ****;
5249
+ ex:publisher ****"مكتبة"^^i18n:ar-EG_rtl ****
5251
5250
] .
5252
5251
-->
5253
5252
</pre>
@@ -5264,12 +5263,12 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5264
5263
[
5265
5264
ex:title ****[
5266
5265
rdf:value "HTML و CSS: تصميم و إنشاء مواقع الويب",
5267
- rdf:language "ar-eg ",
5266
+ rdf:language "ar-EG ",
5268
5267
rdf:direction "rtl"
5269
5268
]****;
5270
5269
ex:publisher ****[
5271
5270
rdf:value "مكتبة",
5272
- rdf:language "ar-eg ",
5271
+ rdf:language "ar-EG ",
5273
5272
rdf:direction "rtl"
5274
5273
]****
5275
5274
] .
@@ -5341,8 +5340,8 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5341
5340
data-to-rdf>
5342
5341
<thead><tr><th>Subject</th><th>Property</th><th>Value</th><th>Language</th><th>Direction</th></tr></thead>
5343
5342
<tbody>
5344
- <tr><td>_:b0</td><td>http://example.com/vocab/publisher</td><td lang="ar-eg ">مكتبة</td><td>ar-eg </td><td></td></tr>
5345
- <tr><td>_:b0</td><td>http://example.com/vocab/title</td><td lang="ar-eg " dir="rtl">HTML و CSS: تصميم و إنشاء مواقع الويب</td><td>ar-eg </td><td><code>rtl</code></td></tr>
5343
+ <tr><td>_:b0</td><td>http://example.com/vocab/publisher</td><td lang="ar-EG ">مكتبة</td><td>ar-EG </td><td></td></tr>
5344
+ <tr><td>_:b0</td><td>http://example.com/vocab/title</td><td lang="ar-EG " dir="rtl">HTML و CSS: تصميم و إنشاء مواقع الويب</td><td>ar-EG </td><td><code>rtl</code></td></tr>
5346
5345
<tr><td>_:b0</td><td>http://example.com/vocab/title</td><td lang="en" dir="ltr">HTML and CSS: Design and Build Websites</td><td>en</td><td><code>ltr</code></td></tr>
5347
5346
</tbody>
5348
5347
</table>
0 commit comments