Subject |
Property |
diff --git a/examples/Marking-a-context-to-not-propagate-compacted.jsonld b/examples/Marking-a-context-to-not-propagate-compacted.jsonld
new file mode 100644
index 00000000..dfb80ae0
--- /dev/null
+++ b/examples/Marking-a-context-to-not-propagate-compacted.jsonld
@@ -0,0 +1,17 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "term": {
+ "@id": "http://example.org/original",
+ "@context": {
+ "@propagate": false,
+ "term": "http://example.org/non-propagated-term"
+ }
+ }
+ },
+ "term": {
+ "term": {
+ "term": "This term is from the first context"
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Marking-a-context-to-not-propagate-expanded.jsonld b/examples/Marking-a-context-to-not-propagate-expanded.jsonld
new file mode 100644
index 00000000..edaa3af1
--- /dev/null
+++ b/examples/Marking-a-context-to-not-propagate-expanded.jsonld
@@ -0,0 +1,9 @@
+[{
+ "http://example.org/original": [{
+ "http://example.org/non-propagated-term": [{
+ "http://example.org/original": [
+ {"@value": "This term is from the first context"}
+ ]
+ }]
+ }]
+}]
\ No newline at end of file
diff --git a/examples/Marking-a-context-to-not-propagate-statements.table b/examples/Marking-a-context-to-not-propagate-statements.table
new file mode 100644
index 00000000..e0eebf4c
--- /dev/null
+++ b/examples/Marking-a-context-to-not-propagate-statements.table
@@ -0,0 +1,25 @@
+
+
+
+Subject |
+Property |
+Value |
+
+
+
+_:b2 |
+http://example.org/original |
+This term is from the first context |
+
+
+_:b1 |
+http://example.org/non-propagated-term |
+_:b2 |
+
+
+_:b0 |
+http://example.org/original |
+_:b1 |
+
+
+
diff --git a/examples/Marking-a-context-to-not-propagate-turtle.ttl b/examples/Marking-a-context-to-not-propagate-turtle.ttl
new file mode 100644
index 00000000..b9f7a521
--- /dev/null
+++ b/examples/Marking-a-context-to-not-propagate-turtle.ttl
@@ -0,0 +1,8 @@
+@prefix ex: .
+[
+ ex:original [
+ ex:non-propagated-term [
+ ex:original "This term is from the first context"
+ ]
+ ]
+] .
\ No newline at end of file
diff --git a/examples/Multiple-array-values-of-different-types-original.jsonld b/examples/Multiple-array-values-of-different-types-compacted.jsonld
similarity index 75%
rename from examples/Multiple-array-values-of-different-types-original.jsonld
rename to examples/Multiple-array-values-of-different-types-compacted.jsonld
index cca5ae0b..31ba8b31 100644
--- a/examples/Multiple-array-values-of-different-types-original.jsonld
+++ b/examples/Multiple-array-values-of-different-types-compacted.jsonld
@@ -1,7 +1,7 @@
{
- "@context": {"schema": "http://schema.org/"},
+ "@context": {"ex": "http://example.org/"},
"@id": "http://example.org/people#michael",
- "schema:name": [
+ "ex:name": [
"Michael",
{"@value": "Mike"},
{"@value": "Miguel", "@language": "es"},
diff --git a/examples/Multiple-array-values-of-different-types-expanded.jsonld b/examples/Multiple-array-values-of-different-types-expanded.jsonld
index 764c8ce1..7bc5a9db 100644
--- a/examples/Multiple-array-values-of-different-types-expanded.jsonld
+++ b/examples/Multiple-array-values-of-different-types-expanded.jsonld
@@ -1,6 +1,6 @@
[{
"@id": "http://example.org/people#michael",
- "http://schema.org/name": [
+ "http://example.org/name": [
{"@value": "Michael"},
{"@value": "Mike"},
{"@value": "Miguel", "@language": "es"},
diff --git a/examples/Multiple-array-values-of-different-types-statements.table b/examples/Multiple-array-values-of-different-types-statements.table
index 2e9edc51..cde36299 100644
--- a/examples/Multiple-array-values-of-different-types-statements.table
+++ b/examples/Multiple-array-values-of-different-types-statements.table
@@ -10,35 +10,35 @@
http://example.org/people#michael |
- schema:name |
+ http://example.org/name |
Michael |
|
|
http://example.org/people#michael |
- schema:name |
+ http://example.org/name |
Mike |
|
|
http://example.org/people#michael |
- schema:name |
+ http://example.org/name |
Miguel |
es |
|
http://example.org/people#michael |
- schema:name |
+ http://example.org/name |
https://www.wikidata.org/wiki/Q4927524 |
|
|
http://example.org/people#michael |
- schema:name |
+ http://example.org/name |
42 |
|
xsd:integer |
diff --git a/examples/Multiple-array-values-of-different-types-turtle.ttl b/examples/Multiple-array-values-of-different-types-turtle.ttl
index 33949c1f..a00feb2b 100644
--- a/examples/Multiple-array-values-of-different-types-turtle.ttl
+++ b/examples/Multiple-array-values-of-different-types-turtle.ttl
@@ -1,5 +1,5 @@
-@prefix schema: .
- schema:name
+@prefix ex: .
+ ex:name
"Michael",
"Mike",
"Miguel"@es,
diff --git a/examples/Multiple-values-with-no-inherent-order-original.jsonld b/examples/Multiple-values-with-no-inherent-order-compacted.jsonld
similarity index 100%
rename from examples/Multiple-values-with-no-inherent-order-original.jsonld
rename to examples/Multiple-values-with-no-inherent-order-compacted.jsonld
diff --git a/examples/Nested-properties-original.jsonld b/examples/Nested-properties-compacted.jsonld
similarity index 100%
rename from examples/Nested-properties-original.jsonld
rename to examples/Nested-properties-compacted.jsonld
diff --git a/examples/Nested-properties-folded-into-containing-object-original.jsonld b/examples/Nested-properties-folded-into-containing-object-compacted.jsonld
similarity index 100%
rename from examples/Nested-properties-folded-into-containing-object-original.jsonld
rename to examples/Nested-properties-folded-into-containing-object-compacted.jsonld
diff --git a/examples/Overriding-default-language-and-default-base-direction-using-an-expanded-value.jsonld b/examples/Overriding-default-language-and-default-base-direction-using-an-expanded-value.jsonld
new file mode 100644
index 00000000..61c108ef
--- /dev/null
+++ b/examples/Overriding-default-language-and-default-base-direction-using-an-expanded-value.jsonld
@@ -0,0 +1,12 @@
+{
+ "@context": {
+ "@language": "ar-EG",
+ "@direction": "rtl"
+ },
+ "title": "HTML و CSS: تصميم و إنشاء مواقع الويب",
+ "author": {
+ "@value": "Jon Duckett",
+ "@language": "en",
+ "@direction": null
+ }
+}
\ No newline at end of file
diff --git a/examples/Overriding-permitted-if-both-definitions-are-identical-statements.table b/examples/Overriding-permitted-if-both-definitions-are-identical-statements.table
new file mode 100644
index 00000000..a1cd499f
--- /dev/null
+++ b/examples/Overriding-permitted-if-both-definitions-are-identical-statements.table
@@ -0,0 +1,30 @@
+
+
+
+Subject |
+Property |
+Value |
+
+
+
+https://digitalbazaar.com/ |
+rdf:type |
+http://example.org/orga/Organization |
+
+
+https://digitalbazaar.com/ |
+http://example.org/orga/member |
+http://manu.sporny.org/about#manu |
+
+
+http://manu.sporny.org/about#manu |
+rdf:type |
+schema:Person |
+
+
+http://manu.sporny.org/about#manu |
+schema:name |
+Manu Sporny |
+
+
+
diff --git a/examples/Prefix-expansion-original.jsonld b/examples/Prefix-expansion-compacted.jsonld
similarity index 100%
rename from examples/Prefix-expansion-original.jsonld
rename to examples/Prefix-expansion-compacted.jsonld
diff --git a/examples/Property-based-data-indexing-compacted.jsonld b/examples/Property-based-data-indexing-compacted.jsonld
new file mode 100644
index 00000000..2c7b13a5
--- /dev/null
+++ b/examples/Property-based-data-indexing-compacted.jsonld
@@ -0,0 +1,26 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "schema": "http://schema.org/",
+ "name": "schema:name",
+ "body": "schema:articleBody",
+ "athletes": {
+ "@id": "schema:athlete",
+ "@container": "@index",
+ "@index": "schema:jobTitle"
+ }
+ },
+ "@id": "http://example.com/",
+ "@type": "schema:SportsTeam",
+ "name": "San Franciso Giants",
+ "athletes": {
+ "Catcher": {
+ "@type": "schema:Person",
+ "name": "Buster Posey"
+ },
+ "Starting Pitcher": {
+ "@type": "schema:Person",
+ "name": "Madison Bumgarner"
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Property-based-data-indexing-original.jsonld b/examples/Property-based-data-indexing-original.jsonld
deleted file mode 100644
index cff3d861..00000000
--- a/examples/Property-based-data-indexing-original.jsonld
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "@context": {
- "@version": 1.1,
- "schema": "http://schema.org/",
- "dc11": "http://purl.org/dc/elements/1.1/",
- "name": "schema:name",
- "body": "schema:articleBody",
- "words": "schema:wordCount",
- "post": {
- "@id": "schema:blogPost",
- "@container": "@index",
- "@index": "dc11:language"
- }
- },
- "@id": "http://example.com/",
- "@type": "schema:Blog",
- "name": "World Financial News",
- "post": {
- "en": {
- "@id": "http://example.com/posts/1/en",
- "body": "World commodities were up today with heavy trading of crude oil...",
- "words": 1539
- },
- "de": {
- "@id": "http://example.com/posts/1/de",
- "body": "Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...",
- "words": 1204
- }
- }
-}
\ No newline at end of file
diff --git a/examples/Referencing-Objects-on-the-Web-original.jsonld b/examples/Referencing-Objects-on-the-Web-compacted.jsonld
similarity index 100%
rename from examples/Referencing-Objects-on-the-Web-original.jsonld
rename to examples/Referencing-Objects-on-the-Web-compacted.jsonld
diff --git a/examples/Referencing-a-Context-in-an-HTML-document-expanded.jsonld b/examples/Referencing-a-Context-in-an-HTML-document-expanded.jsonld
deleted file mode 100644
index 9fabe3e7..00000000
--- a/examples/Referencing-a-Context-in-an-HTML-document-expanded.jsonld
+++ /dev/null
@@ -1,10 +0,0 @@
-[{
- "@id": "http://dbpedia.org/resource/John_Lennon",
- "http://xmlns.com/foaf/0.1/name": [{"@value": "John Lennon"}],
- "http://schema.org/birthDate": [
- {"@value": "1940-10-09", "@type": "http://www.w3.org/2001/XMLSchema#date"}
- ],
- "http://schema.org/spouse": [
- {"@id": "http://dbpedia.org/resource/Cynthia_Lennon"}
- ]
-}]
\ No newline at end of file
diff --git a/examples/Referencing-a-Context-in-an-HTML-document-original.jsonld b/examples/Referencing-a-Context-in-an-HTML-document-original.jsonld
deleted file mode 100644
index f67c945f..00000000
--- a/examples/Referencing-a-Context-in-an-HTML-document-original.jsonld
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "@context": "https://json-ld.org/contexts/person.html",
- "@id": "http://dbpedia.org/resource/John_Lennon",
- "name": "John Lennon",
- "born": "1940-10-09",
- "spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
-}
\ No newline at end of file
diff --git a/examples/Referencing-a-Context-in-an-HTML-document-statements.table b/examples/Referencing-a-Context-in-an-HTML-document-statements.table
deleted file mode 100644
index d4586ec6..00000000
--- a/examples/Referencing-a-Context-in-an-HTML-document-statements.table
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-Subject |
-Property |
-Value |
-Value Type |
-
-
-
-http://dbpedia.org/resource/John_Lennon |
-foaf:name |
-John Lennon |
- |
-
-
-http://dbpedia.org/resource/John_Lennon |
-schema:birthDate |
-1940-10-09 |
-xsd:date |
-
-
-http://dbpedia.org/resource/John_Lennon |
-schema:spouse |
-http://dbpedia.org/resource/Cynthia_Lennon |
- |
-
-
-
diff --git a/examples/Referencing-a-Context-in-an-HTML-document-turtle.ttl b/examples/Referencing-a-Context-in-an-HTML-document-turtle.ttl
deleted file mode 100644
index 58774790..00000000
--- a/examples/Referencing-a-Context-in-an-HTML-document-turtle.ttl
+++ /dev/null
@@ -1,6 +0,0 @@
-@prefix foaf: .
-@prefix schema: .
-@prefix xsd: .
- foaf:name "John Lennon";
- schema:birthDate "1940-10-09"^^xsd:date;
- schema:spouse .
\ No newline at end of file
diff --git a/examples/Referencing-a-JSON-LD-context-original.jsonld b/examples/Referencing-a-JSON-LD-context-compacted.jsonld
similarity index 100%
rename from examples/Referencing-a-JSON-LD-context-original.jsonld
rename to examples/Referencing-a-JSON-LD-context-compacted.jsonld
diff --git a/examples/Referencing-an-unidentified-node-original.jsonld b/examples/Referencing-an-unidentified-node-compacted.jsonld
similarity index 100%
rename from examples/Referencing-an-unidentified-node-original.jsonld
rename to examples/Referencing-an-unidentified-node-compacted.jsonld
diff --git a/examples/Referencing-named-graphs-using-an-id-map-original.jsonld b/examples/Referencing-named-graphs-using-an-id-map-compacted.jsonld
similarity index 82%
rename from examples/Referencing-named-graphs-using-an-id-map-original.jsonld
rename to examples/Referencing-named-graphs-using-an-id-map-compacted.jsonld
index 49023c23..b9363781 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-original.jsonld
+++ b/examples/Referencing-named-graphs-using-an-id-map-compacted.jsonld
@@ -3,7 +3,7 @@
"@version": 1.1,
"generatedAt": {
"@id": "http://www.w3.org/ns/prov#generatedAtTime",
- "@type": "http://www.w3.org/2001/XMLSchema#date"
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Person": "http://xmlns.com/foaf/0.1/Person",
"name": "http://xmlns.com/foaf/0.1/name",
@@ -17,15 +17,15 @@
}
},
"@id": "http://example.org/foaf-graph",
- "generatedAt": "2012-04-09",
+ "generatedAt": "2012-04-09T00:00:00",
"graphMap": {
- "http://manu.sporny.org/about#manu": {
+ "http://manu.sporny.org/about": {
"@id": "http://manu.sporny.org/about#manu",
"@type": "Person",
"name": "Manu Sporny",
"knows": "https://greggkellogg.net/foaf#me"
},
- "https://greggkellogg.net/foaf#me": {
+ "https://greggkellogg.net/foaf": {
"@id": "https://greggkellogg.net/foaf#me",
"@type": "Person",
"name": "Gregg Kellogg",
diff --git a/examples/Referencing-named-graphs-using-an-id-map-expanded.jsonld b/examples/Referencing-named-graphs-using-an-id-map-expanded.jsonld
index a128d222..76d811ad 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-expanded.jsonld
+++ b/examples/Referencing-named-graphs-using-an-id-map-expanded.jsonld
@@ -1,8 +1,8 @@
[{
"@id": "http://example.org/foaf-graph",
"http://www.w3.org/ns/prov#generatedAtTime": [{
- "@value": "2012-04-09",
- "@type": "http://www.w3.org/2001/XMLSchema#date"
+ "@value": "2012-04-09T00:00:00",
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
}],
"http://example.org/graphMap": [{
"@graph": [{
@@ -15,7 +15,7 @@
{"@value": "Manu Sporny"}
]
}],
- "@id": "http://manu.sporny.org/about#manu"
+ "@id": "http://manu.sporny.org/about"
}, {
"@graph": [{
"@id": "https://greggkellogg.net/foaf#me",
@@ -27,6 +27,6 @@
{"@value": "Gregg Kellogg"}
]
}],
- "@id": "https://greggkellogg.net/foaf#me"
+ "@id": "https://greggkellogg.net/foaf"
}]
}]
\ No newline at end of file
diff --git a/examples/Referencing-named-graphs-using-an-id-map-statements.table b/examples/Referencing-named-graphs-using-an-id-map-statements.table
index 4d593191..545319fd 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-statements.table
+++ b/examples/Referencing-named-graphs-using-an-id-map-statements.table
@@ -12,60 +12,60 @@
|
http://example.org/foaf-graph |
http://example.org/graphMap |
-https://greggkellogg.net/foaf#me |
+https://greggkellogg.net/foaf |
|
|
http://example.org/foaf-graph |
http://example.org/graphMap |
-http://manu.sporny.org/about#manu |
+http://manu.sporny.org/about |
|
|
http://example.org/foaf-graph |
prov:generatedAtTime |
-2012-04-09 |
-xsd:date |
+2012-04-09T00:00:00 |
+xsd:dateTime |
-https://greggkellogg.net/foaf#me |
+https://greggkellogg.net/foaf |
https://greggkellogg.net/foaf#me |
rdf:type |
foaf:Person |
|
-https://greggkellogg.net/foaf#me |
+https://greggkellogg.net/foaf |
https://greggkellogg.net/foaf#me |
foaf:name |
Gregg Kellogg |
|
-https://greggkellogg.net/foaf#me |
+https://greggkellogg.net/foaf |
https://greggkellogg.net/foaf#me |
foaf:knows |
http://manu.sporny.org/about#manu |
|
-http://manu.sporny.org/about#manu |
+http://manu.sporny.org/about |
http://manu.sporny.org/about#manu |
rdf:type |
foaf:Person |
|
-http://manu.sporny.org/about#manu |
+http://manu.sporny.org/about |
http://manu.sporny.org/about#manu |
foaf:name |
Manu Sporny |
|
-http://manu.sporny.org/about#manu |
+http://manu.sporny.org/about |
http://manu.sporny.org/about#manu |
foaf:knows |
https://greggkellogg.net/foaf#me |
diff --git a/examples/Referencing-named-graphs-using-an-id-map-trig.trig b/examples/Referencing-named-graphs-using-an-id-map-trig.trig
index f2d11d87..2f357b82 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-trig.trig
+++ b/examples/Referencing-named-graphs-using-an-id-map-trig.trig
@@ -4,15 +4,15 @@
@prefix xsd: .
- ,
- ;
- prov:generatedAtTime "2012-04-09"^^xsd:date .
- {
+ ,
+ ;
+ prov:generatedAtTime "2012-04-09T00:00:00"^^xsd:dateTime .
+ {
a foaf:Person;
foaf:knows ;
foaf:name "Gregg Kellogg" .
}
- {
+ {
a foaf:Person;
foaf:knows ;
foaf:name "Manu Sporny" .
diff --git a/examples/Referencing-named-graphs-using-an-id-map-with-none-original.jsonld b/examples/Referencing-named-graphs-using-an-id-map-with-none-compacted.jsonld
similarity index 89%
rename from examples/Referencing-named-graphs-using-an-id-map-with-none-original.jsonld
rename to examples/Referencing-named-graphs-using-an-id-map-with-none-compacted.jsonld
index 2f2bad69..3669e7e8 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-with-none-original.jsonld
+++ b/examples/Referencing-named-graphs-using-an-id-map-with-none-compacted.jsonld
@@ -3,7 +3,7 @@
"@version": 1.1,
"generatedAt": {
"@id": "http://www.w3.org/ns/prov#generatedAtTime",
- "@type": "http://www.w3.org/2001/XMLSchema#date"
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Person": "http://xmlns.com/foaf/0.1/Person",
"name": "http://xmlns.com/foaf/0.1/name",
@@ -14,7 +14,7 @@
}
},
"@id": "http://example.org/foaf-graph",
- "generatedAt": "2012-04-09",
+ "generatedAt": "2012-04-09T00:00:00",
"graphMap": {
"@none": [{
"@id": "http://manu.sporny.org/about#manu",
diff --git a/examples/Referencing-named-graphs-using-an-id-map-with-none-expanded.jsonld b/examples/Referencing-named-graphs-using-an-id-map-with-none-expanded.jsonld
index 3bc8fef0..65012332 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-with-none-expanded.jsonld
+++ b/examples/Referencing-named-graphs-using-an-id-map-with-none-expanded.jsonld
@@ -1,8 +1,8 @@
[{
"@id": "http://example.org/foaf-graph",
"http://www.w3.org/ns/prov#generatedAtTime": [{
- "@value": "2012-04-09",
- "@type": "http://www.w3.org/2001/XMLSchema#date"
+ "@value": "2012-04-09T00:00:00",
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
}],
"http://example.org/graphMap": [{
"@graph": [{
diff --git a/examples/Referencing-named-graphs-using-an-id-map-with-none-statements.table b/examples/Referencing-named-graphs-using-an-id-map-with-none-statements.table
index 15719108..c6984762 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-with-none-statements.table
+++ b/examples/Referencing-named-graphs-using-an-id-map-with-none-statements.table
@@ -12,8 +12,8 @@
|
http://example.org/foaf-graph |
prov:generatedAtTime |
-2012-04-09 |
-xsd:date |
+2012-04-09T00:00:00 |
+xsd:dateTime |
|
diff --git a/examples/Referencing-named-graphs-using-an-id-map-with-none-trig.trig b/examples/Referencing-named-graphs-using-an-id-map-with-none-trig.trig
index 83e24d8c..d7716918 100644
--- a/examples/Referencing-named-graphs-using-an-id-map-with-none-trig.trig
+++ b/examples/Referencing-named-graphs-using-an-id-map-with-none-trig.trig
@@ -3,7 +3,7 @@
@prefix rdf: .
@prefix xsd: .
_:b0, _:b1;
- prov:generatedAtTime "2012-04-09"^^xsd:date .
+ prov:generatedAtTime "2012-04-09T00:00:00"^^xsd:dateTime .
_:b0 {
a foaf:Person;
foaf:name "Manu Sporny";
diff --git a/examples/Referencing-node-objects-original.jsonld b/examples/Referencing-node-objects-compacted.jsonld
similarity index 100%
rename from examples/Referencing-node-objects-original.jsonld
rename to examples/Referencing-node-objects-compacted.jsonld
diff --git a/examples/Result-of-sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.jsonld b/examples/Result-of-sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.jsonld
new file mode 100644
index 00000000..5b03349d
--- /dev/null
+++ b/examples/Result-of-sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.jsonld
@@ -0,0 +1,16 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "MyType": {
+ "@id": "http://example.com/vocab#MyType",
+ "@context": {
+ "@version": 1.1,
+ "Type1": "http://example.com/vocab/Type1",
+ "Type2": "http://example.com/vocab/Type2",
+ "term1": "http://example.com/vocab#term1",
+ "term2": "http://example.com/vocab#term2",
+ "@propagate": true
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Result-of-sourcing-a-context-to-modify-vocab-and-a-term-definition.jsonld b/examples/Result-of-sourcing-a-context-to-modify-vocab-and-a-term-definition.jsonld
new file mode 100644
index 00000000..6ecf9b1f
--- /dev/null
+++ b/examples/Result-of-sourcing-a-context-to-modify-vocab-and-a-term-definition.jsonld
@@ -0,0 +1,13 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "Type1": "http://example.com/vocab/Type1",
+ "Type2": "http://example.com/vocab/Type2",
+ "term1": {
+ "@id": "http://example.org/vocab#term1",
+ "@type": "http://www.w3.org/2001/XMLSchema#integer"
+ },
+ "term2": "http://example.com/vocab#term2",
+ "@vocab": "http://example.org/vocab#"
+ }
+}
\ No newline at end of file
diff --git a/examples/Same-book-description-in-JSON-LD-avoiding-contexts-.jsonld b/examples/Same-book-description-in-JSON-LD-avoiding-contexts-.jsonld
index bf62038f..cfcc147e 100644
--- a/examples/Same-book-description-in-JSON-LD-avoiding-contexts-.jsonld
+++ b/examples/Same-book-description-in-JSON-LD-avoiding-contexts-.jsonld
@@ -2,8 +2,8 @@
{
"@id": "http://purl.oreilly.com/works/45U8QJGZSQKDH8N",
"@type": "http://purl.org/vocab/frbr/core#Work",
- "http://purl.org/dc/terms/title": "Just a Geek",
- "http://purl.org/dc/terms/creator": "Wil Wheaton",
+ "http://purl.org/dc/elements/1.1/title": "Just a Geek",
+ "http://purl.org/dc/elements/1.1/creator": "Wil Wheaton",
"http://purl.org/vocab/frbr/core#realization":
[
{"@id": "http://purl.oreilly.com/products/9780596007683.BOOK"},
@@ -12,10 +12,10 @@
}, {
"@id": "http://purl.oreilly.com/products/9780596007683.BOOK",
"@type": "http://purl.org/vocab/frbr/core#Expression",
- "http://purl.org/dc/terms/type": {"@id": "http://purl.oreilly.com/product-types/BOOK"}
+ "http://purl.org/dc/elements/1.1/type": {"@id": "http://purl.oreilly.com/product-types/BOOK"}
}, {
"@id": "http://purl.oreilly.com/products/9780596802189.EBOOK",
"@type": "http://purl.org/vocab/frbr/core#Expression",
- "http://purl.org/dc/terms/type": {"@id": "http://purl.oreilly.com/product-types/EBOOK"}
+ "http://purl.org/dc/elements/1.1/type": {"@id": "http://purl.oreilly.com/product-types/EBOOK"}
}
]
\ No newline at end of file
diff --git a/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-compacted.jsonld b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-compacted.jsonld
new file mode 100644
index 00000000..fb809dab
--- /dev/null
+++ b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-compacted.jsonld
@@ -0,0 +1,10 @@
+{
+ "@context": {
+ "title": "http://example.org/title",
+ "publisher": "http://example.org/publisher",
+ "@language": "ar-EG",
+ "@direction": "rtl"
+ },
+ "title": "HTML و CSS: تصميم و إنشاء مواقع الويب",
+ "publisher": "مكتبة"
+}
\ No newline at end of file
diff --git a/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-expanded.jsonld b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-expanded.jsonld
new file mode 100644
index 00000000..0092c7ab
--- /dev/null
+++ b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-expanded.jsonld
@@ -0,0 +1,4 @@
+[{
+ "http://example.org/title": [{"@value": "HTML و CSS: تصميم و إنشاء مواقع الويب", "@language": "ar-eg", "@direction": "rtl"}],
+ "http://example.org/publisher": [{"@value": "مكتبة", "@language": "ar-eg", "@direction": "rtl"}]
+}]
\ No newline at end of file
diff --git a/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-statements.table b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-statements.table
new file mode 100644
index 00000000..a3e58634
--- /dev/null
+++ b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-statements.table
@@ -0,0 +1,26 @@
+
+
+
+Subject |
+Property |
+Value |
+Language |
+Direction |
+
+
+
+_:b0 |
+http://example.org/title |
+HTML و CSS: تصميم و إنشاء مواقع الويب |
+ar-eg |
+rtl |
+
+
+_:b0 |
+http://example.org/publisher |
+مكتبة |
+ar-eg |
+rtl |
+
+
+
diff --git a/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-turtle.ttl b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-turtle.ttl
new file mode 100644
index 00000000..b590f46e
--- /dev/null
+++ b/examples/Setting-the-default-base-direction-of-a-JSON-LD-document-turtle.ttl
@@ -0,0 +1,6 @@
+@prefix ex: .
+# Note that this version drops the base direction.
+[
+ ex:title "HTML و CSS: تصميم و إنشاء مواقع الويب"@ar-eg;
+ ex:publisher "مكتبة"@ar-eg
+] .
\ No newline at end of file
diff --git a/examples/Setting-the-default-language-of-a-JSON-LD-document-original.jsonld b/examples/Setting-the-default-language-of-a-JSON-LD-document-compacted.jsonld
similarity index 100%
rename from examples/Setting-the-default-language-of-a-JSON-LD-document-original.jsonld
rename to examples/Setting-the-default-language-of-a-JSON-LD-document-compacted.jsonld
diff --git a/examples/Setting-the-default-language-of-a-JSON-LD-document-statements.table b/examples/Setting-the-default-language-of-a-JSON-LD-document-statements.table
index db22e713..1cc92afe 100644
--- a/examples/Setting-the-default-language-of-a-JSON-LD-document-statements.table
+++ b/examples/Setting-the-default-language-of-a-JSON-LD-document-statements.table
@@ -10,13 +10,13 @@
_:b0 |
http://example.org/name |
-花澄 |
+花澄 |
ja |
_:b0 |
http://example.org/occupation |
-科学者 |
+科学者 |
ja |
diff --git a/examples/Setting-the-document-base-in-a-document-original.jsonld b/examples/Setting-the-document-base-in-a-document-compacted.jsonld
similarity index 100%
rename from examples/Setting-the-document-base-in-a-document-original.jsonld
rename to examples/Setting-the-document-base-in-a-document-compacted.jsonld
diff --git a/examples/Sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.jsonld b/examples/Sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.jsonld
new file mode 100644
index 00000000..c3931ad1
--- /dev/null
+++ b/examples/Sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.jsonld
@@ -0,0 +1,13 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "MyType": {
+ "@id": "http://example.com/vocab#MyType",
+ "@context": {
+ "@version": 1.1,
+ "@import": "https://json-ld.org/contexts/remote-context.jsonld",
+ "@propagate": true
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Sourcing-a-context-to-modify-vocab-and-a-term-definition.jsonld b/examples/Sourcing-a-context-to-modify-vocab-and-a-term-definition.jsonld
new file mode 100644
index 00000000..699bae11
--- /dev/null
+++ b/examples/Sourcing-a-context-to-modify-vocab-and-a-term-definition.jsonld
@@ -0,0 +1,11 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "@import": "https://json-ld.org/contexts/remote-context.jsonld",
+ "@vocab": "http://example.org/vocab#",
+ "term1": {
+ "@id": "http://example.org/vocab#term1",
+ "@type": "http://www.w3.org/2001/XMLSchema#integer"
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Specifying-a-local-blank-node-identifier-original.jsonld b/examples/Specifying-a-local-blank-node-identifier-compacted.jsonld
similarity index 100%
rename from examples/Specifying-a-local-blank-node-identifier-original.jsonld
rename to examples/Specifying-a-local-blank-node-identifier-compacted.jsonld
diff --git a/examples/Specifying-multiple-types-for-a-node-original.jsonld b/examples/Specifying-multiple-types-for-a-node-compacted.jsonld
similarity index 100%
rename from examples/Specifying-multiple-types-for-a-node-original.jsonld
rename to examples/Specifying-multiple-types-for-a-node-compacted.jsonld
diff --git a/examples/Specifying-that-a-collection-is-ordered-in-the-context-original.jsonld b/examples/Specifying-that-a-collection-is-ordered-in-the-context-compacted.jsonld
similarity index 100%
rename from examples/Specifying-that-a-collection-is-ordered-in-the-context-original.jsonld
rename to examples/Specifying-that-a-collection-is-ordered-in-the-context-compacted.jsonld
diff --git a/examples/Specifying-that-a-collection-is-unordered-in-the-context-original.jsonld b/examples/Specifying-that-a-collection-is-unordered-in-the-context-compacted.jsonld
similarity index 100%
rename from examples/Specifying-that-a-collection-is-unordered-in-the-context-original.jsonld
rename to examples/Specifying-that-a-collection-is-unordered-in-the-context-compacted.jsonld
diff --git a/examples/Specifying-the-type-for-a-node-original.jsonld b/examples/Specifying-the-type-for-a-node-compacted.jsonld
similarity index 100%
rename from examples/Specifying-the-type-for-a-node-original.jsonld
rename to examples/Specifying-the-type-for-a-node-compacted.jsonld
diff --git a/examples/Statements-associated-with-expanded-term-definition-with-language-and-direction.table b/examples/Statements-associated-with-expanded-term-definition-with-language-and-direction.table
new file mode 100644
index 00000000..6c7f6b0f
--- /dev/null
+++ b/examples/Statements-associated-with-expanded-term-definition-with-language-and-direction.table
@@ -0,0 +1,33 @@
+
+
+
+Subject |
+Property |
+Value |
+Language |
+Direction |
+
+
+
+_:b0 |
+http://example.com/vocab/publisher |
+مكتبة |
+ar-eg |
+ |
+
+
+_:b0 |
+http://example.com/vocab/title |
+HTML و CSS: تصميم و إنشاء مواقع الويب |
+ar-eg |
+rtl |
+
+
+_:b0 |
+http://example.com/vocab/title |
+HTML and CSS: Design and Build Websites |
+en |
+ltr |
+
+
+
diff --git a/examples/Targeting-a-specific-script-element-by-id-original.html b/examples/Targeting-a-specific-script-element-by-id-compacted.html
similarity index 100%
rename from examples/Targeting-a-specific-script-element-by-id-original.html
rename to examples/Targeting-a-specific-script-element-by-id-compacted.html
diff --git a/examples/Targeting-a-specific-script-element-by-id-statements.table b/examples/Targeting-a-specific-script-element-by-id-statements.table
index e9c53337..72f64c57 100644
--- a/examples/Targeting-a-specific-script-element-by-id-statements.table
+++ b/examples/Targeting-a-specific-script-element-by-id-statements.table
@@ -1,5 +1,5 @@
-
+
Subject |
Property |
diff --git a/examples/Term-definitions-using-compact-and-absolute-IRIs-original.jsonld b/examples/Term-definitions-using-compact-and-absolute-IRIs-compacted.jsonld
similarity index 100%
rename from examples/Term-definitions-using-compact-and-absolute-IRIs-original.jsonld
rename to examples/Term-definitions-using-compact-and-absolute-IRIs-compacted.jsonld
diff --git a/examples/Terms-not-expanded-when-document-relative-original.jsonld b/examples/Term-expansion-for-values-not-identifiers-compacted.jsonld
similarity index 72%
rename from examples/Terms-not-expanded-when-document-relative-original.jsonld
rename to examples/Term-expansion-for-values-not-identifiers-compacted.jsonld
index 5ff3deb4..535df253 100644
--- a/examples/Terms-not-expanded-when-document-relative-original.jsonld
+++ b/examples/Term-expansion-for-values-not-identifiers-compacted.jsonld
@@ -2,9 +2,10 @@
"@context": {
"@base": "http://example1.com/",
"@vocab": "http://example2.com/",
- "fred": {"@type": "@id"}
+ "knows": {"@type": "@vocab"}
},
- "fred": [
+ "@id": "fred",
+ "knows": [
{"@id": "barney", "mnemonic": "the sidekick"},
"barney"
]
diff --git a/examples/Term-expansion-for-values-not-identifiers-expanded.jsonld b/examples/Term-expansion-for-values-not-identifiers-expanded.jsonld
index 51d8ae3f..27b79f47 100644
--- a/examples/Term-expansion-for-values-not-identifiers-expanded.jsonld
+++ b/examples/Term-expansion-for-values-not-identifiers-expanded.jsonld
@@ -1,11 +1,9 @@
[{
- "http://example2.com/fred": [
- {
- "@id": "http://example1.com/barney",
- "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
- },
- {
- "@id": "http://example2.com/barney"
- }
- ]
+ "@id": "http://example1.com/fred",
+ "http://example2.com/knows": [{
+ "@id": "http://example1.com/barney",
+ "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
+ }, {
+ "@id": "http://example2.com/barney"
+ }]
}]
\ No newline at end of file
diff --git a/examples/Term-expansion-for-values-not-identifiers-statements.table b/examples/Term-expansion-for-values-not-identifiers-statements.table
index 21efa626..da1650dd 100644
--- a/examples/Term-expansion-for-values-not-identifiers-statements.table
+++ b/examples/Term-expansion-for-values-not-identifiers-statements.table
@@ -12,13 +12,13 @@
the sidekick |
-_:b0 |
-http://example2.com/fred |
+http://example1.com/fred |
+http://example2.com/knows |
http://example1.com/barney |
-_:b0 |
-http://example2.com/fred |
+http://example1.com/fred |
+http://example2.com/knows |
http://example2.com/barney |
diff --git a/examples/Term-expansion-for-values-not-identifiers-turtle.ttl b/examples/Term-expansion-for-values-not-identifiers-turtle.ttl
index abf5bdea..01cc3550 100644
--- a/examples/Term-expansion-for-values-not-identifiers-turtle.ttl
+++ b/examples/Term-expansion-for-values-not-identifiers-turtle.ttl
@@ -2,4 +2,4 @@
@prefix ex1: .
@prefix ex2: .
ex1:barney ex2:mnemonic "the sidekick" .
-[ ex2:fred ex2:barney, ex1:barney] .
\ No newline at end of file
+ex1:fred ex2:knows ex1:barney, ex2:barney .
\ No newline at end of file
diff --git a/examples/Term-expansion-from-context-definition-original.jsonld b/examples/Term-expansion-from-context-definition-compacted.jsonld
similarity index 100%
rename from examples/Term-expansion-from-context-definition-original.jsonld
rename to examples/Term-expansion-from-context-definition-compacted.jsonld
diff --git a/examples/Term-expansion-for-values-not-identifiers-original.jsonld b/examples/Terms-not-expanded-when-document-relative-compacted.jsonld
similarity index 73%
rename from examples/Term-expansion-for-values-not-identifiers-original.jsonld
rename to examples/Terms-not-expanded-when-document-relative-compacted.jsonld
index 474b14ca..4b147ddf 100644
--- a/examples/Term-expansion-for-values-not-identifiers-original.jsonld
+++ b/examples/Terms-not-expanded-when-document-relative-compacted.jsonld
@@ -2,9 +2,10 @@
"@context": {
"@base": "http://example1.com/",
"@vocab": "http://example2.com/",
- "fred": {"@type": "@vocab"}
+ "knows": {"@type": "@id"}
},
- "fred": [
+ "@id": "fred",
+ "knows": [
{"@id": "barney", "mnemonic": "the sidekick"},
"barney"
]
diff --git a/examples/Terms-not-expanded-when-document-relative-expanded.jsonld b/examples/Terms-not-expanded-when-document-relative-expanded.jsonld
index 8c1d79cc..8b923b0f 100644
--- a/examples/Terms-not-expanded-when-document-relative-expanded.jsonld
+++ b/examples/Terms-not-expanded-when-document-relative-expanded.jsonld
@@ -1,11 +1,9 @@
[{
- "http://example2.com/fred": [
- {
- "@id": "http://example1.com/barney",
- "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
- },
- {
- "@id": "http://example1.com/barney"
- }
- ]
+ "@id": "http://example1.com/fred",
+ "http://example2.com/knows": [{
+ "@id": "http://example1.com/barney",
+ "http://example2.com/mnemonic": [{"@value": "the sidekick"}]
+ }, {
+ "@id": "http://example1.com/barney"
+ }]
}]
\ No newline at end of file
diff --git a/examples/Terms-not-expanded-when-document-relative-turtle.ttl b/examples/Terms-not-expanded-when-document-relative-turtle.ttl
index 8556f62e..ebfc86b8 100644
--- a/examples/Terms-not-expanded-when-document-relative-turtle.ttl
+++ b/examples/Terms-not-expanded-when-document-relative-turtle.ttl
@@ -2,4 +2,4 @@
@prefix ex1: .
@prefix ex2: .
ex1:barney ex2:mnemonic "the sidekick" .
-[] ex2:fred ex1:barney, ex1:barney.
\ No newline at end of file
+ex1:fred ex2:knows ex1:barney, ex1:barney .
\ No newline at end of file
diff --git a/examples/Type-coercion-original.jsonld b/examples/Type-coercion-compacted.jsonld
similarity index 100%
rename from examples/Type-coercion-original.jsonld
rename to examples/Type-coercion-compacted.jsonld
diff --git a/examples/Using-a-default-vocabulary-original.jsonld b/examples/Using-a-default-vocabulary-compacted.jsonld
similarity index 100%
rename from examples/Using-a-default-vocabulary-original.jsonld
rename to examples/Using-a-default-vocabulary-compacted.jsonld
diff --git a/examples/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-original.jsonld b/examples/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-compacted.jsonld
similarity index 100%
rename from examples/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-original.jsonld
rename to examples/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-compacted.jsonld
diff --git a/examples/Using-a-term-to-specify-the-type-original.jsonld b/examples/Using-a-term-to-specify-the-type-compacted.jsonld
similarity index 100%
rename from examples/Using-a-term-to-specify-the-type-original.jsonld
rename to examples/Using-a-term-to-specify-the-type-compacted.jsonld
diff --git a/examples/Using-an-expanded-form-to-set-multiple-values-original.jsonld b/examples/Using-an-expanded-form-to-set-multiple-values-compacted.jsonld
similarity index 100%
rename from examples/Using-an-expanded-form-to-set-multiple-values-original.jsonld
rename to examples/Using-an-expanded-form-to-set-multiple-values-compacted.jsonld
diff --git a/examples/Using-an-expanded-form-to-set-multiple-values-statements.table b/examples/Using-an-expanded-form-to-set-multiple-values-statements.table
index c0ef7dbc..bb814a9c 100644
--- a/examples/Using-an-expanded-form-to-set-multiple-values-statements.table
+++ b/examples/Using-an-expanded-form-to-set-multiple-values-statements.table
@@ -10,7 +10,7 @@
http://example.org/articles/8 |
dcterms:title |
- Das Kapital |
+ Das Kapital |
de |
diff --git a/examples/Using-as-the-vocabulary-mapping-expanded-statements.table b/examples/Using-as-the-vocabulary-mapping-expanded-statements.table
index 835492dd..833703e3 100644
--- a/examples/Using-as-the-vocabulary-mapping-expanded-statements.table
+++ b/examples/Using-as-the-vocabulary-mapping-expanded-statements.table
@@ -1,20 +1,20 @@
-
-
+
+
Subject |
Property |
Value |
-
-
+
+
http://example.org/places#BrewEats |
rdf:type |
http://example/document#Restaurant |
-
+
http://example.org/places#BrewEats |
http://example/document#name |
Brew Eats |
-
-
+
+
diff --git a/examples/Using-graph-to-explicitly-express-the-default-graph-original.jsonld b/examples/Using-graph-to-explicitly-express-the-default-graph-compacted.jsonld
similarity index 100%
rename from examples/Using-graph-to-explicitly-express-the-default-graph-original.jsonld
rename to examples/Using-graph-to-explicitly-express-the-default-graph-compacted.jsonld
diff --git a/examples/Using-multiple-contexts-original.jsonld b/examples/Using-multiple-contexts-compacted.jsonld
similarity index 100%
rename from examples/Using-multiple-contexts-original.jsonld
rename to examples/Using-multiple-contexts-compacted.jsonld
diff --git a/examples/Using-reverse-to-define-reverse-properties-original.jsonld b/examples/Using-reverse-to-define-reverse-properties-compacted.jsonld
similarity index 100%
rename from examples/Using-reverse-to-define-reverse-properties-original.jsonld
rename to examples/Using-reverse-to-define-reverse-properties-compacted.jsonld
diff --git a/examples/Using-the-document-base-URL-to-establish-the-default-base-IRI-original.html b/examples/Using-the-document-base-URL-to-establish-the-default-base-IRI-compacted.html
similarity index 100%
rename from examples/Using-the-document-base-URL-to-establish-the-default-base-IRI-original.html
rename to examples/Using-the-document-base-URL-to-establish-the-default-base-IRI-compacted.html
diff --git a/examples/Using-the-null-keyword-to-ignore-data-original.jsonld b/examples/Using-the-null-keyword-to-ignore-data-compacted.jsonld
similarity index 100%
rename from examples/Using-the-null-keyword-to-ignore-data-original.jsonld
rename to examples/Using-the-null-keyword-to-ignore-data-compacted.jsonld
diff --git a/examples/Using-vocabularies-original.jsonld b/examples/Using-vocabularies-compacted.jsonld
similarity index 100%
rename from examples/Using-vocabularies-original.jsonld
rename to examples/Using-vocabularies-compacted.jsonld
diff --git a/examples/overriding-permitted-in-property-scoped-context-original.jsonld b/examples/overriding-permitted-in-property-scoped-context-compacted.jsonld
similarity index 89%
rename from examples/overriding-permitted-in-property-scoped-context-original.jsonld
rename to examples/overriding-permitted-in-property-scoped-context-compacted.jsonld
index 6619da61..28879bcf 100644
--- a/examples/overriding-permitted-in-property-scoped-context-original.jsonld
+++ b/examples/overriding-permitted-in-property-scoped-context-compacted.jsonld
@@ -26,9 +26,7 @@
"@type": "Organization",
"name": "Digital Bazaar",
"employee" : {
- "name": "Sporny"
- },
- "location": {
- "name": "Blacksburg, Virginia"
+ "name": "Sporny",
+ "location": {"name": "Blacksburg, Virginia"}
}
}
\ No newline at end of file
diff --git a/examples/overriding-permitted-in-property-scoped-context-statements.table b/examples/overriding-permitted-in-property-scoped-context-statements.table
index 36dbe2c0..9480784b 100644
--- a/examples/overriding-permitted-in-property-scoped-context-statements.table
+++ b/examples/overriding-permitted-in-property-scoped-context-statements.table
@@ -27,7 +27,7 @@
Sporny |
-_:b0 |
+_:b1 |
foaf:based_near |
_:b2 |
diff --git a/examples/overriding-permitted-in-property-scoped-context-turtle.ttl b/examples/overriding-permitted-in-property-scoped-context-turtle.ttl
index e3ffd968..1e90fcba 100644
--- a/examples/overriding-permitted-in-property-scoped-context-turtle.ttl
+++ b/examples/overriding-permitted-in-property-scoped-context-turtle.ttl
@@ -4,9 +4,9 @@
a schema:Organization;
schema:name "Digital Bazaar";
schema:employee [
- schema:familyName "Sporny"
- ];
- foaf:based_near [
- foaf:name "Blacksburg, Virginia"
+ schema:familyName "Sporny";
+ foaf:based_near [
+ foaf:name "Blacksburg, Virginia"
+ ];
];
] .
\ No newline at end of file
diff --git a/index.html b/index.html
index 50dbf364..5bf80f5b 100644
--- a/index.html
+++ b/index.html
@@ -522,6 +522,11 @@ Syntax Tokens and Keywords
developers to express specific identifiers in a compact manner. The
@context
keyword is described in detail in
.
+ @direction
+ Used to set the base direction of a JSON-LD value,
+ which are not typed values (e.g. strings, or language-tagged strings).
+ This keyword is described in
+ .
@id
Used to uniquely identify node objects that are being described in the document
with IRIs or
@@ -669,6 +674,10 @@ Syntax Tokens and Keywords
prov |
http://www.w3.org/ns/prov# |
+
+ i18n |
+ https://www.w3.org/ns/i18n# |
+
rdf |
http://www.w3.org/1999/02/22-rdf-syntax-ns# |
@@ -4460,7 +4469,7 @@ Using the Document Base for the Default Vocabulary
When transformed into RDF, the JSON literal will have a lexical form based on
a specific serialization of the JSON,
- as described in Compaction algorithm of [[JSON-LD11-API]]
+ as described in Compaction algorithm of [[JSON-LD11-API]]
and the JSON datatype.
The following example shows an example of a JSON Literal contained as the
@@ -4944,7 +4953,6 @@
Using the Document Base for the Default Vocabulary
Using the Document Base for the Default Vocabulary
The example above would associate the ja
language
- code with the two strings 花澄 and 科学者.
- Languages codes are defined in [[BCP47]]. The default language applies to all
+ tag with the two strings 花澄 and 科学者
+ Languages tags are defined in [[BCP47]].
+ The default language applies to all
string values that are not type coerced.
To clear the default language for a subtree, @language
can
@@ -5062,11 +5071,11 @@
Using the Document Base for the Default Vocabulary
-->
- The example above would associate 忍者 with the specified default
- language code ja
, Ninja with the language code
- en
, and Nindža with the language code cs
.
- The value of name
, Yagyū Muneyoshi wouldn't be
- associated with any language code since @language
was reset to
+
The example above would associate 忍者 with the specified default
+ language tag ja
, Ninja with the language tag
+ en
, and Nindža with the language tag cs
.
+ The value of name
, Yagyū Muneyoshi wouldn't be
+ associated with any language tag since @language
was reset to
null in the expanded term definition.
Language associations are only applied to plain
@@ -5156,6 +5165,216 @@
Using the Document Base for the Default Vocabulary
See for a description
of using language maps to set the language of mapped values.
+
+
@@ -5298,7 +5517,7 @@ Using the Document Base for the Default Vocabulary
http://example.org/articles/8 |
dcterms:title |
- Das Kapital |
+ Das Kapital |
de |
@@ -7335,8 +7554,8 @@ Using the Document Base for the Default Vocabulary
Subject | Property | Value | Language |
http://example.com/queen | http://example.com/vocab/label | The Queen | en |
- http://example.com/queen | http://example.com/vocab/label | Die Königin | de |
- http://example.com/queen | http://example.com/vocab/label | Ihre Majestät | de |
+ http://example.com/queen | http://example.com/vocab/label | Die Königin | de |
+ http://example.com/queen | http://example.com/vocab/label | Ihre Majestät | de |
Data Model
JSON-LD is a serialization format for Linked Data based on JSON.
It is therefore important to distinguish between the syntax, which is
defined by JSON in [[RFC8259]], and the data model which is
- an extension of the RDF data model [[RDF11-CONCEPTS]]. The precise
- details of how JSON-LD relates to the RDF data model are given in
+ an extension of the RDF data model [[RDF11-CONCEPTS]].
+ The precise details of how JSON-LD relates to the RDF data model are given in
.
To ease understanding for developers unfamiliar with the RDF model, the
@@ -11320,6 +11539,9 @@
Data Model
The language tag MUST be well-formed according to section
2.2.9 Classes of Conformance
of [[BCP47]].
+
Either strings, or language-tagged strings may include
+ a base direction, which represents an extension to the underlying
+ RDF data model.
A list is a sequence of zero or more IRIs,
blank nodes, and JSON-LD values.
Lists are interpreted as
@@ -11744,13 +11966,17 @@ Graph Objects
Value Objects
A value object is used to explicitly associate a type or a
- language with a value to create a typed value or a language-tagged
- string.
+ language with a value to create a typed value or a language-tagged string
+ and possibly associate a base direction.
A value object MUST be a map containing the
@value
key. It MAY also contain an @type
,
- an @language
, an @index
, or an @context
key but MUST NOT contain
- both an @type
and an @language
key at the same time.
+ an @language
,
+ an `@direction`,
+ an @index
, or an @context
key but MUST NOT contain
+ both an @type
and either @language
+ or `@direction`
+ keys at the same time.
A value object MUST NOT contain any other keys that expand to an
absolute IRI or keyword.
@@ -11771,6 +11997,9 @@ Value Objects
The value associated with the @language
key MUST have the
lexical form described in [[BCP47]], or be null.
+ The value associated with the @direction
key MUST be
+ one of "ltr"
or "rtl"
, or be null.
+
The value associated with the @index
key MUST be a
string.
@@ -11786,10 +12015,15 @@ Value Patterns
extends a value object to allow
entries used specifically for framing.
@@ -11846,7 +12080,7 @@ Language Maps
or an array containing both @language
and @set
. The keys of a
language map MUST be strings representing
- [[BCP47]] language codes, the keyword @none
,
+ [[BCP47]] language tags, the keyword @none
,
or a term which expands to @none
,
and the values MUST be any of the following types:
@@ -12381,6 +12615,14 @@ Relationship to RDF
and false
. The JSON-LD 1.1 Processing Algorithms and API specification [[JSON-LD11-API]]
defines the conversion rules
between JSON's native data types and RDF's counterparts to allow round-tripping.
+ As an extension to the RDF data model,
+ literals without an explicit datatype
+ MAY include a base direction.
+ As there is currently no standardized mechanism for representing the base direction
+ of RDF literals, the JSON-LD to standard RDF transformation loses the base direction.
+ However, the Deserialize JSON-LD to RDF Algorithm
+ provides a means of representing base direction
+ using mechanisms which will preserve round-tripping through non-standard RDF.
The use of blank node identifiers to label properties is obsolete,
@@ -12597,6 +12839,108 @@
Serializing/Deserializing RDF
+
+
+
+
@@ -12625,23 +12969,23 @@ Internationalization Considerations
properly record JSON-LD Values which are strings with left-to-right or right-to-left direction indicators.
Both JSON-LD and RDF provide a mechanism for specifying the language associated with
a string (language-tagged string), but do not provide a means of indicating
- the base direction of the string.
+ the base direction of the string.
Unicode provides a mechanism for signaling direction within a string
(see [[[UAX9]]] [[UAX9]]),
- however, when a string has an overall base direction which cannot be determined by the
+ however, when a string has an overall base direction which cannot be determined by the
beginning of the string, an external indicator is required,
such as the [[HTML]] dir attribute,
which currently has no counterpart for RDF literals.
- The issue of properly representing text direction in RDF is not something that
+
The issue of properly representing base direction in RDF is not something that
this Working Group can handle, as it is a limitation or the core RDF data model.
This Working Group expects that a future RDF Working Group will consider the matter
- and add the ability to specify the text direction of language-tagged strings.
+ and add the ability to specify the base direction of language-tagged strings.
Until a more comprehensive solution can be addressed in a future version of this
specification, publishers should consider this issue when representing strings
- where the text direction of the string cannot otherwise be correctly inferred
+ where the base direction of the string cannot otherwise be correctly inferred
based on the content of the string.
See [[?string-meta]] for a discussion best practices for
identifying language and base direction for strings used on the Web.
@@ -13271,6 +13615,8 @@ Changes since JSON-LD Community Group Final Report
are not embedded as values of the containing node object.
The `alternate` link relation can be used to supply an alternate location for
retrieving a JSON-LD document when the returned document is not JSON.
+ Value objects, and associated context and term definitions have been updated to
+ support `@direction` for setting the base direction of strings.
diff --git a/yaml/A-document-with-children-linking-to-their-parent-original.yaml b/yaml/A-document-with-children-linking-to-their-parent-compacted.yaml
similarity index 79%
rename from yaml/A-document-with-children-linking-to-their-parent-original.yaml
rename to yaml/A-document-with-children-linking-to-their-parent-compacted.yaml
index efa241bb..7fb420ae 100644
--- a/yaml/A-document-with-children-linking-to-their-parent-original.yaml
+++ b/yaml/A-document-with-children-linking-to-their-parent-compacted.yaml
@@ -1,4 +1,4 @@
-Example 094: A document with children linking to their parent-original
+Example 111: A document with children linking to their parent-compacted
---
- "@id": "#homer"
http://example.com/vocab#name: Homer
diff --git a/yaml/A-document-with-children-linking-to-their-parent-expanded.yaml b/yaml/A-document-with-children-linking-to-their-parent-expanded.yaml
index bfd4d218..024318bc 100644
--- a/yaml/A-document-with-children-linking-to-their-parent-expanded.yaml
+++ b/yaml/A-document-with-children-linking-to-their-parent-expanded.yaml
@@ -1,4 +1,4 @@
-Example 094: A document with children linking to their parent-expanded
+Example 111: A document with children linking to their parent-expanded
---
- "@id": http://example.org/#homer
http://example.com/vocab#name:
diff --git a/yaml/A-person-and-its-children-using-a-reverse-property-original.yaml b/yaml/A-person-and-its-children-using-a-reverse-property-compacted.yaml
similarity index 75%
rename from yaml/A-person-and-its-children-using-a-reverse-property-original.yaml
rename to yaml/A-person-and-its-children-using-a-reverse-property-compacted.yaml
index 6683dbfb..6ee42b0a 100644
--- a/yaml/A-person-and-its-children-using-a-reverse-property-original.yaml
+++ b/yaml/A-person-and-its-children-using-a-reverse-property-compacted.yaml
@@ -1,4 +1,4 @@
-Example 095: A person and its children using a reverse property-original
+Example 112: A person and its children using a reverse property-compacted
---
"@id": "#homer"
http://example.com/vocab#name: Homer
diff --git a/yaml/A-person-and-its-children-using-a-reverse-property-expanded.yaml b/yaml/A-person-and-its-children-using-a-reverse-property-expanded.yaml
index 0ebc53b1..1488600e 100644
--- a/yaml/A-person-and-its-children-using-a-reverse-property-expanded.yaml
+++ b/yaml/A-person-and-its-children-using-a-reverse-property-expanded.yaml
@@ -1,4 +1,4 @@
-Example 095: A person and its children using a reverse property-expanded
+Example 112: A person and its children using a reverse property-expanded
---
- "@id": http://example.org/#homer
http://example.com/vocab#name:
diff --git a/yaml/A-person-and-its-children-using-a-reverse-property-flattened.yaml b/yaml/A-person-and-its-children-using-a-reverse-property-flattened.yaml
index 0310581f..1a850cb3 100644
--- a/yaml/A-person-and-its-children-using-a-reverse-property-flattened.yaml
+++ b/yaml/A-person-and-its-children-using-a-reverse-property-flattened.yaml
@@ -1,4 +1,4 @@
-Example 095: A person and its children using a reverse property-flattened
+Example 112: A person and its children using a reverse property-flattened
---
- "@id": http://example.org/#homer
http://example.com/vocab#name:
diff --git a/yaml/A-protected-context-with-an-exception-original.yaml b/yaml/A-protected-context-with-an-exception-compacted.yaml
similarity index 83%
rename from yaml/A-protected-context-with-an-exception-original.yaml
rename to yaml/A-protected-context-with-an-exception-compacted.yaml
index c43180ba..c02b16e2 100644
--- a/yaml/A-protected-context-with-an-exception-original.yaml
+++ b/yaml/A-protected-context-with-an-exception-compacted.yaml
@@ -1,4 +1,4 @@
-Example 048: A protected @context with an exception-original
+Example 055: A protected @context with an exception-compacted
---
"@context":
- "@version": 1.1
diff --git a/yaml/A-protected-context-with-an-exception-expanded.yaml b/yaml/A-protected-context-with-an-exception-expanded.yaml
index 27039b05..12987051 100644
--- a/yaml/A-protected-context-with-an-exception-expanded.yaml
+++ b/yaml/A-protected-context-with-an-exception-expanded.yaml
@@ -1,4 +1,4 @@
-Example 048: A protected @context with an exception-expanded
+Example 055: A protected @context with an exception-expanded
---
- http://schema.org/name:
- "@value": Digital Bazaar
diff --git a/yaml/A-remote-context-to-be-imported-in-a-type-scoped-context.yaml b/yaml/A-remote-context-to-be-imported-in-a-type-scoped-context.yaml
new file mode 100644
index 00000000..3d4a6282
--- /dev/null
+++ b/yaml/A-remote-context-to-be-imported-in-a-type-scoped-context.yaml
@@ -0,0 +1,7 @@
+Example 049: A remote context to be imported in a type-scoped context
+---
+"@context":
+ Type1: http://example.com/vocab/Type1
+ Type2: http://example.com/vocab/Type2
+ term1: http://example.com/vocab#term1
+ term2: http://example.com/vocab#term2
diff --git a/yaml/Aliasing-keywords-original.yaml b/yaml/Aliasing-keywords-compacted.yaml
similarity index 80%
rename from yaml/Aliasing-keywords-original.yaml
rename to yaml/Aliasing-keywords-compacted.yaml
index 4e0478fb..202363be 100644
--- a/yaml/Aliasing-keywords-original.yaml
+++ b/yaml/Aliasing-keywords-compacted.yaml
@@ -1,4 +1,4 @@
-Example 037: Aliasing keywords-original
+Example 037: Aliasing keywords-compacted
---
"@context":
url: "@id"
diff --git a/yaml/An-ordered-collection-of-values-in-JSON-LD-original.yaml b/yaml/An-ordered-collection-of-values-in-JSON-LD-compacted.yaml
similarity index 67%
rename from yaml/An-ordered-collection-of-values-in-JSON-LD-original.yaml
rename to yaml/An-ordered-collection-of-values-in-JSON-LD-compacted.yaml
index 452c764e..9022bb3e 100644
--- a/yaml/An-ordered-collection-of-values-in-JSON-LD-original.yaml
+++ b/yaml/An-ordered-collection-of-values-in-JSON-LD-compacted.yaml
@@ -1,4 +1,4 @@
-Example 068: An ordered collection of values in JSON-LD-original
+Example 080: An ordered collection of values in JSON-LD-compacted
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/An-ordered-collection-of-values-in-JSON-LD-expanded.yaml b/yaml/An-ordered-collection-of-values-in-JSON-LD-expanded.yaml
index e0102eae..22ca1947 100644
--- a/yaml/An-ordered-collection-of-values-in-JSON-LD-expanded.yaml
+++ b/yaml/An-ordered-collection-of-values-in-JSON-LD-expanded.yaml
@@ -1,4 +1,4 @@
-Example 068: An ordered collection of values in JSON-LD-expanded
+Example 080: An ordered collection of values in JSON-LD-expanded
---
- "@id": http://example.org/people#joebob
http://xmlns.com/foaf/0.1/nick:
diff --git a/yaml/An-unordered-collection-of-values-in-JSON-LD-original.yaml b/yaml/An-unordered-collection-of-values-in-JSON-LD-compacted.yaml
similarity index 67%
rename from yaml/An-unordered-collection-of-values-in-JSON-LD-original.yaml
rename to yaml/An-unordered-collection-of-values-in-JSON-LD-compacted.yaml
index 7685b558..772549c2 100644
--- a/yaml/An-unordered-collection-of-values-in-JSON-LD-original.yaml
+++ b/yaml/An-unordered-collection-of-values-in-JSON-LD-compacted.yaml
@@ -1,4 +1,4 @@
-Example 072: An unordered collection of values in JSON-LD-original
+Example 084: An unordered collection of values in JSON-LD-compacted
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/An-unordered-collection-of-values-in-JSON-LD-expanded.yaml b/yaml/An-unordered-collection-of-values-in-JSON-LD-expanded.yaml
index 7607d5a3..ff9cff32 100644
--- a/yaml/An-unordered-collection-of-values-in-JSON-LD-expanded.yaml
+++ b/yaml/An-unordered-collection-of-values-in-JSON-LD-expanded.yaml
@@ -1,4 +1,4 @@
-Example 072: An unordered collection of values in JSON-LD-expanded
+Example 084: An unordered collection of values in JSON-LD-expanded
---
- "@id": http://example.org/people#joebob
http://xmlns.com/foaf/0.1/nick:
diff --git a/yaml/Clearing-default-language.yaml b/yaml/Clearing-default-language.yaml
index 93e9ebd0..02873372 100644
--- a/yaml/Clearing-default-language.yaml
+++ b/yaml/Clearing-default-language.yaml
@@ -1,9 +1,13 @@
-Example 060: Clearing default language
+Example 074: Clearing default language
---
"@context":
- "@language": ja
-name: 花澄
+ "@version": 1.1
+ "@vocab": http://example.com/
+ "@language": ar-EG
+ "@direction": rtl
+ details:
+ "@context":
+ "@direction":
+title: 'HTML و CSS: تصميم و إنشاء مواقع الويب'
details:
- "@context":
- "@language":
- occupation: Ninja
+ genre: Technical Publication
diff --git a/yaml/Coercing-Values-to-Strings-compacted.yaml b/yaml/Coercing-Values-to-Strings-compacted.yaml
index b4cb8247..9c453807 100644
--- a/yaml/Coercing-Values-to-Strings-compacted.yaml
+++ b/yaml/Coercing-Values-to-Strings-compacted.yaml
@@ -1,4 +1,4 @@
-Example 112: Coercing Values to Strings-compacted
+Example 129: Coercing Values to Strings-compacted
---
"@context":
"@vocab": http://example.com/
diff --git a/yaml/Coercing-Values-to-Strings-context.yaml b/yaml/Coercing-Values-to-Strings-context.yaml
index 4c378881..27558548 100644
--- a/yaml/Coercing-Values-to-Strings-context.yaml
+++ b/yaml/Coercing-Values-to-Strings-context.yaml
@@ -1,4 +1,4 @@
-Example 112: Coercing Values to Strings-context
+Example 129: Coercing Values to Strings-context
---
"@context":
"@vocab": http://example.com/
diff --git a/yaml/Coercing-Values-to-Strings-expanded.yaml b/yaml/Coercing-Values-to-Strings-expanded.yaml
index caeb6b49..0627ac41 100644
--- a/yaml/Coercing-Values-to-Strings-expanded.yaml
+++ b/yaml/Coercing-Values-to-Strings-expanded.yaml
@@ -1,4 +1,4 @@
-Example 112: Coercing Values to Strings-expanded
+Example 129: Coercing Values to Strings-expanded
---
- http://example.com/plain:
- "@value": string
diff --git a/yaml/Combining-external-and-local-contexts-original.yaml b/yaml/Combining-external-and-local-contexts-compacted.yaml
similarity index 55%
rename from yaml/Combining-external-and-local-contexts-original.yaml
rename to yaml/Combining-external-and-local-contexts-compacted.yaml
index aa22977b..a5cd9f67 100644
--- a/yaml/Combining-external-and-local-contexts-original.yaml
+++ b/yaml/Combining-external-and-local-contexts-compacted.yaml
@@ -1,8 +1,10 @@
-Example 021: Combining external and local contexts-original
+Example 021: Combining external and local contexts-compacted
---
"@context":
- https://json-ld.org/contexts/person.jsonld
-- pic: http://xmlns.com/foaf/0.1/depiction
+- pic:
+ "@id": http://xmlns.com/foaf/0.1/depiction
+ "@type": "@id"
name: Manu Sporny
homepage: http://manu.sporny.org/
pic: http://twitter.com/account/profile_image/manusporny
diff --git a/yaml/Combining-external-and-local-contexts-expanded.yaml b/yaml/Combining-external-and-local-contexts-expanded.yaml
index 26e87bb0..f12fbf60 100644
--- a/yaml/Combining-external-and-local-contexts-expanded.yaml
+++ b/yaml/Combining-external-and-local-contexts-expanded.yaml
@@ -5,4 +5,4 @@ Example 021: Combining external and local contexts-expanded
http://xmlns.com/foaf/0.1/homepage:
- "@id": http://manu.sporny.org/
http://xmlns.com/foaf/0.1/depiction:
- - "@value": http://twitter.com/account/profile_image/manusporny
+ - "@id": http://twitter.com/account/profile_image/manusporny
diff --git a/yaml/Compact-form-of-the-sample-document-once-sample-context-has-been-applied-original.yaml b/yaml/Compact-form-of-the-sample-document-once-sample-context-has-been-applied-original.yaml
index e2462698..19da9994 100644
--- a/yaml/Compact-form-of-the-sample-document-once-sample-context-has-been-applied-original.yaml
+++ b/yaml/Compact-form-of-the-sample-document-once-sample-context-has-been-applied-original.yaml
@@ -1,4 +1,4 @@
-Example 109: Compact form of the sample document once sample context has been applied-original
+Example 126: Compact form of the sample document once sample context has been applied-original
---
"@context":
name: http://xmlns.com/foaf/0.1/name
diff --git a/yaml/Compacting-using-a-base-IRI-compacted.yaml b/yaml/Compacting-using-a-base-IRI-compacted.yaml
index be5d534f..f0f445e6 100644
--- a/yaml/Compacting-using-a-base-IRI-compacted.yaml
+++ b/yaml/Compacting-using-a-base-IRI-compacted.yaml
@@ -1,4 +1,4 @@
-Example 111: Compacting using a base IRI-compacted
+Example 128: Compacting using a base IRI-compacted
---
"@context":
"@base": http://example.com/
diff --git a/yaml/Compacting-using-a-base-IRI-context.yaml b/yaml/Compacting-using-a-base-IRI-context.yaml
index 9fdac99f..a37e0352 100644
--- a/yaml/Compacting-using-a-base-IRI-context.yaml
+++ b/yaml/Compacting-using-a-base-IRI-context.yaml
@@ -1,4 +1,4 @@
-Example 111: Compacting using a base IRI-context
+Example 128: Compacting using a base IRI-context
---
"@context":
"@base": http://example.com/
diff --git a/yaml/Compacting-using-a-base-IRI-expanded.yaml b/yaml/Compacting-using-a-base-IRI-expanded.yaml
index 90763312..ca68434d 100644
--- a/yaml/Compacting-using-a-base-IRI-expanded.yaml
+++ b/yaml/Compacting-using-a-base-IRI-expanded.yaml
@@ -1,4 +1,4 @@
-Example 111: Compacting using a base IRI-expanded
+Example 128: Compacting using a base IRI-expanded
---
- "@id": http://example.com/document.jsonld
http://www.w3.org/2000/01/rdf-schema#label:
diff --git a/yaml/Compacting-using-a-default-vocabulary-compacted.yaml b/yaml/Compacting-using-a-default-vocabulary-compacted.yaml
index c20b5d44..79ac6331 100644
--- a/yaml/Compacting-using-a-default-vocabulary-compacted.yaml
+++ b/yaml/Compacting-using-a-default-vocabulary-compacted.yaml
@@ -1,7 +1,7 @@
-Example 110: Compacting using a default vocabulary-compacted
+Example 127: Compacting using a default vocabulary-compacted
---
"@context":
- "@vocab": http://xmlns.com/foaf/0.1/
+ "@vocab": http://example.org/
"@id": http://example.org/places#BrewEats
"@type": Restaurant
name: Brew Eats
diff --git a/yaml/Compacting-using-a-default-vocabulary-context.yaml b/yaml/Compacting-using-a-default-vocabulary-context.yaml
index 916a8b48..9f376ff1 100644
--- a/yaml/Compacting-using-a-default-vocabulary-context.yaml
+++ b/yaml/Compacting-using-a-default-vocabulary-context.yaml
@@ -1,4 +1,4 @@
-Example 110: Compacting using a default vocabulary-context
+Example 127: Compacting using a default vocabulary-context
---
"@context":
- "@vocab": http://xmlns.com/foaf/0.1/
+ "@vocab": http://example.org/
diff --git a/yaml/Compacting-using-a-default-vocabulary-expanded.yaml b/yaml/Compacting-using-a-default-vocabulary-expanded.yaml
index 1a940086..9bee70e1 100644
--- a/yaml/Compacting-using-a-default-vocabulary-expanded.yaml
+++ b/yaml/Compacting-using-a-default-vocabulary-expanded.yaml
@@ -1,7 +1,7 @@
-Example 110: Compacting using a default vocabulary-expanded
+Example 127: Compacting using a default vocabulary-expanded
---
- "@id": http://example.org/places#BrewEats
"@type":
- - http://xmlns.com/foaf/0.1/Restaurant
- http://xmlns.com/foaf/0.1/name:
+ - http://example.org/Restaurant
+ http://example.org/name:
- "@value": Brew Eats
diff --git a/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-original.yaml b/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-compacted.yaml
similarity index 84%
rename from yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-original.yaml
rename to yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-compacted.yaml
index 34734e46..74057271 100644
--- a/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-original.yaml
+++ b/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-compacted.yaml
@@ -1,4 +1,4 @@
-Example 099: Context needs to be duplicated if @graph is not used-original
+Example 116: Context needs to be duplicated if @graph is not used-compacted
---
- "@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-expanded.yaml b/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-expanded.yaml
index 55cc782a..3ae9252c 100644
--- a/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-expanded.yaml
+++ b/yaml/Context-needs-to-be-duplicated-if-graph-is-not-used-expanded.yaml
@@ -1,4 +1,4 @@
-Example 099: Context needs to be duplicated if @graph is not used-expanded
+Example 116: Context needs to be duplicated if @graph is not used-expanded
---
- "@id": http://manu.sporny.org/about#manu
"@type":
diff --git a/yaml/Coordinates-expressed-in-GeoJSON.yaml b/yaml/Coordinates-expressed-in-GeoJSON.yaml
index 6350fc72..d21abe57 100644
--- a/yaml/Coordinates-expressed-in-GeoJSON.yaml
+++ b/yaml/Coordinates-expressed-in-GeoJSON.yaml
@@ -1,4 +1,4 @@
-Example 070: Coordinates expressed in GeoJSON
+Example 082: Coordinates expressed in GeoJSON
---
type: Feature
bbox:
diff --git a/yaml/Coordinates-expressed-in-JSON-LD-original.yaml b/yaml/Coordinates-expressed-in-JSON-LD-compacted.yaml
similarity index 86%
rename from yaml/Coordinates-expressed-in-JSON-LD-original.yaml
rename to yaml/Coordinates-expressed-in-JSON-LD-compacted.yaml
index 045ffcf1..4a494cf5 100644
--- a/yaml/Coordinates-expressed-in-JSON-LD-original.yaml
+++ b/yaml/Coordinates-expressed-in-JSON-LD-compacted.yaml
@@ -1,4 +1,4 @@
-Example 071: Coordinates expressed in JSON-LD-original
+Example 083: Coordinates expressed in JSON-LD-compacted
---
"@context":
"@vocab": https://purl.org/geojson/vocab#
diff --git a/yaml/Coordinates-expressed-in-JSON-LD-expanded.yaml b/yaml/Coordinates-expressed-in-JSON-LD-expanded.yaml
index 1ad1cc29..d8d71bf5 100644
--- a/yaml/Coordinates-expressed-in-JSON-LD-expanded.yaml
+++ b/yaml/Coordinates-expressed-in-JSON-LD-expanded.yaml
@@ -1,4 +1,4 @@
-Example 071: Coordinates expressed in JSON-LD-expanded
+Example 083: Coordinates expressed in JSON-LD-expanded
---
- "@type":
- https://purl.org/geojson/vocab#Feature
diff --git a/yaml/Defining-an-context-within-a-term-definition-original.yaml b/yaml/Defining-an-context-within-a-term-definition-compacted.yaml
similarity index 80%
rename from yaml/Defining-an-context-within-a-term-definition-original.yaml
rename to yaml/Defining-an-context-within-a-term-definition-compacted.yaml
index eb8d3c7c..7edf2548 100644
--- a/yaml/Defining-an-context-within-a-term-definition-original.yaml
+++ b/yaml/Defining-an-context-within-a-term-definition-compacted.yaml
@@ -1,4 +1,4 @@
-Example 044: Defining an @context within a term definition-original
+Example 044: Defining an @context within a term definition-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Defining-an-context-within-a-term-definition-used-on-type-original.yaml b/yaml/Defining-an-context-within-a-term-definition-used-on-type-compacted.yaml
similarity index 96%
rename from yaml/Defining-an-context-within-a-term-definition-used-on-type-original.yaml
rename to yaml/Defining-an-context-within-a-term-definition-used-on-type-compacted.yaml
index f76db69e..200b2dce 100644
--- a/yaml/Defining-an-context-within-a-term-definition-used-on-type-original.yaml
+++ b/yaml/Defining-an-context-within-a-term-definition-used-on-type-compacted.yaml
@@ -1,4 +1,4 @@
-Example 045: Defining an @context within a term definition used on @type-original
+Example 045: Defining an @context within a term definition used on @type-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Defining-property-nesting-Context.yaml b/yaml/Defining-property-nesting-Context.yaml
new file mode 100644
index 00000000..d72e9626
--- /dev/null
+++ b/yaml/Defining-property-nesting-Context.yaml
@@ -0,0 +1,15 @@
+Example 090: Defining property nesting - Context
+---
+"@context":
+ "@version": 1.1
+ skos: http://www.w3.org/2004/02/skos/core#
+ labels: "@nest"
+ main_label:
+ "@id": skos:prefLabel
+ "@nest": labels
+ other_label:
+ "@id": skos:altLabel
+ "@nest": labels
+ homepage:
+ "@id": http://xmlns.com/foaf/0.1/homepage
+ "@type": "@id"
diff --git a/yaml/Defining-property-nesting-expanded.yaml b/yaml/Defining-property-nesting-Expanded-Input.yaml
similarity index 84%
rename from yaml/Defining-property-nesting-expanded.yaml
rename to yaml/Defining-property-nesting-Expanded-Input.yaml
index 51a3c02e..bd61a5ac 100644
--- a/yaml/Defining-property-nesting-expanded.yaml
+++ b/yaml/Defining-property-nesting-Expanded-Input.yaml
@@ -1,4 +1,4 @@
-Example 077: Defining property nesting-expanded
+Example 089: Defining property nesting - Expanded Input
---
- "@id": http://example.org/myresource
http://xmlns.com/foaf/0.1/homepage:
diff --git a/yaml/Defining-property-nesting-original.yaml b/yaml/Defining-property-nesting-compacted.yaml
similarity index 90%
rename from yaml/Defining-property-nesting-original.yaml
rename to yaml/Defining-property-nesting-compacted.yaml
index 6c94a74a..ad28470a 100644
--- a/yaml/Defining-property-nesting-original.yaml
+++ b/yaml/Defining-property-nesting-compacted.yaml
@@ -1,4 +1,4 @@
-Example 077: Defining property nesting-original
+Example 091: Defining property nesting-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Describing-disconnected-nodes-with-graph-original.yaml b/yaml/Describing-disconnected-nodes-with-graph-compacted.yaml
similarity index 87%
rename from yaml/Describing-disconnected-nodes-with-graph-original.yaml
rename to yaml/Describing-disconnected-nodes-with-graph-compacted.yaml
index 6c86a0a5..a14064ea 100644
--- a/yaml/Describing-disconnected-nodes-with-graph-original.yaml
+++ b/yaml/Describing-disconnected-nodes-with-graph-compacted.yaml
@@ -1,4 +1,4 @@
-Example 019: Describing disconnected nodes with @graph-original
+Example 019: Describing disconnected nodes with @graph-compacted
---
"@context":
- https://json-ld.org/contexts/person.jsonld
diff --git a/yaml/Describing-disconnected-nodes-with-included-compacted.yaml b/yaml/Describing-disconnected-nodes-with-included-compacted.yaml
new file mode 100644
index 00000000..a3d90ec0
--- /dev/null
+++ b/yaml/Describing-disconnected-nodes-with-included-compacted.yaml
@@ -0,0 +1,17 @@
+Example 110: Describing disconnected nodes with @included-compacted
+---
+"@context":
+ Person: http://xmlns.com/foaf/0.1/Person
+ name: http://xmlns.com/foaf/0.1/name
+ knows:
+ "@id": http://xmlns.com/foaf/0.1/knows
+ "@type": "@id"
+"@included":
+- "@id": http://manu.sporny.org/about#manu
+ "@type": Person
+ name: Manu Sporny
+ knows: https://greggkellogg.net/foaf#me
+- "@id": https://greggkellogg.net/foaf#me
+ "@type": Person
+ name: Gregg Kellogg
+ knows: http://manu.sporny.org/about#manu
diff --git a/yaml/Describing-disconnected-nodes-with-included-expanded.yaml b/yaml/Describing-disconnected-nodes-with-included-expanded.yaml
new file mode 100644
index 00000000..c3d9b52d
--- /dev/null
+++ b/yaml/Describing-disconnected-nodes-with-included-expanded.yaml
@@ -0,0 +1,17 @@
+Example 110: Describing disconnected nodes with @included-expanded
+---
+- "@included":
+ - "@id": http://manu.sporny.org/about#manu
+ "@type":
+ - http://xmlns.com/foaf/0.1/Person
+ http://xmlns.com/foaf/0.1/name:
+ - "@value": Manu Sporny
+ http://xmlns.com/foaf/0.1/knows:
+ - "@id": https://greggkellogg.net/foaf#me
+ - "@id": https://greggkellogg.net/foaf#me
+ "@type":
+ - http://xmlns.com/foaf/0.1/Person
+ http://xmlns.com/foaf/0.1/name:
+ - "@value": Gregg Kellogg
+ http://xmlns.com/foaf/0.1/knows:
+ - "@id": http://manu.sporny.org/about#manu
diff --git a/yaml/Describing-disconnected-nodes-with-included-flattened.yaml b/yaml/Describing-disconnected-nodes-with-included-flattened.yaml
new file mode 100644
index 00000000..06a94e41
--- /dev/null
+++ b/yaml/Describing-disconnected-nodes-with-included-flattened.yaml
@@ -0,0 +1,16 @@
+Example 110: Describing disconnected nodes with @included-flattened
+---
+- "@id": http://manu.sporny.org/about#manu
+ "@type":
+ - http://xmlns.com/foaf/0.1/Person
+ http://xmlns.com/foaf/0.1/name:
+ - "@value": Manu Sporny
+ http://xmlns.com/foaf/0.1/knows:
+ - "@id": https://greggkellogg.net/foaf#me
+- "@id": https://greggkellogg.net/foaf#me
+ "@type":
+ - http://xmlns.com/foaf/0.1/Person
+ http://xmlns.com/foaf/0.1/name:
+ - "@value": Gregg Kellogg
+ http://xmlns.com/foaf/0.1/knows:
+ - "@id": http://manu.sporny.org/about#manu
diff --git a/yaml/Embedded-contexts-within-node-objects-original.yaml b/yaml/Embedded-contexts-within-node-objects-compacted.yaml
similarity index 79%
rename from yaml/Embedded-contexts-within-node-objects-original.yaml
rename to yaml/Embedded-contexts-within-node-objects-compacted.yaml
index c32f3c35..a3726f11 100644
--- a/yaml/Embedded-contexts-within-node-objects-original.yaml
+++ b/yaml/Embedded-contexts-within-node-objects-compacted.yaml
@@ -1,4 +1,4 @@
-Example 020: Embedded contexts within node objects-original
+Example 020: Embedded contexts within node objects-compacted
---
"@context":
name: http://example.com/person#name
diff --git a/yaml/Embedding-JSON-LD-containing-HTML-in-HTML-expanded.yaml b/yaml/Embedding-JSON-LD-containing-HTML-in-HTML-expanded.yaml
index f2d82fc6..6f55175b 100644
--- a/yaml/Embedding-JSON-LD-containing-HTML-in-HTML-expanded.yaml
+++ b/yaml/Embedding-JSON-LD-containing-HTML-in-HTML-expanded.yaml
@@ -1,4 +1,4 @@
-Example 128: Embedding JSON-LD containing HTML in HTML-expanded
+Example 146: Embedding JSON-LD containing HTML in HTML-expanded
---
- "@type":
- http://schema.org/WebPageElement
diff --git a/yaml/Embedding-JSON-LD-in-HTML-expanded.yaml b/yaml/Embedding-JSON-LD-in-HTML-expanded.yaml
index 6c29e665..019e0a76 100644
--- a/yaml/Embedding-JSON-LD-in-HTML-expanded.yaml
+++ b/yaml/Embedding-JSON-LD-in-HTML-expanded.yaml
@@ -1,4 +1,4 @@
-Example 125: Embedding JSON-LD in HTML-expanded
+Example 143: Embedding JSON-LD in HTML-expanded
---
- "@id": http://dbpedia.org/resource/John_Lennon
http://xmlns.com/foaf/0.1/name:
diff --git a/yaml/Embedding-Objects-original.yaml b/yaml/Embedding-Objects-compacted.yaml
similarity index 84%
rename from yaml/Embedding-Objects-original.yaml
rename to yaml/Embedding-Objects-compacted.yaml
index 486ca0d9..82f2607f 100644
--- a/yaml/Embedding-Objects-original.yaml
+++ b/yaml/Embedding-Objects-compacted.yaml
@@ -1,4 +1,4 @@
-Example 017: Embedding Objects-original
+Example 017: Embedding Objects-compacted
---
"@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-original.yaml b/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-compacted.yaml
similarity index 66%
rename from yaml/Embedding-a-node-object-as-property-value-of-another-node-object-original.yaml
rename to yaml/Embedding-a-node-object-as-property-value-of-another-node-object-compacted.yaml
index 8bc8d321..8af9d4b7 100644
--- a/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-original.yaml
+++ b/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-compacted.yaml
@@ -1,4 +1,4 @@
-Example 079: Embedding a node object as property value of another node object-original
+Example 093: Embedding a node object as property value of another node object-compacted
---
"@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-expanded.yaml b/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-expanded.yaml
index c7477312..1b55900c 100644
--- a/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-expanded.yaml
+++ b/yaml/Embedding-a-node-object-as-property-value-of-another-node-object-expanded.yaml
@@ -1,4 +1,4 @@
-Example 079: Embedding a node object as property value of another node object-expanded
+Example 093: Embedding a node object as property value of another node object-expanded
---
- "@type":
- http://xmlns.com/foaf/0.1/Person
diff --git a/yaml/Example-demonstrating-the-context-sensitivity-for-type.yaml b/yaml/Example-demonstrating-the-context-sensitivity-for-type.yaml
index 37a1938d..e540c918 100644
--- a/yaml/Example-demonstrating-the-context-sensitivity-for-type.yaml
+++ b/yaml/Example-demonstrating-the-context-sensitivity-for-type.yaml
@@ -1,4 +1,4 @@
-Example 052: Example demonstrating the context-sensitivity for @type
+Example 060: Example demonstrating the context-sensitivity for @type
---
"@id": http://example.org/posts#TripToWestVirginia
"@type": http://schema.org/BlogPosting
diff --git a/yaml/Expanded-form-for-the-previous-example-expanded.yaml b/yaml/Expanded-form-for-the-previous-example-expanded.yaml
index 619c74b4..8c0736ca 100644
--- a/yaml/Expanded-form-for-the-previous-example-expanded.yaml
+++ b/yaml/Expanded-form-for-the-previous-example-expanded.yaml
@@ -1,4 +1,4 @@
-Example 106: Expanded form for the previous example-expanded
+Example 123: Expanded form for the previous example-expanded
---
- http://xmlns.com/foaf/0.1/name:
- "@value": Manu Sporny
diff --git a/yaml/Expanded-term-definition-with-language-and-direction.yaml b/yaml/Expanded-term-definition-with-language-and-direction.yaml
new file mode 100644
index 00000000..f27eae04
--- /dev/null
+++ b/yaml/Expanded-term-definition-with-language-and-direction.yaml
@@ -0,0 +1,19 @@
+Example 075: Expanded term definition with language and direction
+---
+"@context":
+ "@version": 1.1
+ "@language": ar-EG
+ "@direction": rtl
+ ex: http://example.com/vocab/
+ publisher:
+ "@id": ex:publisher
+ "@direction":
+ title:
+ "@id": ex:title
+ title_en:
+ "@id": ex:title
+ "@language": en
+ "@direction": ltr
+publisher: مكتبة
+title: 'HTML و CSS: تصميم و إنشاء مواقع الويب'
+title_en: 'HTML and CSS: Design and Build Websites'
diff --git a/yaml/Expanded-term-definition-with-language.yaml b/yaml/Expanded-term-definition-with-language.yaml
index 31c18748..1e88c20c 100644
--- a/yaml/Expanded-term-definition-with-language.yaml
+++ b/yaml/Expanded-term-definition-with-language.yaml
@@ -1,4 +1,4 @@
-Example 061: Expanded term definition with language
+Example 069: Expanded term definition with language
---
"@context":
ex: http://example.com/vocab/
diff --git a/yaml/Expanded-term-definition-with-type-coercion-original.yaml b/yaml/Expanded-term-definition-with-type-coercion-compacted.yaml
similarity index 74%
rename from yaml/Expanded-term-definition-with-type-coercion-original.yaml
rename to yaml/Expanded-term-definition-with-type-coercion-compacted.yaml
index 99abc6f2..27fe7d47 100644
--- a/yaml/Expanded-term-definition-with-type-coercion-original.yaml
+++ b/yaml/Expanded-term-definition-with-type-coercion-compacted.yaml
@@ -1,4 +1,4 @@
-Example 050: Expanded term definition with type coercion-original
+Example 058: Expanded term definition with type coercion-compacted
---
"@context":
modified:
diff --git a/yaml/Expanded-term-definition-with-type-coercion-expanded.yaml b/yaml/Expanded-term-definition-with-type-coercion-expanded.yaml
index da74e18b..5c1b89cb 100644
--- a/yaml/Expanded-term-definition-with-type-coercion-expanded.yaml
+++ b/yaml/Expanded-term-definition-with-type-coercion-expanded.yaml
@@ -1,4 +1,4 @@
-Example 050: Expanded term definition with type coercion-expanded
+Example 058: Expanded term definition with type coercion-expanded
---
- "@id": http://example.com/docs/1
http://purl.org/dc/terms/modified:
diff --git a/yaml/Expanded-term-definition-with-types-original.yaml b/yaml/Expanded-term-definition-with-types-compacted.yaml
similarity index 86%
rename from yaml/Expanded-term-definition-with-types-original.yaml
rename to yaml/Expanded-term-definition-with-types-compacted.yaml
index 1287f344..dd034e52 100644
--- a/yaml/Expanded-term-definition-with-types-original.yaml
+++ b/yaml/Expanded-term-definition-with-types-compacted.yaml
@@ -1,4 +1,4 @@
-Example 055: Expanded term definition with types-original
+Example 063: Expanded term definition with types-compacted
---
"@context":
xsd: http://www.w3.org/2001/XMLSchema#
diff --git a/yaml/Expanded-term-definition-with-types-expanded.yaml b/yaml/Expanded-term-definition-with-types-expanded.yaml
index 33af32bd..be91e0fa 100644
--- a/yaml/Expanded-term-definition-with-types-expanded.yaml
+++ b/yaml/Expanded-term-definition-with-types-expanded.yaml
@@ -1,4 +1,4 @@
-Example 055: Expanded term definition with types-expanded
+Example 063: Expanded term definition with types-expanded
---
- "@id": http://example.com/people#john
http://xmlns.com/foaf/0.1/name:
diff --git a/yaml/Expanded-value-with-type-original.yaml b/yaml/Expanded-value-with-type-compacted.yaml
similarity index 78%
rename from yaml/Expanded-value-with-type-original.yaml
rename to yaml/Expanded-value-with-type-compacted.yaml
index b5b29b2a..a9c60aea 100644
--- a/yaml/Expanded-value-with-type-original.yaml
+++ b/yaml/Expanded-value-with-type-compacted.yaml
@@ -1,4 +1,4 @@
-Example 051: Expanded value with type-original
+Example 059: Expanded value with type-compacted
---
"@context":
modified:
diff --git a/yaml/Expanded-value-with-type-expanded.yaml b/yaml/Expanded-value-with-type-expanded.yaml
index dd90490c..6e29ef78 100644
--- a/yaml/Expanded-value-with-type-expanded.yaml
+++ b/yaml/Expanded-value-with-type-expanded.yaml
@@ -1,4 +1,4 @@
-Example 051: Expanded value with type-expanded
+Example 059: Expanded value with type-expanded
---
- http://purl.org/dc/terms/modified:
- "@type": http://www.w3.org/2001/XMLSchema#dateTime
diff --git a/yaml/Expansion-using-embedded-and-scoped-contexts-embedding-equivalent-.yaml b/yaml/Expansion-using-embedded-and-scoped-contexts-embedding-equivalent-.yaml
new file mode 100644
index 00000000..72eef9f8
--- /dev/null
+++ b/yaml/Expansion-using-embedded-and-scoped-contexts-embedding-equivalent-.yaml
@@ -0,0 +1,20 @@
+Example 047: Expansion using embedded and scoped contexts (embedding equivalent)
+---
+"@context":
+ "@vocab": http://example.com/vocab/
+ property: http://example.com/vocab/property
+ Type1: http://example.com/vocab/Type1
+ Type2: http://example.com/vocab/Type2
+property:
+ "@context":
+ - term1: http://example.com/vocab/term1
+ - term2: http://example.com/vocab/term2
+ - term3: http://example.com/vocab/term3
+ - term4: http://example.com/vocab/term4
+ "@type":
+ - Type2
+ - Type1
+ term1: a
+ term2: b
+ term3: c
+ term4: d
diff --git a/yaml/Expansion-using-embedded-and-scoped-contexts.yaml b/yaml/Expansion-using-embedded-and-scoped-contexts.yaml
new file mode 100644
index 00000000..a495016a
--- /dev/null
+++ b/yaml/Expansion-using-embedded-and-scoped-contexts.yaml
@@ -0,0 +1,27 @@
+Example 046: Expansion using embedded and scoped contexts
+---
+"@context":
+ "@version": 1.1
+ "@vocab": http://example.com/vocab/
+ property:
+ "@id": http://example.com/vocab/property
+ "@context":
+ term1: http://example.com/vocab/term1
+ Type1:
+ "@id": http://example.com/vocab/Type1
+ "@context":
+ term3: http://example.com/vocab/term3
+ Type2:
+ "@id": http://example.com/vocab/Type2
+ "@context":
+ term4: http://example.com/vocab/term4
+property:
+ "@context":
+ term2: http://example.com/vocab/term2
+ "@type":
+ - Type2
+ - Type1
+ term1: a
+ term2: b
+ term3: c
+ term4: d
diff --git a/yaml/Flattened-and-compacted-form-for-the-previous-example-original.yaml b/yaml/Flattened-and-compacted-form-for-the-previous-example-original.yaml
index f3602389..27863472 100644
--- a/yaml/Flattened-and-compacted-form-for-the-previous-example-original.yaml
+++ b/yaml/Flattened-and-compacted-form-for-the-previous-example-original.yaml
@@ -1,4 +1,4 @@
-Example 120: Flattened and compacted form for the previous example-original
+Example 137: Flattened and compacted form for the previous example-original
---
"@context":
name: http://xmlns.com/foaf/0.1/name
diff --git a/yaml/Flattened-and-expanded-form-for-the-previous-example.yaml b/yaml/Flattened-and-expanded-form-for-the-previous-example.yaml
index caed2b36..9cf3cc52 100644
--- a/yaml/Flattened-and-expanded-form-for-the-previous-example.yaml
+++ b/yaml/Flattened-and-expanded-form-for-the-previous-example.yaml
@@ -1,4 +1,4 @@
-Example 135: Flattened and expanded form for the previous example
+Example 151: Flattened and expanded form for the previous example
---
- "@id": _:b0
http://xmlns.com/foaf/0.1/name: Dave Longley
diff --git a/yaml/Flattened-form-for-included-blocks-flattened.yaml b/yaml/Flattened-form-for-included-blocks-flattened.yaml
new file mode 100644
index 00000000..5a629856
--- /dev/null
+++ b/yaml/Flattened-form-for-included-blocks-flattened.yaml
@@ -0,0 +1,26 @@
+Example 109: Flattened form for included blocks-flattened
+---
+- "@id": http://example.org/base/1
+ "@type":
+ - http://example.org/Thing-with-Items
+ http://example.org/items:
+ - "@id": http://example.org/base/2
+ - "@id": http://example.org/base/3
+- "@id": http://example.org/enum#c6
+ "@type":
+ - http://example.org/Type
+ http://example.org/label:
+ - "@value": Classification 6
+- "@id": http://example.org/enum#s2
+ "@type":
+ - http://example.org/Service
+ http://example.org/label:
+ - "@value": Login Service
+- "@id": http://example.org/base/2
+ http://example.org/classification:
+ - "@id": http://example.org/enum#c6
+ http://example.org/service:
+ - "@id": http://example.org/enum#s2
+- "@id": http://example.org/base/3
+ http://example.org/classification:
+ - "@id": http://example.org/enum#c6
diff --git a/yaml/Flattened-library-objects.yaml b/yaml/Flattened-library-objects.yaml
index ff2dc3e1..53a3e499 100644
--- a/yaml/Flattened-library-objects.yaml
+++ b/yaml/Flattened-library-objects.yaml
@@ -1,4 +1,4 @@
-Example 122: Flattened library objects
+Example 139: Flattened library objects
---
"@context":
"@vocab": http://example.org/
diff --git a/yaml/Forcing-Object-Values-compacted.yaml b/yaml/Forcing-Object-Values-compacted.yaml
index c7a7663a..d5a45899 100644
--- a/yaml/Forcing-Object-Values-compacted.yaml
+++ b/yaml/Forcing-Object-Values-compacted.yaml
@@ -1,4 +1,4 @@
-Example 116: Forcing Object Values-compacted
+Example 133: Forcing Object Values-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Forcing-Object-Values-context.yaml b/yaml/Forcing-Object-Values-context.yaml
index 478e168a..6817aa63 100644
--- a/yaml/Forcing-Object-Values-context.yaml
+++ b/yaml/Forcing-Object-Values-context.yaml
@@ -1,4 +1,4 @@
-Example 116: Forcing Object Values-context
+Example 133: Forcing Object Values-context
---
"@context":
"@version": 1.1
diff --git a/yaml/Forcing-Object-Values-expanded.yaml b/yaml/Forcing-Object-Values-expanded.yaml
index c9bda9b3..16814bd8 100644
--- a/yaml/Forcing-Object-Values-expanded.yaml
+++ b/yaml/Forcing-Object-Values-expanded.yaml
@@ -1,4 +1,4 @@
-Example 116: Forcing Object Values-expanded
+Example 133: Forcing Object Values-expanded
---
- http://example.com/notype:
- "@value": string
diff --git a/yaml/Framed-library-objects-original.yaml b/yaml/Framed-library-objects-original.yaml
index e3ce5f94..434eb4b4 100644
--- a/yaml/Framed-library-objects-original.yaml
+++ b/yaml/Framed-library-objects-original.yaml
@@ -1,4 +1,4 @@
-Example 123: Framed library objects-original
+Example 140: Framed library objects-original
---
"@context":
"@version": 1.1
diff --git a/yaml/Identifying-a-node-original.yaml b/yaml/Identifying-a-node-compacted.yaml
similarity index 72%
rename from yaml/Identifying-a-node-original.yaml
rename to yaml/Identifying-a-node-compacted.yaml
index a29338bb..ae34f07c 100644
--- a/yaml/Identifying-a-node-original.yaml
+++ b/yaml/Identifying-a-node-compacted.yaml
@@ -1,4 +1,4 @@
-Example 012: Identifying a node-original
+Example 012: Identifying a node-compacted
---
"@context":
name: http://schema.org/name
diff --git a/yaml/Identifying-and-making-statements-about-a-graph-original.yaml b/yaml/Identifying-and-making-statements-about-a-graph-compacted.yaml
similarity index 76%
rename from yaml/Identifying-and-making-statements-about-a-graph-original.yaml
rename to yaml/Identifying-and-making-statements-about-a-graph-compacted.yaml
index 9851ff25..f8cb0b50 100644
--- a/yaml/Identifying-and-making-statements-about-a-graph-original.yaml
+++ b/yaml/Identifying-and-making-statements-about-a-graph-compacted.yaml
@@ -1,16 +1,16 @@
-Example 097: Identifying and making statements about a graph-original
+Example 114: Identifying and making statements about a graph-compacted
---
"@context":
generatedAt:
"@id": http://www.w3.org/ns/prov#generatedAtTime
- "@type": http://www.w3.org/2001/XMLSchema#date
+ "@type": http://www.w3.org/2001/XMLSchema#dateTime
Person: http://xmlns.com/foaf/0.1/Person
name: http://xmlns.com/foaf/0.1/name
knows:
"@id": http://xmlns.com/foaf/0.1/knows
"@type": "@id"
"@id": http://example.org/foaf-graph
-generatedAt: '2012-04-09'
+generatedAt: '2012-04-09T00:00:00'
"@graph":
- "@id": http://manu.sporny.org/about#manu
"@type": Person
diff --git a/yaml/Identifying-and-making-statements-about-a-graph-expanded.yaml b/yaml/Identifying-and-making-statements-about-a-graph-expanded.yaml
index 70634046..91582d8a 100644
--- a/yaml/Identifying-and-making-statements-about-a-graph-expanded.yaml
+++ b/yaml/Identifying-and-making-statements-about-a-graph-expanded.yaml
@@ -1,9 +1,9 @@
-Example 097: Identifying and making statements about a graph-expanded
+Example 114: Identifying and making statements about a graph-expanded
---
- "@id": http://example.org/foaf-graph
http://www.w3.org/ns/prov#generatedAtTime:
- - "@value": '2012-04-09'
- "@type": http://www.w3.org/2001/XMLSchema#date
+ - "@value": '2012-04-09T00:00:00'
+ "@type": http://www.w3.org/2001/XMLSchema#dateTime
"@graph":
- "@id": http://manu.sporny.org/about#manu
"@type":
diff --git a/yaml/Implicitly-named-graph-original.yaml b/yaml/Implicitly-named-graph-compacted.yaml
similarity index 85%
rename from yaml/Implicitly-named-graph-original.yaml
rename to yaml/Implicitly-named-graph-compacted.yaml
index 8c9b26bc..bf56df1b 100644
--- a/yaml/Implicitly-named-graph-original.yaml
+++ b/yaml/Implicitly-named-graph-compacted.yaml
@@ -1,4 +1,4 @@
-Example 100: Implicitly named graph-original
+Example 117: Implicitly named graph-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Implicitly-named-graph-expanded.yaml b/yaml/Implicitly-named-graph-expanded.yaml
index 6c049888..da544ef8 100644
--- a/yaml/Implicitly-named-graph-expanded.yaml
+++ b/yaml/Implicitly-named-graph-expanded.yaml
@@ -1,4 +1,4 @@
-Example 100: Implicitly named graph-expanded
+Example 117: Implicitly named graph-expanded
---
- "@id": http://dbpedia.org/resource/William_Shakespeare
http://example.com/wrote:
diff --git a/yaml/In-line-context-definition-original.yaml b/yaml/In-line-context-definition-compacted.yaml
similarity index 84%
rename from yaml/In-line-context-definition-original.yaml
rename to yaml/In-line-context-definition-compacted.yaml
index 728f774e..ab1967b0 100644
--- a/yaml/In-line-context-definition-original.yaml
+++ b/yaml/In-line-context-definition-compacted.yaml
@@ -1,4 +1,4 @@
-Example 006: In-line context definition-original
+Example 006: In-line context definition-compacted
---
"@context":
name: http://schema.org/name
diff --git a/yaml/Included-Blocks.yaml b/yaml/Included-Blocks.yaml
new file mode 100644
index 00000000..a67d3979
--- /dev/null
+++ b/yaml/Included-Blocks.yaml
@@ -0,0 +1,24 @@
+Example 108: Included Blocks
+---
+"@context":
+ "@version": 1.1
+ "@vocab": http://example.org/
+ classification:
+ "@type": "@vocab"
+ service:
+ "@type": "@vocab"
+"@id": http://example.org/base/1
+"@type": Thing-with-Items
+items:
+- "@id": http://example.org/base/2
+ classification: enum#c6
+ service: enum#s2
+- "@id": http://example.org/base/3
+ classification: enum#c6
+"@included":
+- "@id": http://example.org/enum#c6
+ "@type": Type
+ label: Classification 6
+- "@id": http://example.org/enum#s2
+ "@type": Service
+ label: Login Service
diff --git a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-original.yaml b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-compacted.yaml
similarity index 78%
rename from yaml/Indexing-data-in-JSON-LD-by-node-identifiers-original.yaml
rename to yaml/Indexing-data-in-JSON-LD-by-node-identifiers-compacted.yaml
index efa4de1a..07c13c8d 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-original.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-compacted.yaml
@@ -1,7 +1,8 @@
-Example 088: Indexing data in JSON-LD by node identifiers-original
+Example 102: Indexing data in JSON-LD by node identifiers-compacted
---
"@context":
"@version": 1.1
+ "@base": http://example.com/posts/
schema: http://schema.org/
name: schema:name
body: schema:articleBody
@@ -13,9 +14,9 @@ Example 088: Indexing data in JSON-LD by node identifiers-original
"@type": schema:Blog
name: World Financial News
post:
- http://example.com/posts/1/en:
+ 1/en:
body: World commodities were up today with heavy trading of crude oil...
words: 1539
- http://example.com/posts/1/de:
+ 1/de:
body: Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...
words: 1204
diff --git a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-expanded.yaml
index 1bd7bedc..c8368946 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-expanded.yaml
@@ -1,4 +1,4 @@
-Example 088: Indexing data in JSON-LD by node identifiers-expanded
+Example 102: Indexing data in JSON-LD by node identifiers-expanded
---
- "@id": http://example.com/
"@type":
diff --git a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-original.yaml b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-compacted.yaml
similarity index 88%
rename from yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-original.yaml
rename to yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-compacted.yaml
index d0874b3c..f4f03ec7 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-original.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-compacted.yaml
@@ -1,4 +1,4 @@
-Example 090: Indexing data in JSON-LD by node identifiers using @none-original
+Example 104: Indexing data in JSON-LD by node identifiers using @none-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-expanded.yaml
index b6a043af..c0d8e95a 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-using-none-expanded.yaml
@@ -1,4 +1,4 @@
-Example 090: Indexing data in JSON-LD by node identifiers using @none-expanded
+Example 104: Indexing data in JSON-LD by node identifiers using @none-expanded
---
- "@id": http://example.com/
"@type":
diff --git a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-original.yaml b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-compacted.yaml
similarity index 85%
rename from yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-original.yaml
rename to yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-compacted.yaml
index 9f56a24b..96587759 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-original.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-compacted.yaml
@@ -1,4 +1,4 @@
-Example 089: Indexing data in JSON-LD by node identifiers with @set representation-original
+Example 103: Indexing data in JSON-LD by node identifiers with @set representation-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-expanded.yaml
index b6b8d4bb..b2fe66fd 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-node-identifiers-with-set-representation-expanded.yaml
@@ -1,4 +1,4 @@
-Example 089: Indexing data in JSON-LD by node identifiers with @set representation-expanded
+Example 103: Indexing data in JSON-LD by node identifiers with @set representation-expanded
---
- "@id": http://example.com/
"@type":
diff --git a/yaml/Indexing-data-in-JSON-LD-by-type-original.yaml b/yaml/Indexing-data-in-JSON-LD-by-type-compacted.yaml
similarity index 86%
rename from yaml/Indexing-data-in-JSON-LD-by-type-original.yaml
rename to yaml/Indexing-data-in-JSON-LD-by-type-compacted.yaml
index dfa7d5d9..5180e8e2 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-type-original.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-type-compacted.yaml
@@ -1,4 +1,4 @@
-Example 091: Indexing data in JSON-LD by type-original
+Example 105: Indexing data in JSON-LD by type-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-data-in-JSON-LD-by-type-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-by-type-expanded.yaml
index fd688ce9..4445f8f9 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-type-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-type-expanded.yaml
@@ -1,4 +1,4 @@
-Example 091: Indexing data in JSON-LD by type-expanded
+Example 105: Indexing data in JSON-LD by type-expanded
---
- http://schema.org/name:
- "@value": Manu Sporny
diff --git a/yaml/Indexing-data-in-JSON-LD-by-type-using-none-original.yaml b/yaml/Indexing-data-in-JSON-LD-by-type-using-none-compacted.yaml
similarity index 86%
rename from yaml/Indexing-data-in-JSON-LD-by-type-using-none-original.yaml
rename to yaml/Indexing-data-in-JSON-LD-by-type-using-none-compacted.yaml
index e555ac46..013f2be2 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-type-using-none-original.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-type-using-none-compacted.yaml
@@ -1,4 +1,4 @@
-Example 093: Indexing data in JSON-LD by type using @none-original
+Example 107: Indexing data in JSON-LD by type using @none-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-data-in-JSON-LD-by-type-using-none-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-by-type-using-none-expanded.yaml
index 792a3245..e141cf07 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-type-using-none-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-type-using-none-expanded.yaml
@@ -1,4 +1,4 @@
-Example 093: Indexing data in JSON-LD by type using @none-expanded
+Example 107: Indexing data in JSON-LD by type using @none-expanded
---
- http://schema.org/name:
- "@value": Manu Sporny
diff --git a/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-original.yaml b/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-compacted.yaml
similarity index 82%
rename from yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-original.yaml
rename to yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-compacted.yaml
index 60f524d3..8e5b04db 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-original.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-compacted.yaml
@@ -1,4 +1,4 @@
-Example 092: Indexing data in JSON-LD by type with @set representation-original
+Example 106: Indexing data in JSON-LD by type with @set representation-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-expanded.yaml
index d49a1bd7..0f965bc7 100644
--- a/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-by-type-with-set-representation-expanded.yaml
@@ -1,4 +1,4 @@
-Example 092: Indexing data in JSON-LD by type with @set representation-expanded
+Example 106: Indexing data in JSON-LD by type with @set representation-expanded
---
- http://schema.org/name:
- "@value": Manu Sporny
diff --git a/yaml/Indexing-data-in-JSON-LD-compacted.yaml b/yaml/Indexing-data-in-JSON-LD-compacted.yaml
new file mode 100644
index 00000000..02498634
--- /dev/null
+++ b/yaml/Indexing-data-in-JSON-LD-compacted.yaml
@@ -0,0 +1,22 @@
+Example 096: Indexing data in JSON-LD-compacted
+---
+"@context":
+ schema: http://schema.org/
+ name: schema:name
+ body: schema:articleBody
+ athletes:
+ "@id": schema:athlete
+ "@container": "@index"
+ position: schema:jobTitle
+"@id": http://example.com/
+"@type": schema:SportsTeam
+name: San Franciso Giants
+athletes:
+ catcher:
+ "@type": schema:Person
+ name: Buster Posey
+ position: Catcher
+ pitcher:
+ "@type": schema:Person
+ name: Madison Bumgarner
+ position: Starting Pitcher
diff --git a/yaml/Indexing-data-in-JSON-LD-expanded.yaml b/yaml/Indexing-data-in-JSON-LD-expanded.yaml
index a1b27d9c..01f16660 100644
--- a/yaml/Indexing-data-in-JSON-LD-expanded.yaml
+++ b/yaml/Indexing-data-in-JSON-LD-expanded.yaml
@@ -1,21 +1,22 @@
-Example 082: Indexing data in JSON-LD-expanded
+Example 096: Indexing data in JSON-LD-expanded
---
- "@id": http://example.com/
"@type":
- - http://schema.org/Blog
+ - http://schema.org/SportsTeam
http://schema.org/name:
- - "@value": World Financial News
- http://schema.org/blogPost:
- - "@id": http://example.com/posts/1/en
- http://schema.org/articleBody:
- - "@value": World commodities were up today with heavy trading of crude oil...
- http://schema.org/wordCount:
- - "@value": 1539
- "@index": en
- - "@id": http://example.com/posts/1/de
- http://schema.org/articleBody:
- - "@value": Die Werte an Warenbörsen stiegen im Sog eines starken Handels von
- Rohöl...
- http://schema.org/wordCount:
- - "@value": 1204
- "@index": de
+ - "@value": San Franciso Giants
+ http://schema.org/athlete:
+ - "@type":
+ - http://schema.org/Person
+ http://schema.org/name:
+ - "@value": Buster Posey
+ http://schema.org/jobTitle:
+ - "@value": Catcher
+ "@index": catcher
+ - "@type":
+ - http://schema.org/Person
+ http://schema.org/name:
+ - "@value": Madison Bumgarner
+ http://schema.org/jobTitle:
+ - "@value": Starting Pitcher
+ "@index": pitcher
diff --git a/yaml/Indexing-data-in-JSON-LD-original.yaml b/yaml/Indexing-data-in-JSON-LD-original.yaml
deleted file mode 100644
index 87bfb559..00000000
--- a/yaml/Indexing-data-in-JSON-LD-original.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-Example 082: Indexing data in JSON-LD-original
----
-"@context":
- schema: http://schema.org/
- name: schema:name
- body: schema:articleBody
- words: schema:wordCount
- post:
- "@id": schema:blogPost
- "@container": "@index"
-"@id": http://example.com/
-"@type": schema:Blog
-name: World Financial News
-post:
- en:
- "@id": http://example.com/posts/1/en
- body: World commodities were up today with heavy trading of crude oil...
- words: 1539
- de:
- "@id": http://example.com/posts/1/de
- body: Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...
- words: 1204
diff --git a/yaml/Indexing-data-using-none-compacted.yaml b/yaml/Indexing-data-using-none-compacted.yaml
new file mode 100644
index 00000000..8a299658
--- /dev/null
+++ b/yaml/Indexing-data-using-none-compacted.yaml
@@ -0,0 +1,26 @@
+Example 097: Indexing data using @none-compacted
+---
+"@context":
+ "@version": 1.1
+ schema: http://schema.org/
+ name: schema:name
+ body: schema:articleBody
+ athletes:
+ "@id": schema:athlete
+ "@container": "@index"
+ position: schema:jobTitle
+"@id": http://example.com/
+"@type": schema:SportsTeam
+name: San Franciso Giants
+athletes:
+ catcher:
+ "@type": schema:Person
+ name: Buster Posey
+ position: Catcher
+ pitcher:
+ "@type": schema:Person
+ name: Madison Bumgarner
+ position: Starting Pitcher
+ "@none":
+ name: Lou Seal
+ position: Mascot
diff --git a/yaml/Indexing-data-using-none-expanded.yaml b/yaml/Indexing-data-using-none-expanded.yaml
index 6a045327..c42423e6 100644
--- a/yaml/Indexing-data-using-none-expanded.yaml
+++ b/yaml/Indexing-data-using-none-expanded.yaml
@@ -1,26 +1,26 @@
-Example 083: Indexing data using @none-expanded
+Example 097: Indexing data using @none-expanded
---
- "@id": http://example.com/
"@type":
- - http://schema.org/Blog
+ - http://schema.org/SportsTeam
http://schema.org/name:
- - "@value": World Financial News
- http://schema.org/blogPost:
- - "@id": http://example.com/posts/1/en
- http://schema.org/articleBody:
- - "@value": World commodities were up today with heavy trading of crude oil...
- http://schema.org/wordCount:
- - "@value": 1539
- "@index": en
- - "@id": http://example.com/posts/1/de
- http://schema.org/articleBody:
- - "@value": Die Werte an Warenbörsen stiegen im Sog eines starken Handels von
- Rohöl...
- http://schema.org/wordCount:
- - "@value": 1204
- "@index": de
- - "@id": http://example.com/posts/1/no-language
- http://schema.org/articleBody:
- - "@value": Unindexed description
- http://schema.org/wordCount:
- - "@value": 20
+ - "@value": San Franciso Giants
+ http://schema.org/athlete:
+ - "@type":
+ - http://schema.org/Person
+ http://schema.org/name:
+ - "@value": Buster Posey
+ http://schema.org/jobTitle:
+ - "@value": Catcher
+ "@index": catcher
+ - "@type":
+ - http://schema.org/Person
+ http://schema.org/name:
+ - "@value": Madison Bumgarner
+ http://schema.org/jobTitle:
+ - "@value": Starting Pitcher
+ "@index": pitcher
+ - http://schema.org/name:
+ - "@value": Lou Seal
+ http://schema.org/jobTitle:
+ - "@value": Mascot
diff --git a/yaml/Indexing-data-using-none-original.yaml b/yaml/Indexing-data-using-none-original.yaml
deleted file mode 100644
index 9e886f24..00000000
--- a/yaml/Indexing-data-using-none-original.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-Example 083: Indexing data using @none-original
----
-"@context":
- "@version": 1.1
- schema: http://schema.org/
- name: schema:name
- body: schema:articleBody
- words: schema:wordCount
- post:
- "@id": schema:blogPost
- "@container": "@index"
-"@id": http://example.com/
-"@type": schema:Blog
-name: World Financial News
-post:
- en:
- "@id": http://example.com/posts/1/en
- body: World commodities were up today with heavy trading of crude oil...
- words: 1539
- de:
- "@id": http://example.com/posts/1/de
- body: Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...
- words: 1204
- "@none":
- "@id": http://example.com/posts/1/no-language
- body: Unindexed description
- words: 20
diff --git a/yaml/Indexing-graph-data-in-JSON-LD-original.yaml b/yaml/Indexing-graph-data-in-JSON-LD-compacted.yaml
similarity index 91%
rename from yaml/Indexing-graph-data-in-JSON-LD-original.yaml
rename to yaml/Indexing-graph-data-in-JSON-LD-compacted.yaml
index c3487a92..15e076d3 100644
--- a/yaml/Indexing-graph-data-in-JSON-LD-original.yaml
+++ b/yaml/Indexing-graph-data-in-JSON-LD-compacted.yaml
@@ -1,4 +1,4 @@
-Example 101: Indexing graph data in JSON-LD-original
+Example 118: Indexing graph data in JSON-LD-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-graph-data-in-JSON-LD-expanded.yaml b/yaml/Indexing-graph-data-in-JSON-LD-expanded.yaml
index 123c1788..ec2747cb 100644
--- a/yaml/Indexing-graph-data-in-JSON-LD-expanded.yaml
+++ b/yaml/Indexing-graph-data-in-JSON-LD-expanded.yaml
@@ -1,4 +1,4 @@
-Example 101: Indexing graph data in JSON-LD-expanded
+Example 118: Indexing graph data in JSON-LD-expanded
---
- "@id": http://example.com/
"@type":
diff --git a/yaml/Indexing-graphs-using-none-for-no-index-original.yaml b/yaml/Indexing-graphs-using-none-for-no-index-compacted.yaml
similarity index 90%
rename from yaml/Indexing-graphs-using-none-for-no-index-original.yaml
rename to yaml/Indexing-graphs-using-none-for-no-index-compacted.yaml
index d2eca4d1..00fcb1f9 100644
--- a/yaml/Indexing-graphs-using-none-for-no-index-original.yaml
+++ b/yaml/Indexing-graphs-using-none-for-no-index-compacted.yaml
@@ -1,4 +1,4 @@
-Example 102: Indexing graphs using @none for no index-original
+Example 119: Indexing graphs using @none for no index-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-graphs-using-none-for-no-index-expanded.yaml b/yaml/Indexing-graphs-using-none-for-no-index-expanded.yaml
index eecd3ef1..ecf3b19b 100644
--- a/yaml/Indexing-graphs-using-none-for-no-index-expanded.yaml
+++ b/yaml/Indexing-graphs-using-none-for-no-index-expanded.yaml
@@ -1,4 +1,4 @@
-Example 102: Indexing graphs using @none for no index-expanded
+Example 119: Indexing graphs using @none for no index-expanded
---
- "@id": http://example.com/
"@type":
diff --git a/yaml/Indexing-language-tagged-strings-and-set-compacted.yaml b/yaml/Indexing-language-tagged-strings-and-set-compacted.yaml
index b522719d..a6ef8100 100644
--- a/yaml/Indexing-language-tagged-strings-and-set-compacted.yaml
+++ b/yaml/Indexing-language-tagged-strings-and-set-compacted.yaml
@@ -1,4 +1,4 @@
-Example 117: Indexing language-tagged strings and @set-compacted
+Example 134: Indexing language-tagged strings and @set-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-language-tagged-strings-and-set-context.yaml b/yaml/Indexing-language-tagged-strings-and-set-context.yaml
index ca3422fc..38a34c55 100644
--- a/yaml/Indexing-language-tagged-strings-and-set-context.yaml
+++ b/yaml/Indexing-language-tagged-strings-and-set-context.yaml
@@ -1,4 +1,4 @@
-Example 117: Indexing language-tagged strings and @set-context
+Example 134: Indexing language-tagged strings and @set-context
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-language-tagged-strings-and-set-expanded.yaml b/yaml/Indexing-language-tagged-strings-and-set-expanded.yaml
index c30335be..eeb2bbc2 100644
--- a/yaml/Indexing-language-tagged-strings-and-set-expanded.yaml
+++ b/yaml/Indexing-language-tagged-strings-and-set-expanded.yaml
@@ -1,4 +1,4 @@
-Example 117: Indexing language-tagged strings and @set-expanded
+Example 134: Indexing language-tagged strings and @set-expanded
---
- "@id": http://example.com/queen
http://example.com/vocab/label:
diff --git a/yaml/Indexing-language-tagged-strings-compacted.yaml b/yaml/Indexing-language-tagged-strings-compacted.yaml
index a7112f39..cbcd9d4e 100644
--- a/yaml/Indexing-language-tagged-strings-compacted.yaml
+++ b/yaml/Indexing-language-tagged-strings-compacted.yaml
@@ -1,4 +1,4 @@
-Example 115: Indexing language-tagged strings-compacted
+Example 132: Indexing language-tagged strings-compacted
---
"@context":
vocab: http://example.com/vocab/
diff --git a/yaml/Indexing-language-tagged-strings-context.yaml b/yaml/Indexing-language-tagged-strings-context.yaml
index 4c92240b..a45336b4 100644
--- a/yaml/Indexing-language-tagged-strings-context.yaml
+++ b/yaml/Indexing-language-tagged-strings-context.yaml
@@ -1,4 +1,4 @@
-Example 115: Indexing language-tagged strings-context
+Example 132: Indexing language-tagged strings-context
---
"@context":
vocab: http://example.com/vocab/
diff --git a/yaml/Indexing-language-tagged-strings-expanded.yaml b/yaml/Indexing-language-tagged-strings-expanded.yaml
index d4a4ba4f..4a65f244 100644
--- a/yaml/Indexing-language-tagged-strings-expanded.yaml
+++ b/yaml/Indexing-language-tagged-strings-expanded.yaml
@@ -1,4 +1,4 @@
-Example 115: Indexing language-tagged strings-expanded
+Example 132: Indexing language-tagged strings-expanded
---
- "@id": http://example.com/queen
http://example.com/vocab/label:
diff --git a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-original.yaml b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-compacted.yaml
similarity index 75%
rename from yaml/Indexing-languaged-tagged-strings-in-JSON-LD-original.yaml
rename to yaml/Indexing-languaged-tagged-strings-in-JSON-LD-compacted.yaml
index b858a9f6..3d8f44d0 100644
--- a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-original.yaml
+++ b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-compacted.yaml
@@ -1,4 +1,4 @@
-Example 085: Indexing languaged-tagged strings in JSON-LD-original
+Example 099: Indexing languaged-tagged strings in JSON-LD-compacted
---
"@context":
vocab: http://example.com/vocab/
diff --git a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-expanded.yaml b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-expanded.yaml
index 01e9d2df..373097b7 100644
--- a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-expanded.yaml
+++ b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-expanded.yaml
@@ -1,4 +1,4 @@
-Example 085: Indexing languaged-tagged strings in JSON-LD-expanded
+Example 099: Indexing languaged-tagged strings in JSON-LD-expanded
---
- "@id": http://example.com/queen
http://example.com/vocab/label:
diff --git a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-original.yaml b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-compacted.yaml
similarity index 72%
rename from yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-original.yaml
rename to yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-compacted.yaml
index b39ef620..81cd9c04 100644
--- a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-original.yaml
+++ b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-compacted.yaml
@@ -1,4 +1,4 @@
-Example 086: Indexing languaged-tagged strings in JSON-LD with @set representation-original
+Example 100: Indexing languaged-tagged strings in JSON-LD with @set representation-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-expanded.yaml b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-expanded.yaml
index 4d430b77..712212fa 100644
--- a/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-expanded.yaml
+++ b/yaml/Indexing-languaged-tagged-strings-in-JSON-LD-with-set-representation-expanded.yaml
@@ -1,4 +1,4 @@
-Example 086: Indexing languaged-tagged strings in JSON-LD with @set representation-expanded
+Example 100: Indexing languaged-tagged strings in JSON-LD with @set representation-expanded
---
- "@id": http://example.com/queen
http://example.com/vocab/label:
diff --git a/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-original.yaml b/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-compacted.yaml
similarity index 73%
rename from yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-original.yaml
rename to yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-compacted.yaml
index 4a4f16c0..42c6e357 100644
--- a/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-original.yaml
+++ b/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-compacted.yaml
@@ -1,4 +1,4 @@
-Example 087: Indexing languaged-tagged strings using @none for no language-original
+Example 101: Indexing languaged-tagged strings using @none for no language-compacted
---
"@context":
vocab: http://example.com/vocab/
diff --git a/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-expanded.yaml b/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-expanded.yaml
index aaf4f246..49b4ec4d 100644
--- a/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-expanded.yaml
+++ b/yaml/Indexing-languaged-tagged-strings-using-none-for-no-language-expanded.yaml
@@ -1,4 +1,4 @@
-Example 087: Indexing languaged-tagged strings using @none for no language-expanded
+Example 101: Indexing languaged-tagged strings using @none for no language-expanded
---
- "@id": http://example.com/queen
http://example.com/vocab/label:
diff --git a/yaml/JSON-LD-using-native-data-types-for-numbers-and-boolean-values.yaml b/yaml/JSON-LD-using-native-data-types-for-numbers-and-boolean-values.yaml
index 0943697a..d900bce6 100644
--- a/yaml/JSON-LD-using-native-data-types-for-numbers-and-boolean-values.yaml
+++ b/yaml/JSON-LD-using-native-data-types-for-numbers-and-boolean-values.yaml
@@ -1,4 +1,4 @@
-Example 141: JSON-LD using native data types for numbers and boolean values
+Example 157: JSON-LD using native data types for numbers and boolean values
---
"@context":
ex: http://example.com/vocab#
diff --git a/yaml/JSON-Literal-original.yaml b/yaml/JSON-Literal-compacted.yaml
similarity index 79%
rename from yaml/JSON-Literal-original.yaml
rename to yaml/JSON-Literal-compacted.yaml
index 10c160cf..6a71627b 100644
--- a/yaml/JSON-Literal-original.yaml
+++ b/yaml/JSON-Literal-compacted.yaml
@@ -1,4 +1,4 @@
-Example 054: JSON Literal-original
+Example 062: JSON Literal-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/JSON-Literal-expanded.yaml b/yaml/JSON-Literal-expanded.yaml
index cd4b89ee..1b669575 100644
--- a/yaml/JSON-Literal-expanded.yaml
+++ b/yaml/JSON-Literal-expanded.yaml
@@ -1,4 +1,4 @@
-Example 054: JSON Literal-expanded
+Example 062: JSON Literal-expanded
---
- http://example.com/vocab/json:
- "@value":
diff --git a/yaml/Language-map-expressing-a-property-in-three-languages.yaml b/yaml/Language-map-expressing-a-property-in-three-languages.yaml
index d70c17c6..732ad23d 100644
--- a/yaml/Language-map-expressing-a-property-in-three-languages.yaml
+++ b/yaml/Language-map-expressing-a-property-in-three-languages.yaml
@@ -1,4 +1,4 @@
-Example 062: Language map expressing a property in three languages
+Example 070: Language map expressing a property in three languages
---
"@context":
occupation:
diff --git a/yaml/Linked-Data-Dataset-compacted.yaml b/yaml/Linked-Data-Dataset-compacted.yaml
index 8fd49c82..fff7074a 100644
--- a/yaml/Linked-Data-Dataset-compacted.yaml
+++ b/yaml/Linked-Data-Dataset-compacted.yaml
@@ -1,4 +1,4 @@
-Example 133: Linked Data Dataset-compacted
+Example 149: Linked Data Dataset-compacted
---
"@context":
- http://schema.org/
diff --git a/yaml/Linked-Data-Dataset-expanded.yaml b/yaml/Linked-Data-Dataset-expanded.yaml
index 778b88f3..3149e614 100644
--- a/yaml/Linked-Data-Dataset-expanded.yaml
+++ b/yaml/Linked-Data-Dataset-expanded.yaml
@@ -1,4 +1,4 @@
-Example 133: Linked Data Dataset-expanded
+Example 149: Linked Data Dataset-expanded
---
- "@id": http://example.com/people/alice
http://schema.org/name:
diff --git a/yaml/Marking-a-context-to-not-propagate-compacted.yaml b/yaml/Marking-a-context-to-not-propagate-compacted.yaml
new file mode 100644
index 00000000..f6d9e134
--- /dev/null
+++ b/yaml/Marking-a-context-to-not-propagate-compacted.yaml
@@ -0,0 +1,12 @@
+Example 048: Marking a context to not propagate-compacted
+---
+"@context":
+ "@version": 1.1
+ term:
+ "@id": http://example.org/original
+ "@context":
+ "@propagate": false
+ term: http://example.org/non-propagated-term
+term:
+ term:
+ term: This term is from the first context
diff --git a/yaml/Marking-a-context-to-not-propagate-expanded.yaml b/yaml/Marking-a-context-to-not-propagate-expanded.yaml
new file mode 100644
index 00000000..99846739
--- /dev/null
+++ b/yaml/Marking-a-context-to-not-propagate-expanded.yaml
@@ -0,0 +1,6 @@
+Example 048: Marking a context to not propagate-expanded
+---
+- http://example.org/original:
+ - http://example.org/non-propagated-term:
+ - http://example.org/original:
+ - "@value": This term is from the first context
diff --git a/yaml/Multiple-array-values-of-different-types-original.yaml b/yaml/Multiple-array-values-of-different-types-compacted.yaml
similarity index 62%
rename from yaml/Multiple-array-values-of-different-types-original.yaml
rename to yaml/Multiple-array-values-of-different-types-compacted.yaml
index 63da73dd..707c6bf8 100644
--- a/yaml/Multiple-array-values-of-different-types-original.yaml
+++ b/yaml/Multiple-array-values-of-different-types-compacted.yaml
@@ -1,9 +1,9 @@
-Example 067: Multiple array values of different types-original
+Example 079: Multiple array values of different types-compacted
---
"@context":
- schema: http://schema.org/
+ ex: http://example.org/
"@id": http://example.org/people#michael
-schema:name:
+ex:name:
- Michael
- "@value": Mike
- "@value": Miguel
diff --git a/yaml/Multiple-array-values-of-different-types-expanded.yaml b/yaml/Multiple-array-values-of-different-types-expanded.yaml
index b9e00159..d3cd7c65 100644
--- a/yaml/Multiple-array-values-of-different-types-expanded.yaml
+++ b/yaml/Multiple-array-values-of-different-types-expanded.yaml
@@ -1,7 +1,7 @@
-Example 067: Multiple array values of different types-expanded
+Example 079: Multiple array values of different types-expanded
---
- "@id": http://example.org/people#michael
- http://schema.org/name:
+ http://example.org/name:
- "@value": Michael
- "@value": Mike
- "@value": Miguel
diff --git a/yaml/Multiple-values-with-no-inherent-order-original.yaml b/yaml/Multiple-values-with-no-inherent-order-compacted.yaml
similarity index 65%
rename from yaml/Multiple-values-with-no-inherent-order-original.yaml
rename to yaml/Multiple-values-with-no-inherent-order-compacted.yaml
index f30ec6cd..1937a7ed 100644
--- a/yaml/Multiple-values-with-no-inherent-order-original.yaml
+++ b/yaml/Multiple-values-with-no-inherent-order-compacted.yaml
@@ -1,4 +1,4 @@
-Example 065: Multiple values with no inherent order-original
+Example 077: Multiple values with no inherent order-compacted
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/Multiple-values-with-no-inherent-order-expanded.yaml b/yaml/Multiple-values-with-no-inherent-order-expanded.yaml
index 77ac1a7e..ac27a531 100644
--- a/yaml/Multiple-values-with-no-inherent-order-expanded.yaml
+++ b/yaml/Multiple-values-with-no-inherent-order-expanded.yaml
@@ -1,4 +1,4 @@
-Example 065: Multiple values with no inherent order-expanded
+Example 077: Multiple values with no inherent order-expanded
---
- "@id": http://example.org/people#joebob
http://xmlns.com/foaf/0.1/nick:
diff --git a/yaml/Nested-properties-original.yaml b/yaml/Nested-properties-compacted.yaml
similarity index 91%
rename from yaml/Nested-properties-original.yaml
rename to yaml/Nested-properties-compacted.yaml
index d86a8220..64d52f86 100644
--- a/yaml/Nested-properties-original.yaml
+++ b/yaml/Nested-properties-compacted.yaml
@@ -1,4 +1,4 @@
-Example 075: Nested properties-original
+Example 087: Nested properties-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/Nested-properties-expanded.yaml b/yaml/Nested-properties-expanded.yaml
index b6f6b895..1df8b00c 100644
--- a/yaml/Nested-properties-expanded.yaml
+++ b/yaml/Nested-properties-expanded.yaml
@@ -1,4 +1,4 @@
-Example 075: Nested properties-expanded
+Example 087: Nested properties-expanded
---
- "@id": http://example.org/myresource
http://xmlns.com/foaf/0.1/homepage:
diff --git a/yaml/Nested-properties-folded-into-containing-object-original.yaml b/yaml/Nested-properties-folded-into-containing-object-compacted.yaml
similarity index 83%
rename from yaml/Nested-properties-folded-into-containing-object-original.yaml
rename to yaml/Nested-properties-folded-into-containing-object-compacted.yaml
index 47755bc8..bb8aeafa 100644
--- a/yaml/Nested-properties-folded-into-containing-object-original.yaml
+++ b/yaml/Nested-properties-folded-into-containing-object-compacted.yaml
@@ -1,4 +1,4 @@
-Example 076: Nested properties folded into containing object-original
+Example 088: Nested properties folded into containing object-compacted
---
"@context":
skos: http://www.w3.org/2004/02/skos/core#
diff --git a/yaml/Nested-properties-folded-into-containing-object-expanded.yaml b/yaml/Nested-properties-folded-into-containing-object-expanded.yaml
index c4f115ab..a2e7e2e4 100644
--- a/yaml/Nested-properties-folded-into-containing-object-expanded.yaml
+++ b/yaml/Nested-properties-folded-into-containing-object-expanded.yaml
@@ -1,4 +1,4 @@
-Example 076: Nested properties folded into containing object-expanded
+Example 088: Nested properties folded into containing object-expanded
---
- "@id": http://example.org/myresource
http://xmlns.com/foaf/0.1/homepage:
diff --git a/yaml/Overriding-default-language-and-default-base-direction-using-an-expanded-value.yaml b/yaml/Overriding-default-language-and-default-base-direction-using-an-expanded-value.yaml
new file mode 100644
index 00000000..4a2675ca
--- /dev/null
+++ b/yaml/Overriding-default-language-and-default-base-direction-using-an-expanded-value.yaml
@@ -0,0 +1,10 @@
+Example 076: Overriding default language and default base direction using an expanded value
+---
+"@context":
+ "@language": ar-EG
+ "@direction": rtl
+title: 'HTML و CSS: تصميم و إنشاء مواقع الويب'
+author:
+ "@value": Jon Duckett
+ "@language": en
+ "@direction":
diff --git a/yaml/Overriding-default-language-using-an-expanded-value.yaml b/yaml/Overriding-default-language-using-an-expanded-value.yaml
index 575fac9d..3c9ec23e 100644
--- a/yaml/Overriding-default-language-using-an-expanded-value.yaml
+++ b/yaml/Overriding-default-language-using-an-expanded-value.yaml
@@ -1,4 +1,4 @@
-Example 063: Overriding default language using an expanded value
+Example 071: Overriding default language using an expanded value
---
"@context":
"@language": ja
diff --git a/yaml/Prefix-expansion-original.yaml b/yaml/Prefix-expansion-compacted.yaml
similarity index 70%
rename from yaml/Prefix-expansion-original.yaml
rename to yaml/Prefix-expansion-compacted.yaml
index a8062d54..77d333ee 100644
--- a/yaml/Prefix-expansion-original.yaml
+++ b/yaml/Prefix-expansion-compacted.yaml
@@ -1,4 +1,4 @@
-Example 030: Prefix expansion-original
+Example 030: Prefix expansion-compacted
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/Property-based-data-indexing-compacted.yaml b/yaml/Property-based-data-indexing-compacted.yaml
new file mode 100644
index 00000000..3d8e3223
--- /dev/null
+++ b/yaml/Property-based-data-indexing-compacted.yaml
@@ -0,0 +1,21 @@
+Example 098: Property-based data indexing-compacted
+---
+"@context":
+ "@version": 1.1
+ schema: http://schema.org/
+ name: schema:name
+ body: schema:articleBody
+ athletes:
+ "@id": schema:athlete
+ "@container": "@index"
+ "@index": schema:jobTitle
+"@id": http://example.com/
+"@type": schema:SportsTeam
+name: San Franciso Giants
+athletes:
+ Catcher:
+ "@type": schema:Person
+ name: Buster Posey
+ Starting Pitcher:
+ "@type": schema:Person
+ name: Madison Bumgarner
diff --git a/yaml/Property-based-data-indexing-original.yaml b/yaml/Property-based-data-indexing-original.yaml
deleted file mode 100644
index 3fb2f686..00000000
--- a/yaml/Property-based-data-indexing-original.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-Example 084: Property-based data indexing-original
----
-"@context":
- "@version": 1.1
- schema: http://schema.org/
- dc11: http://purl.org/dc/elements/1.1/
- name: schema:name
- body: schema:articleBody
- words: schema:wordCount
- post:
- "@id": schema:blogPost
- "@container": "@index"
- "@index": dc11:language
-"@id": http://example.com/
-"@type": schema:Blog
-name: World Financial News
-post:
- en:
- "@id": http://example.com/posts/1/en
- body: World commodities were up today with heavy trading of crude oil...
- words: 1539
- de:
- "@id": http://example.com/posts/1/de
- body: Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...
- words: 1204
diff --git a/yaml/Referencing-Objects-on-the-Web-original.yaml b/yaml/Referencing-Objects-on-the-Web-compacted.yaml
similarity index 78%
rename from yaml/Referencing-Objects-on-the-Web-original.yaml
rename to yaml/Referencing-Objects-on-the-Web-compacted.yaml
index 304fd97f..1f6a3737 100644
--- a/yaml/Referencing-Objects-on-the-Web-original.yaml
+++ b/yaml/Referencing-Objects-on-the-Web-compacted.yaml
@@ -1,4 +1,4 @@
-Example 016: Referencing Objects on the Web-original
+Example 016: Referencing Objects on the Web-compacted
---
"@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Referencing-a-Context-in-an-HTML-document-expanded.yaml b/yaml/Referencing-a-Context-in-an-HTML-document-expanded.yaml
deleted file mode 100644
index 18fbe6d7..00000000
--- a/yaml/Referencing-a-Context-in-an-HTML-document-expanded.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-Example 131: Referencing a Context in an HTML document-expanded
----
-- "@id": http://dbpedia.org/resource/John_Lennon
- http://xmlns.com/foaf/0.1/name:
- - "@value": John Lennon
- http://schema.org/birthDate:
- - "@value": '1940-10-09'
- "@type": http://www.w3.org/2001/XMLSchema#date
- http://schema.org/spouse:
- - "@id": http://dbpedia.org/resource/Cynthia_Lennon
diff --git a/yaml/Referencing-a-Context-in-an-HTML-document-original.yaml b/yaml/Referencing-a-Context-in-an-HTML-document-original.yaml
deleted file mode 100644
index a2c3fdd9..00000000
--- a/yaml/Referencing-a-Context-in-an-HTML-document-original.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-Example 131: Referencing a Context in an HTML document-original
----
-"@context": https://json-ld.org/contexts/person.html
-"@id": http://dbpedia.org/resource/John_Lennon
-name: John Lennon
-born: '1940-10-09'
-spouse: http://dbpedia.org/resource/Cynthia_Lennon
diff --git a/yaml/Referencing-a-JSON-LD-context-original.yaml b/yaml/Referencing-a-JSON-LD-context-compacted.yaml
similarity index 74%
rename from yaml/Referencing-a-JSON-LD-context-original.yaml
rename to yaml/Referencing-a-JSON-LD-context-compacted.yaml
index df60bc08..dd99b052 100644
--- a/yaml/Referencing-a-JSON-LD-context-original.yaml
+++ b/yaml/Referencing-a-JSON-LD-context-compacted.yaml
@@ -1,4 +1,4 @@
-Example 005: Referencing a JSON-LD context-original
+Example 005: Referencing a JSON-LD context-compacted
---
"@context": https://json-ld.org/contexts/person.jsonld
name: Manu Sporny
diff --git a/yaml/Referencing-an-unidentified-node-original.yaml b/yaml/Referencing-an-unidentified-node-compacted.yaml
similarity index 79%
rename from yaml/Referencing-an-unidentified-node-original.yaml
rename to yaml/Referencing-an-unidentified-node-compacted.yaml
index 937d7faa..9d34b70c 100644
--- a/yaml/Referencing-an-unidentified-node-original.yaml
+++ b/yaml/Referencing-an-unidentified-node-compacted.yaml
@@ -1,4 +1,4 @@
-Example 080: Referencing an unidentified node-original
+Example 094: Referencing an unidentified node-compacted
---
"@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Referencing-an-unidentified-node-expanded.yaml b/yaml/Referencing-an-unidentified-node-expanded.yaml
index bff59416..28177a25 100644
--- a/yaml/Referencing-an-unidentified-node-expanded.yaml
+++ b/yaml/Referencing-an-unidentified-node-expanded.yaml
@@ -1,4 +1,4 @@
-Example 080: Referencing an unidentified node-expanded
+Example 094: Referencing an unidentified node-expanded
---
- "@id": _:b0
"@type":
diff --git a/yaml/Referencing-named-graphs-using-an-id-map-original.yaml b/yaml/Referencing-named-graphs-using-an-id-map-compacted.yaml
similarity index 75%
rename from yaml/Referencing-named-graphs-using-an-id-map-original.yaml
rename to yaml/Referencing-named-graphs-using-an-id-map-compacted.yaml
index 8428bd39..2cac21fd 100644
--- a/yaml/Referencing-named-graphs-using-an-id-map-original.yaml
+++ b/yaml/Referencing-named-graphs-using-an-id-map-compacted.yaml
@@ -1,10 +1,10 @@
-Example 103: Referencing named graphs using an id map-original
+Example 120: Referencing named graphs using an id map-compacted
---
"@context":
"@version": 1.1
generatedAt:
"@id": http://www.w3.org/ns/prov#generatedAtTime
- "@type": http://www.w3.org/2001/XMLSchema#date
+ "@type": http://www.w3.org/2001/XMLSchema#dateTime
Person: http://xmlns.com/foaf/0.1/Person
name: http://xmlns.com/foaf/0.1/name
knows:
@@ -16,14 +16,14 @@ Example 103: Referencing named graphs using an id map-original
- "@graph"
- "@id"
"@id": http://example.org/foaf-graph
-generatedAt: '2012-04-09'
+generatedAt: '2012-04-09T00:00:00'
graphMap:
- http://manu.sporny.org/about#manu:
+ http://manu.sporny.org/about:
"@id": http://manu.sporny.org/about#manu
"@type": Person
name: Manu Sporny
knows: https://greggkellogg.net/foaf#me
- https://greggkellogg.net/foaf#me:
+ https://greggkellogg.net/foaf:
"@id": https://greggkellogg.net/foaf#me
"@type": Person
name: Gregg Kellogg
diff --git a/yaml/Referencing-named-graphs-using-an-id-map-expanded.yaml b/yaml/Referencing-named-graphs-using-an-id-map-expanded.yaml
index 113c390f..80087c0c 100644
--- a/yaml/Referencing-named-graphs-using-an-id-map-expanded.yaml
+++ b/yaml/Referencing-named-graphs-using-an-id-map-expanded.yaml
@@ -1,9 +1,9 @@
-Example 103: Referencing named graphs using an id map-expanded
+Example 120: Referencing named graphs using an id map-expanded
---
- "@id": http://example.org/foaf-graph
http://www.w3.org/ns/prov#generatedAtTime:
- - "@value": '2012-04-09'
- "@type": http://www.w3.org/2001/XMLSchema#date
+ - "@value": '2012-04-09T00:00:00'
+ "@type": http://www.w3.org/2001/XMLSchema#dateTime
http://example.org/graphMap:
- "@graph":
- "@id": http://manu.sporny.org/about#manu
@@ -13,7 +13,7 @@ Example 103: Referencing named graphs using an id map-expanded
- "@id": https://greggkellogg.net/foaf#me
http://xmlns.com/foaf/0.1/name:
- "@value": Manu Sporny
- "@id": http://manu.sporny.org/about#manu
+ "@id": http://manu.sporny.org/about
- "@graph":
- "@id": https://greggkellogg.net/foaf#me
"@type":
@@ -22,4 +22,4 @@ Example 103: Referencing named graphs using an id map-expanded
- "@id": http://manu.sporny.org/about#manu
http://xmlns.com/foaf/0.1/name:
- "@value": Gregg Kellogg
- "@id": https://greggkellogg.net/foaf#me
+ "@id": https://greggkellogg.net/foaf
diff --git a/yaml/Referencing-named-graphs-using-an-id-map-with-none-original.yaml b/yaml/Referencing-named-graphs-using-an-id-map-with-none-compacted.yaml
similarity index 80%
rename from yaml/Referencing-named-graphs-using-an-id-map-with-none-original.yaml
rename to yaml/Referencing-named-graphs-using-an-id-map-with-none-compacted.yaml
index fe63a73e..b3f224de 100644
--- a/yaml/Referencing-named-graphs-using-an-id-map-with-none-original.yaml
+++ b/yaml/Referencing-named-graphs-using-an-id-map-with-none-compacted.yaml
@@ -1,10 +1,10 @@
-Example 104: Referencing named graphs using an id map with @none-original
+Example 121: Referencing named graphs using an id map with @none-compacted
---
"@context":
"@version": 1.1
generatedAt:
"@id": http://www.w3.org/ns/prov#generatedAtTime
- "@type": http://www.w3.org/2001/XMLSchema#date
+ "@type": http://www.w3.org/2001/XMLSchema#dateTime
Person: http://xmlns.com/foaf/0.1/Person
name: http://xmlns.com/foaf/0.1/name
knows:
@@ -16,7 +16,7 @@ Example 104: Referencing named graphs using an id map with @none-original
- "@graph"
- "@id"
"@id": http://example.org/foaf-graph
-generatedAt: '2012-04-09'
+generatedAt: '2012-04-09T00:00:00'
graphMap:
"@none":
- "@id": http://manu.sporny.org/about#manu
diff --git a/yaml/Referencing-named-graphs-using-an-id-map-with-none-expanded.yaml b/yaml/Referencing-named-graphs-using-an-id-map-with-none-expanded.yaml
index 77e1f07d..99483927 100644
--- a/yaml/Referencing-named-graphs-using-an-id-map-with-none-expanded.yaml
+++ b/yaml/Referencing-named-graphs-using-an-id-map-with-none-expanded.yaml
@@ -1,9 +1,9 @@
-Example 104: Referencing named graphs using an id map with @none-expanded
+Example 121: Referencing named graphs using an id map with @none-expanded
---
- "@id": http://example.org/foaf-graph
http://www.w3.org/ns/prov#generatedAtTime:
- - "@value": '2012-04-09'
- "@type": http://www.w3.org/2001/XMLSchema#date
+ - "@value": '2012-04-09T00:00:00'
+ "@type": http://www.w3.org/2001/XMLSchema#dateTime
http://example.org/graphMap:
- "@graph":
- "@id": http://manu.sporny.org/about#manu
diff --git a/yaml/Referencing-node-objects-original.yaml b/yaml/Referencing-node-objects-compacted.yaml
similarity index 84%
rename from yaml/Referencing-node-objects-original.yaml
rename to yaml/Referencing-node-objects-compacted.yaml
index 51cf9137..5c8a143c 100644
--- a/yaml/Referencing-node-objects-original.yaml
+++ b/yaml/Referencing-node-objects-compacted.yaml
@@ -1,4 +1,4 @@
-Example 078: Referencing node objects-original
+Example 092: Referencing node objects-compacted
---
"@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Referencing-node-objects-expanded.yaml b/yaml/Referencing-node-objects-expanded.yaml
index 78df4146..9e803bd4 100644
--- a/yaml/Referencing-node-objects-expanded.yaml
+++ b/yaml/Referencing-node-objects-expanded.yaml
@@ -1,4 +1,4 @@
-Example 078: Referencing node objects-expanded
+Example 092: Referencing node objects-expanded
---
- "@type":
- http://xmlns.com/foaf/0.1/Person
diff --git a/yaml/Removing-language-information-using-an-expanded-value.yaml b/yaml/Removing-language-information-using-an-expanded-value.yaml
index f07afa79..a78d4f38 100644
--- a/yaml/Removing-language-information-using-an-expanded-value.yaml
+++ b/yaml/Removing-language-information-using-an-expanded-value.yaml
@@ -1,4 +1,4 @@
-Example 064: Removing language information using an expanded value
+Example 072: Removing language information using an expanded value
---
"@context":
"@language": ja
diff --git a/yaml/Result-of-sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.yaml b/yaml/Result-of-sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.yaml
new file mode 100644
index 00000000..d9a2441c
--- /dev/null
+++ b/yaml/Result-of-sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.yaml
@@ -0,0 +1,13 @@
+Example 051: Result of sourcing a context in a type-scoped context and setting it to propagate
+---
+"@context":
+ "@version": 1.1
+ MyType:
+ "@id": http://example.com/vocab#MyType
+ "@context":
+ "@version": 1.1
+ Type1: http://example.com/vocab/Type1
+ Type2: http://example.com/vocab/Type2
+ term1: http://example.com/vocab#term1
+ term2: http://example.com/vocab#term2
+ "@propagate": true
diff --git a/yaml/Result-of-sourcing-a-context-to-modify-vocab-and-a-term-definition.yaml b/yaml/Result-of-sourcing-a-context-to-modify-vocab-and-a-term-definition.yaml
new file mode 100644
index 00000000..f3ab5801
--- /dev/null
+++ b/yaml/Result-of-sourcing-a-context-to-modify-vocab-and-a-term-definition.yaml
@@ -0,0 +1,11 @@
+Example 053: Result of sourcing a context to modify @vocab and a term definition
+---
+"@context":
+ "@version": 1.1
+ Type1: http://example.com/vocab/Type1
+ Type2: http://example.com/vocab/Type2
+ term1:
+ "@id": http://example.org/vocab#term1
+ "@type": http://www.w3.org/2001/XMLSchema#integer
+ term2: http://example.com/vocab#term2
+ "@vocab": http://example.org/vocab#
diff --git a/yaml/Reversing-Node-Relationships-compacted.yaml b/yaml/Reversing-Node-Relationships-compacted.yaml
index 0ab68a95..28c73b4e 100644
--- a/yaml/Reversing-Node-Relationships-compacted.yaml
+++ b/yaml/Reversing-Node-Relationships-compacted.yaml
@@ -1,4 +1,4 @@
-Example 114: Reversing Node Relationships-compacted
+Example 131: Reversing Node Relationships-compacted
---
"@context":
name: http://example.com/vocab#name
diff --git a/yaml/Reversing-Node-Relationships-context.yaml b/yaml/Reversing-Node-Relationships-context.yaml
index 843917fd..3d714556 100644
--- a/yaml/Reversing-Node-Relationships-context.yaml
+++ b/yaml/Reversing-Node-Relationships-context.yaml
@@ -1,4 +1,4 @@
-Example 114: Reversing Node Relationships-context
+Example 131: Reversing Node Relationships-context
---
"@context":
name: http://example.com/vocab#name
diff --git a/yaml/Reversing-Node-Relationships-expanded.yaml b/yaml/Reversing-Node-Relationships-expanded.yaml
index 632fd62b..d843f913 100644
--- a/yaml/Reversing-Node-Relationships-expanded.yaml
+++ b/yaml/Reversing-Node-Relationships-expanded.yaml
@@ -1,4 +1,4 @@
-Example 114: Reversing Node Relationships-expanded
+Example 131: Reversing Node Relationships-expanded
---
- "@id": http://example.org/#homer
http://example.com/vocab#name:
diff --git a/yaml/Same-book-description-in-JSON-LD-avoiding-contexts-.yaml b/yaml/Same-book-description-in-JSON-LD-avoiding-contexts-.yaml
index 42358a61..ee5125ff 100644
--- a/yaml/Same-book-description-in-JSON-LD-avoiding-contexts-.yaml
+++ b/yaml/Same-book-description-in-JSON-LD-avoiding-contexts-.yaml
@@ -1,17 +1,17 @@
-Example 148: Same book description in JSON-LD (avoiding contexts)
+Example 164: Same book description in JSON-LD (avoiding contexts)
---
- "@id": http://purl.oreilly.com/works/45U8QJGZSQKDH8N
"@type": http://purl.org/vocab/frbr/core#Work
- http://purl.org/dc/terms/title: Just a Geek
- http://purl.org/dc/terms/creator: Wil Wheaton
+ http://purl.org/dc/elements/1.1/title: Just a Geek
+ http://purl.org/dc/elements/1.1/creator: Wil Wheaton
http://purl.org/vocab/frbr/core#realization:
- "@id": http://purl.oreilly.com/products/9780596007683.BOOK
- "@id": http://purl.oreilly.com/products/9780596802189.EBOOK
- "@id": http://purl.oreilly.com/products/9780596007683.BOOK
"@type": http://purl.org/vocab/frbr/core#Expression
- http://purl.org/dc/terms/type:
+ http://purl.org/dc/elements/1.1/type:
"@id": http://purl.oreilly.com/product-types/BOOK
- "@id": http://purl.oreilly.com/products/9780596802189.EBOOK
"@type": http://purl.org/vocab/frbr/core#Expression
- http://purl.org/dc/terms/type:
+ http://purl.org/dc/elements/1.1/type:
"@id": http://purl.oreilly.com/product-types/EBOOK
diff --git a/yaml/Same-description-in-JSON-LD-context-shared-among-node-objects-.yaml b/yaml/Same-description-in-JSON-LD-context-shared-among-node-objects-.yaml
index 03324a38..cdcc5f88 100644
--- a/yaml/Same-description-in-JSON-LD-context-shared-among-node-objects-.yaml
+++ b/yaml/Same-description-in-JSON-LD-context-shared-among-node-objects-.yaml
@@ -1,4 +1,4 @@
-Example 146: Same description in JSON-LD (context shared among node objects)
+Example 162: Same description in JSON-LD (context shared among node objects)
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/Same-embedding-example-in-JSON-LD.yaml b/yaml/Same-embedding-example-in-JSON-LD.yaml
index 531b7d8b..2a1fd42d 100644
--- a/yaml/Same-embedding-example-in-JSON-LD.yaml
+++ b/yaml/Same-embedding-example-in-JSON-LD.yaml
@@ -1,4 +1,4 @@
-Example 140: Same embedding example in JSON-LD
+Example 156: Same embedding example in JSON-LD
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/Same-example-with-a-list-of-values-in-JSON-LD.yaml b/yaml/Same-example-with-a-list-of-values-in-JSON-LD.yaml
index 67516479..37fb6e74 100644
--- a/yaml/Same-example-with-a-list-of-values-in-JSON-LD.yaml
+++ b/yaml/Same-example-with-a-list-of-values-in-JSON-LD.yaml
@@ -1,4 +1,4 @@
-Example 144: Same example with a list of values in JSON-LD
+Example 160: Same example with a list of values in JSON-LD
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/Sample-JSON-LD-document-to-be-expanded.yaml b/yaml/Sample-JSON-LD-document-to-be-expanded.yaml
index c3254db3..e0a5ccb4 100644
--- a/yaml/Sample-JSON-LD-document-to-be-expanded.yaml
+++ b/yaml/Sample-JSON-LD-document-to-be-expanded.yaml
@@ -1,4 +1,4 @@
-Example 105: Sample JSON-LD document to be expanded
+Example 122: Sample JSON-LD document to be expanded
---
"@context":
name: http://xmlns.com/foaf/0.1/name
diff --git a/yaml/Sample-JSON-LD-document-to-be-flattened.yaml b/yaml/Sample-JSON-LD-document-to-be-flattened.yaml
index 391d9f02..1786be2e 100644
--- a/yaml/Sample-JSON-LD-document-to-be-flattened.yaml
+++ b/yaml/Sample-JSON-LD-document-to-be-flattened.yaml
@@ -1,4 +1,4 @@
-Example 119: Sample JSON-LD document to be flattened
+Example 136: Sample JSON-LD document to be flattened
---
"@context":
name: http://xmlns.com/foaf/0.1/name
diff --git a/yaml/Sample-JSON-LD-document.yaml b/yaml/Sample-JSON-LD-document.yaml
index cafbc84c..80400a06 100644
--- a/yaml/Sample-JSON-LD-document.yaml
+++ b/yaml/Sample-JSON-LD-document.yaml
@@ -1,4 +1,4 @@
-Example 134: Sample JSON-LD document
+Example 150: Sample JSON-LD document
---
"@context":
name: http://xmlns.com/foaf/0.1/name
diff --git a/yaml/Sample-context.yaml b/yaml/Sample-context.yaml
index 973debc1..6b5a94b7 100644
--- a/yaml/Sample-context.yaml
+++ b/yaml/Sample-context.yaml
@@ -1,4 +1,4 @@
-Example 108: Sample context
+Example 125: Sample context
---
"@context":
name: http://xmlns.com/foaf/0.1/name
diff --git a/yaml/Sample-expanded-JSON-LD-document.yaml b/yaml/Sample-expanded-JSON-LD-document.yaml
index 7f5e5977..aad62710 100644
--- a/yaml/Sample-expanded-JSON-LD-document.yaml
+++ b/yaml/Sample-expanded-JSON-LD-document.yaml
@@ -1,4 +1,4 @@
-Example 107: Sample expanded JSON-LD document
+Example 124: Sample expanded JSON-LD document
---
- http://xmlns.com/foaf/0.1/name:
- Manu Sporny
diff --git a/yaml/Sample-library-frame.yaml b/yaml/Sample-library-frame.yaml
index e7a7e900..5c97d525 100644
--- a/yaml/Sample-library-frame.yaml
+++ b/yaml/Sample-library-frame.yaml
@@ -1,4 +1,4 @@
-Example 121: Sample library frame
+Example 138: Sample library frame
---
"@context":
"@version": 1.1
diff --git a/yaml/Setting-container-set-on-type.yaml b/yaml/Setting-container-set-on-type.yaml
index ca3a1c6d..a43c0c4d 100644
--- a/yaml/Setting-container-set-on-type.yaml
+++ b/yaml/Setting-container-set-on-type.yaml
@@ -1,4 +1,4 @@
-Example 074: Setting @container: @set on @type
+Example 086: Setting @container: @set on @type
---
"@context":
"@version": 1.1
diff --git a/yaml/Setting-the-default-base-direction-of-a-JSON-LD-document-compacted.yaml b/yaml/Setting-the-default-base-direction-of-a-JSON-LD-document-compacted.yaml
new file mode 100644
index 00000000..d3265dd9
--- /dev/null
+++ b/yaml/Setting-the-default-base-direction-of-a-JSON-LD-document-compacted.yaml
@@ -0,0 +1,9 @@
+Example 073: Setting the default base direction of a JSON-LD document-compacted
+---
+"@context":
+ title: http://example.org/title
+ publisher: http://example.org/publisher
+ "@language": ar-EG
+ "@direction": rtl
+title: 'HTML و CSS: تصميم و إنشاء مواقع الويب'
+publisher: مكتبة
diff --git a/yaml/Setting-the-default-base-direction-of-a-JSON-LD-document-expanded.yaml b/yaml/Setting-the-default-base-direction-of-a-JSON-LD-document-expanded.yaml
new file mode 100644
index 00000000..060ffa20
--- /dev/null
+++ b/yaml/Setting-the-default-base-direction-of-a-JSON-LD-document-expanded.yaml
@@ -0,0 +1,10 @@
+Example 073: Setting the default base direction of a JSON-LD document-expanded
+---
+- http://example.org/title:
+ - "@value": 'HTML و CSS: تصميم و إنشاء مواقع الويب'
+ "@language": ar-eg
+ "@direction": rtl
+ http://example.org/publisher:
+ - "@value": مكتبة
+ "@language": ar-eg
+ "@direction": rtl
diff --git a/yaml/Setting-the-default-language-of-a-JSON-LD-document-original.yaml b/yaml/Setting-the-default-language-of-a-JSON-LD-document-compacted.yaml
similarity index 66%
rename from yaml/Setting-the-default-language-of-a-JSON-LD-document-original.yaml
rename to yaml/Setting-the-default-language-of-a-JSON-LD-document-compacted.yaml
index 70421ccf..f2535be2 100644
--- a/yaml/Setting-the-default-language-of-a-JSON-LD-document-original.yaml
+++ b/yaml/Setting-the-default-language-of-a-JSON-LD-document-compacted.yaml
@@ -1,4 +1,4 @@
-Example 059: Setting the default language of a JSON-LD document-original
+Example 067: Setting the default language of a JSON-LD document-compacted
---
"@context":
name: http://example.org/name
diff --git a/yaml/Setting-the-default-language-of-a-JSON-LD-document-expanded.yaml b/yaml/Setting-the-default-language-of-a-JSON-LD-document-expanded.yaml
index ad25efc6..a7d1ac87 100644
--- a/yaml/Setting-the-default-language-of-a-JSON-LD-document-expanded.yaml
+++ b/yaml/Setting-the-default-language-of-a-JSON-LD-document-expanded.yaml
@@ -1,4 +1,4 @@
-Example 059: Setting the default language of a JSON-LD document-expanded
+Example 067: Setting the default language of a JSON-LD document-expanded
---
- http://example.org/name:
- "@value": 花澄
diff --git a/yaml/Setting-the-document-base-in-a-document-original.yaml b/yaml/Setting-the-document-base-in-a-document-compacted.yaml
similarity index 70%
rename from yaml/Setting-the-document-base-in-a-document-original.yaml
rename to yaml/Setting-the-document-base-in-a-document-compacted.yaml
index bf912c0a..3483a016 100644
--- a/yaml/Setting-the-document-base-in-a-document-original.yaml
+++ b/yaml/Setting-the-document-base-in-a-document-compacted.yaml
@@ -1,4 +1,4 @@
-Example 029: Setting the document base in a document-original
+Example 027: Setting the document base in a document-compacted
---
"@context":
"@base": http://example.com/document.jsonld
diff --git a/yaml/Setting-the-document-base-in-a-document-expanded.yaml b/yaml/Setting-the-document-base-in-a-document-expanded.yaml
index 257a86ea..b3debd70 100644
--- a/yaml/Setting-the-document-base-in-a-document-expanded.yaml
+++ b/yaml/Setting-the-document-base-in-a-document-expanded.yaml
@@ -1,4 +1,4 @@
-Example 029: Setting the document base in a document-expanded
+Example 027: Setting the document base in a document-expanded
---
- "@id": http://example.com/document.jsonld
http://www.w3.org/2000/01/rdf-schema#label:
diff --git a/yaml/Sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.yaml b/yaml/Sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.yaml
new file mode 100644
index 00000000..36250f48
--- /dev/null
+++ b/yaml/Sourcing-a-context-in-a-type-scoped-context-and-setting-it-to-propagate.yaml
@@ -0,0 +1,10 @@
+Example 050: Sourcing a context in a type-scoped context and setting it to propagate
+---
+"@context":
+ "@version": 1.1
+ MyType:
+ "@id": http://example.com/vocab#MyType
+ "@context":
+ "@version": 1.1
+ "@import": https://json-ld.org/contexts/remote-context.jsonld
+ "@propagate": true
diff --git a/yaml/Sourcing-a-context-to-modify-vocab-and-a-term-definition.yaml b/yaml/Sourcing-a-context-to-modify-vocab-and-a-term-definition.yaml
new file mode 100644
index 00000000..7a073f2c
--- /dev/null
+++ b/yaml/Sourcing-a-context-to-modify-vocab-and-a-term-definition.yaml
@@ -0,0 +1,9 @@
+Example 052: Sourcing a context to modify @vocab and a term definition
+---
+"@context":
+ "@version": 1.1
+ "@import": https://json-ld.org/contexts/remote-context.jsonld
+ "@vocab": http://example.org/vocab#
+ term1:
+ "@id": http://example.org/vocab#term1
+ "@type": http://www.w3.org/2001/XMLSchema#integer
diff --git a/yaml/Specifying-a-local-blank-node-identifier-original.yaml b/yaml/Specifying-a-local-blank-node-identifier-compacted.yaml
similarity index 65%
rename from yaml/Specifying-a-local-blank-node-identifier-original.yaml
rename to yaml/Specifying-a-local-blank-node-identifier-compacted.yaml
index ce51f110..dcacca55 100644
--- a/yaml/Specifying-a-local-blank-node-identifier-original.yaml
+++ b/yaml/Specifying-a-local-blank-node-identifier-compacted.yaml
@@ -1,4 +1,4 @@
-Example 081: Specifying a local blank node identifier-original
+Example 095: Specifying a local blank node identifier-compacted
---
"@context": http://schema.org/
"@id": _:n1
diff --git a/yaml/Specifying-a-local-blank-node-identifier-expanded.yaml b/yaml/Specifying-a-local-blank-node-identifier-expanded.yaml
index 89e246e8..c1421900 100644
--- a/yaml/Specifying-a-local-blank-node-identifier-expanded.yaml
+++ b/yaml/Specifying-a-local-blank-node-identifier-expanded.yaml
@@ -1,4 +1,4 @@
-Example 081: Specifying a local blank node identifier-expanded
+Example 095: Specifying a local blank node identifier-expanded
---
- "@id": _:n1
http://schema.org/name:
diff --git a/yaml/Specifying-multiple-types-for-a-node-original.yaml b/yaml/Specifying-multiple-types-for-a-node-compacted.yaml
similarity index 65%
rename from yaml/Specifying-multiple-types-for-a-node-original.yaml
rename to yaml/Specifying-multiple-types-for-a-node-compacted.yaml
index 83efa979..c19913f3 100644
--- a/yaml/Specifying-multiple-types-for-a-node-original.yaml
+++ b/yaml/Specifying-multiple-types-for-a-node-compacted.yaml
@@ -1,4 +1,4 @@
-Example 014: Specifying multiple types for a node-original
+Example 014: Specifying multiple types for a node-compacted
---
"@id": http://me.markus-lanthaler.com/
"@type":
diff --git a/yaml/Specifying-that-a-collection-is-ordered-in-the-context-original.yaml b/yaml/Specifying-that-a-collection-is-ordered-in-the-context-compacted.yaml
similarity index 67%
rename from yaml/Specifying-that-a-collection-is-ordered-in-the-context-original.yaml
rename to yaml/Specifying-that-a-collection-is-ordered-in-the-context-compacted.yaml
index d6fea70a..ad72995a 100644
--- a/yaml/Specifying-that-a-collection-is-ordered-in-the-context-original.yaml
+++ b/yaml/Specifying-that-a-collection-is-ordered-in-the-context-compacted.yaml
@@ -1,4 +1,4 @@
-Example 069: Specifying that a collection is ordered in the context-original
+Example 081: Specifying that a collection is ordered in the context-compacted
---
"@context":
nick:
diff --git a/yaml/Specifying-that-a-collection-is-ordered-in-the-context-expanded.yaml b/yaml/Specifying-that-a-collection-is-ordered-in-the-context-expanded.yaml
index dfb3e451..39c41897 100644
--- a/yaml/Specifying-that-a-collection-is-ordered-in-the-context-expanded.yaml
+++ b/yaml/Specifying-that-a-collection-is-ordered-in-the-context-expanded.yaml
@@ -1,4 +1,4 @@
-Example 069: Specifying that a collection is ordered in the context-expanded
+Example 081: Specifying that a collection is ordered in the context-expanded
---
- "@id": http://example.org/people#joebob
http://xmlns.com/foaf/0.1/nick:
diff --git a/yaml/Specifying-that-a-collection-is-unordered-in-the-context-original.yaml b/yaml/Specifying-that-a-collection-is-unordered-in-the-context-compacted.yaml
similarity index 66%
rename from yaml/Specifying-that-a-collection-is-unordered-in-the-context-original.yaml
rename to yaml/Specifying-that-a-collection-is-unordered-in-the-context-compacted.yaml
index ff3d0337..1ec03c0e 100644
--- a/yaml/Specifying-that-a-collection-is-unordered-in-the-context-original.yaml
+++ b/yaml/Specifying-that-a-collection-is-unordered-in-the-context-compacted.yaml
@@ -1,4 +1,4 @@
-Example 073: Specifying that a collection is unordered in the context-original
+Example 085: Specifying that a collection is unordered in the context-compacted
---
"@context":
nick:
diff --git a/yaml/Specifying-that-a-collection-is-unordered-in-the-context-expanded.yaml b/yaml/Specifying-that-a-collection-is-unordered-in-the-context-expanded.yaml
index 4b4b62b0..16d58f88 100644
--- a/yaml/Specifying-that-a-collection-is-unordered-in-the-context-expanded.yaml
+++ b/yaml/Specifying-that-a-collection-is-unordered-in-the-context-expanded.yaml
@@ -1,4 +1,4 @@
-Example 073: Specifying that a collection is unordered in the context-expanded
+Example 085: Specifying that a collection is unordered in the context-expanded
---
- "@id": http://example.org/people#joebob
http://xmlns.com/foaf/0.1/nick:
diff --git a/yaml/Specifying-the-type-for-a-node-original.yaml b/yaml/Specifying-the-type-for-a-node-compacted.yaml
similarity index 79%
rename from yaml/Specifying-the-type-for-a-node-original.yaml
rename to yaml/Specifying-the-type-for-a-node-compacted.yaml
index 9467d00a..1b97dfce 100644
--- a/yaml/Specifying-the-type-for-a-node-original.yaml
+++ b/yaml/Specifying-the-type-for-a-node-compacted.yaml
@@ -1,4 +1,4 @@
-Example 013: Specifying the type for a node-original
+Example 013: Specifying the type for a node-compacted
---
"@context":
givenName: http://schema.org/givenName
diff --git a/yaml/Term-Selection-compacted.yaml b/yaml/Term-Selection-compacted.yaml
index df38d4a9..1ef74636 100644
--- a/yaml/Term-Selection-compacted.yaml
+++ b/yaml/Term-Selection-compacted.yaml
@@ -1,4 +1,4 @@
-Example 118: Term Selection-compacted
+Example 135: Term Selection-compacted
---
"@context":
vocab: http://example.com/vocab/
diff --git a/yaml/Term-Selection-context.yaml b/yaml/Term-Selection-context.yaml
index b516db14..14f47931 100644
--- a/yaml/Term-Selection-context.yaml
+++ b/yaml/Term-Selection-context.yaml
@@ -1,4 +1,4 @@
-Example 118: Term Selection-context
+Example 135: Term Selection-context
---
"@context":
vocab: http://example.com/vocab/
diff --git a/yaml/Term-Selection-expanded.yaml b/yaml/Term-Selection-expanded.yaml
index cad57cb2..50bd3248 100644
--- a/yaml/Term-Selection-expanded.yaml
+++ b/yaml/Term-Selection-expanded.yaml
@@ -1,4 +1,4 @@
-Example 118: Term Selection-expanded
+Example 135: Term Selection-expanded
---
- http://example.com/vocab/property:
- "@value": string
diff --git a/yaml/Term-definitions-using-compact-and-absolute-IRIs-original.yaml b/yaml/Term-definitions-using-compact-and-absolute-IRIs-compacted.yaml
similarity index 83%
rename from yaml/Term-definitions-using-compact-and-absolute-IRIs-original.yaml
rename to yaml/Term-definitions-using-compact-and-absolute-IRIs-compacted.yaml
index e36261fe..6c13f0ef 100644
--- a/yaml/Term-definitions-using-compact-and-absolute-IRIs-original.yaml
+++ b/yaml/Term-definitions-using-compact-and-absolute-IRIs-compacted.yaml
@@ -1,4 +1,4 @@
-Example 058: Term definitions using compact and absolute IRIs-original
+Example 066: Term definitions using compact and absolute IRIs-compacted
---
"@context":
xsd: http://www.w3.org/2001/XMLSchema#
diff --git a/yaml/Term-definitions-using-compact-and-absolute-IRIs-expanded.yaml b/yaml/Term-definitions-using-compact-and-absolute-IRIs-expanded.yaml
index a0be50e4..27aefedb 100644
--- a/yaml/Term-definitions-using-compact-and-absolute-IRIs-expanded.yaml
+++ b/yaml/Term-definitions-using-compact-and-absolute-IRIs-expanded.yaml
@@ -1,4 +1,4 @@
-Example 058: Term definitions using compact and absolute IRIs-expanded
+Example 066: Term definitions using compact and absolute IRIs-expanded
---
- http://xmlns.com/foaf/0.1/age:
- "@type": http://www.w3.org/2001/XMLSchema#integer
diff --git a/yaml/Term-expansion-for-values-not-identifiers-original.yaml b/yaml/Term-expansion-for-values-not-identifiers-compacted.yaml
similarity index 61%
rename from yaml/Term-expansion-for-values-not-identifiers-original.yaml
rename to yaml/Term-expansion-for-values-not-identifiers-compacted.yaml
index de45de35..897edaa0 100644
--- a/yaml/Term-expansion-for-values-not-identifiers-original.yaml
+++ b/yaml/Term-expansion-for-values-not-identifiers-compacted.yaml
@@ -1,11 +1,12 @@
-Example 056: Term expansion for values, not identifiers-original
+Example 064: Term expansion for values, not identifiers-compacted
---
"@context":
"@base": http://example1.com/
"@vocab": http://example2.com/
- fred:
+ knows:
"@type": "@vocab"
-fred:
+"@id": fred
+knows:
- "@id": barney
mnemonic: the sidekick
- barney
diff --git a/yaml/Term-expansion-for-values-not-identifiers-expanded.yaml b/yaml/Term-expansion-for-values-not-identifiers-expanded.yaml
index 33b2b398..c447e80b 100644
--- a/yaml/Term-expansion-for-values-not-identifiers-expanded.yaml
+++ b/yaml/Term-expansion-for-values-not-identifiers-expanded.yaml
@@ -1,6 +1,7 @@
-Example 056: Term expansion for values, not identifiers-expanded
+Example 064: Term expansion for values, not identifiers-expanded
---
-- http://example2.com/fred:
+- "@id": http://example1.com/fred
+ http://example2.com/knows:
- "@id": http://example1.com/barney
http://example2.com/mnemonic:
- "@value": the sidekick
diff --git a/yaml/Term-expansion-from-context-definition-original.yaml b/yaml/Term-expansion-from-context-definition-compacted.yaml
similarity index 56%
rename from yaml/Term-expansion-from-context-definition-original.yaml
rename to yaml/Term-expansion-from-context-definition-compacted.yaml
index 6ce32c7e..404c5a5a 100644
--- a/yaml/Term-expansion-from-context-definition-original.yaml
+++ b/yaml/Term-expansion-from-context-definition-compacted.yaml
@@ -1,4 +1,4 @@
-Example 010: Term expansion from context definition-original
+Example 010: Term expansion from context definition-compacted
---
"@context":
name: http://schema.org/name
diff --git a/yaml/Terms-not-expanded-when-document-relative-original.yaml b/yaml/Terms-not-expanded-when-document-relative-compacted.yaml
similarity index 61%
rename from yaml/Terms-not-expanded-when-document-relative-original.yaml
rename to yaml/Terms-not-expanded-when-document-relative-compacted.yaml
index 915b9b0f..cac8c1c7 100644
--- a/yaml/Terms-not-expanded-when-document-relative-original.yaml
+++ b/yaml/Terms-not-expanded-when-document-relative-compacted.yaml
@@ -1,11 +1,12 @@
-Example 057: Terms not expanded when document-relative-original
+Example 065: Terms not expanded when document-relative-compacted
---
"@context":
"@base": http://example1.com/
"@vocab": http://example2.com/
- fred:
+ knows:
"@type": "@id"
-fred:
+"@id": fred
+knows:
- "@id": barney
mnemonic: the sidekick
- barney
diff --git a/yaml/Terms-not-expanded-when-document-relative-expanded.yaml b/yaml/Terms-not-expanded-when-document-relative-expanded.yaml
index 70b663da..44618559 100644
--- a/yaml/Terms-not-expanded-when-document-relative-expanded.yaml
+++ b/yaml/Terms-not-expanded-when-document-relative-expanded.yaml
@@ -1,6 +1,7 @@
-Example 057: Terms not expanded when document-relative-expanded
+Example 065: Terms not expanded when document-relative-expanded
---
-- http://example2.com/fred:
+- "@id": http://example1.com/fred
+ http://example2.com/knows:
- "@id": http://example1.com/barney
http://example2.com/mnemonic:
- "@value": the sidekick
diff --git a/yaml/The-same-set-of-statements-serialized-in-JSON-LD.yaml b/yaml/The-same-set-of-statements-serialized-in-JSON-LD.yaml
index e0d03543..f13fe8a8 100644
--- a/yaml/The-same-set-of-statements-serialized-in-JSON-LD.yaml
+++ b/yaml/The-same-set-of-statements-serialized-in-JSON-LD.yaml
@@ -1,4 +1,4 @@
-Example 138: The same set of statements serialized in JSON-LD
+Example 154: The same set of statements serialized in JSON-LD
---
"@context":
foaf: http://xmlns.com/foaf/0.1/
diff --git a/yaml/Type-coercion-original.yaml b/yaml/Type-coercion-compacted.yaml
similarity index 75%
rename from yaml/Type-coercion-original.yaml
rename to yaml/Type-coercion-compacted.yaml
index bb3327ca..9f293a07 100644
--- a/yaml/Type-coercion-original.yaml
+++ b/yaml/Type-coercion-compacted.yaml
@@ -1,4 +1,4 @@
-Example 011: Type coercion-original
+Example 011: Type coercion-compacted
---
"@context":
homepage:
diff --git a/yaml/Use-a-relative-IRI-as-node-identifier.yaml b/yaml/Use-a-relative-IRI-as-node-identifier.yaml
index 71ba3738..2fdcf759 100644
--- a/yaml/Use-a-relative-IRI-as-node-identifier.yaml
+++ b/yaml/Use-a-relative-IRI-as-node-identifier.yaml
@@ -1,4 +1,4 @@
-Example 028: Use a relative IRI as node identifier
+Example 026: Use a relative IRI as node identifier
---
"@context":
label: http://www.w3.org/2000/01/rdf-schema#label
diff --git a/yaml/Using-Arrays-for-Lists-compacted.yaml b/yaml/Using-Arrays-for-Lists-compacted.yaml
index 8f06d271..39b13e24 100644
--- a/yaml/Using-Arrays-for-Lists-compacted.yaml
+++ b/yaml/Using-Arrays-for-Lists-compacted.yaml
@@ -1,4 +1,4 @@
-Example 113: Using Arrays for Lists-compacted
+Example 130: Using Arrays for Lists-compacted
---
"@context":
nick:
diff --git a/yaml/Using-Arrays-for-Lists-context.yaml b/yaml/Using-Arrays-for-Lists-context.yaml
index 9acb16e2..8fb4f08d 100644
--- a/yaml/Using-Arrays-for-Lists-context.yaml
+++ b/yaml/Using-Arrays-for-Lists-context.yaml
@@ -1,4 +1,4 @@
-Example 113: Using Arrays for Lists-context
+Example 130: Using Arrays for Lists-context
---
"@context":
nick:
diff --git a/yaml/Using-Arrays-for-Lists-expanded.yaml b/yaml/Using-Arrays-for-Lists-expanded.yaml
index 1f4b0dcb..4ec2837d 100644
--- a/yaml/Using-Arrays-for-Lists-expanded.yaml
+++ b/yaml/Using-Arrays-for-Lists-expanded.yaml
@@ -1,4 +1,4 @@
-Example 113: Using Arrays for Lists-expanded
+Example 130: Using Arrays for Lists-expanded
---
- http://xmlns.com/foaf/0.1/nick:
- "@list":
diff --git a/yaml/Using-a-default-vocabulary-original.yaml b/yaml/Using-a-default-vocabulary-compacted.yaml
similarity index 72%
rename from yaml/Using-a-default-vocabulary-original.yaml
rename to yaml/Using-a-default-vocabulary-compacted.yaml
index 78895fc8..cdb5b68d 100644
--- a/yaml/Using-a-default-vocabulary-original.yaml
+++ b/yaml/Using-a-default-vocabulary-compacted.yaml
@@ -1,4 +1,4 @@
-Example 023: Using a default vocabulary-original
+Example 023: Using a default vocabulary-compacted
---
"@context":
"@vocab": http://example.com/vocab/
diff --git a/yaml/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-original.yaml b/yaml/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-compacted.yaml
similarity index 89%
rename from yaml/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-original.yaml
rename to yaml/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-compacted.yaml
index 59c02402..db889dc6 100644
--- a/yaml/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-original.yaml
+++ b/yaml/Using-a-default-vocabulary-relative-to-a-previous-default-vocabulary-compacted.yaml
@@ -1,4 +1,4 @@
-Example 025: Using a default vocabulary relative to a previous default vocabulary-original
+Example 025: Using a default vocabulary relative to a previous default vocabulary-compacted
---
"@context":
- "@vocab": http://example.com/
diff --git a/yaml/Using-a-term-to-specify-the-type-original.yaml b/yaml/Using-a-term-to-specify-the-type-compacted.yaml
similarity index 66%
rename from yaml/Using-a-term-to-specify-the-type-original.yaml
rename to yaml/Using-a-term-to-specify-the-type-compacted.yaml
index 28b00fe4..312ada45 100644
--- a/yaml/Using-a-term-to-specify-the-type-original.yaml
+++ b/yaml/Using-a-term-to-specify-the-type-compacted.yaml
@@ -1,4 +1,4 @@
-Example 015: Using a term to specify the type-original
+Example 015: Using a term to specify the type-compacted
---
"@context":
Person: http://schema.org/Person
diff --git a/yaml/Using-an-expanded-form-to-set-multiple-values-original.yaml b/yaml/Using-an-expanded-form-to-set-multiple-values-compacted.yaml
similarity index 72%
rename from yaml/Using-an-expanded-form-to-set-multiple-values-original.yaml
rename to yaml/Using-an-expanded-form-to-set-multiple-values-compacted.yaml
index 9af5117a..91de88b2 100644
--- a/yaml/Using-an-expanded-form-to-set-multiple-values-original.yaml
+++ b/yaml/Using-an-expanded-form-to-set-multiple-values-compacted.yaml
@@ -1,4 +1,4 @@
-Example 066: Using an expanded form to set multiple values-original
+Example 078: Using an expanded form to set multiple values-compacted
---
"@context":
dcterms: http://purl.org/dc/terms/
diff --git a/yaml/Using-an-expanded-form-to-set-multiple-values-expanded.yaml b/yaml/Using-an-expanded-form-to-set-multiple-values-expanded.yaml
index 5db83a32..99f1f5c8 100644
--- a/yaml/Using-an-expanded-form-to-set-multiple-values-expanded.yaml
+++ b/yaml/Using-an-expanded-form-to-set-multiple-values-expanded.yaml
@@ -1,4 +1,4 @@
-Example 066: Using an expanded form to set multiple values-expanded
+Example 078: Using an expanded form to set multiple values-expanded
---
- "@id": http://example.org/articles/8
http://purl.org/dc/terms/title:
diff --git a/yaml/Using-as-the-vocabulary-mapping-expanded-expanded.yaml b/yaml/Using-as-the-vocabulary-mapping-expanded-expanded.yaml
index beba999d..0e4cf3a1 100644
--- a/yaml/Using-as-the-vocabulary-mapping-expanded-expanded.yaml
+++ b/yaml/Using-as-the-vocabulary-mapping-expanded-expanded.yaml
@@ -1,4 +1,4 @@
-Example 027: Using "" as the vocabulary mapping (expanded)-expanded
+Example 029: Using "#" as the vocabulary mapping (expanded)-expanded
---
- "@id": http://example.org/places#BrewEats
"@type":
diff --git a/yaml/Using-as-the-vocabulary-mapping.yaml b/yaml/Using-as-the-vocabulary-mapping.yaml
index 347c12b4..b60c48b9 100644
--- a/yaml/Using-as-the-vocabulary-mapping.yaml
+++ b/yaml/Using-as-the-vocabulary-mapping.yaml
@@ -1,4 +1,4 @@
-Example 026: Using "#" as the vocabulary mapping
+Example 028: Using "#" as the vocabulary mapping
---
"@context":
"@version": 1.1
diff --git a/yaml/Using-graph-to-explicitly-express-the-default-graph-original.yaml b/yaml/Using-graph-to-explicitly-express-the-default-graph-compacted.yaml
similarity index 81%
rename from yaml/Using-graph-to-explicitly-express-the-default-graph-original.yaml
rename to yaml/Using-graph-to-explicitly-express-the-default-graph-compacted.yaml
index 94e76901..2fdf59aa 100644
--- a/yaml/Using-graph-to-explicitly-express-the-default-graph-original.yaml
+++ b/yaml/Using-graph-to-explicitly-express-the-default-graph-compacted.yaml
@@ -1,4 +1,4 @@
-Example 098: Using @graph to explicitly express the default graph-original
+Example 115: Using @graph to explicitly express the default graph-compacted
---
"@context":
"@vocab": http://xmlns.com/foaf/0.1/
diff --git a/yaml/Using-graph-to-explicitly-express-the-default-graph-expanded.yaml b/yaml/Using-graph-to-explicitly-express-the-default-graph-expanded.yaml
index 30ba7de5..0ed36d5e 100644
--- a/yaml/Using-graph-to-explicitly-express-the-default-graph-expanded.yaml
+++ b/yaml/Using-graph-to-explicitly-express-the-default-graph-expanded.yaml
@@ -1,4 +1,4 @@
-Example 098: Using @graph to explicitly express the default graph-expanded
+Example 115: Using @graph to explicitly express the default graph-expanded
---
- "@id": http://manu.sporny.org/about#manu
"@type":
diff --git a/yaml/Using-multiple-contexts-original.yaml b/yaml/Using-multiple-contexts-compacted.yaml
similarity index 89%
rename from yaml/Using-multiple-contexts-original.yaml
rename to yaml/Using-multiple-contexts-compacted.yaml
index 2bd327d5..84829cb2 100644
--- a/yaml/Using-multiple-contexts-original.yaml
+++ b/yaml/Using-multiple-contexts-compacted.yaml
@@ -1,4 +1,4 @@
-Example 018: Using multiple contexts-original
+Example 018: Using multiple contexts-compacted
---
- "@context": https://json-ld.org/contexts/person.jsonld
name: Manu Sporny
diff --git a/yaml/Using-reverse-to-define-reverse-properties-original.yaml b/yaml/Using-reverse-to-define-reverse-properties-compacted.yaml
similarity index 75%
rename from yaml/Using-reverse-to-define-reverse-properties-original.yaml
rename to yaml/Using-reverse-to-define-reverse-properties-compacted.yaml
index c74a82ac..cddbb3fc 100644
--- a/yaml/Using-reverse-to-define-reverse-properties-original.yaml
+++ b/yaml/Using-reverse-to-define-reverse-properties-compacted.yaml
@@ -1,4 +1,4 @@
-Example 096: Using @reverse to define reverse properties-original
+Example 113: Using @reverse to define reverse properties-compacted
---
"@context":
name: http://example.com/vocab#name
diff --git a/yaml/Using-reverse-to-define-reverse-properties-expanded.yaml b/yaml/Using-reverse-to-define-reverse-properties-expanded.yaml
index c4252f98..b3ee8cdc 100644
--- a/yaml/Using-reverse-to-define-reverse-properties-expanded.yaml
+++ b/yaml/Using-reverse-to-define-reverse-properties-expanded.yaml
@@ -1,4 +1,4 @@
-Example 096: Using @reverse to define reverse properties-expanded
+Example 113: Using @reverse to define reverse properties-expanded
---
- "@id": http://example.org/#homer
http://example.com/vocab#name:
diff --git a/yaml/Using-reverse-to-define-reverse-properties-flattened.yaml b/yaml/Using-reverse-to-define-reverse-properties-flattened.yaml
index e1580cef..0c5cf575 100644
--- a/yaml/Using-reverse-to-define-reverse-properties-flattened.yaml
+++ b/yaml/Using-reverse-to-define-reverse-properties-flattened.yaml
@@ -1,4 +1,4 @@
-Example 096: Using @reverse to define reverse properties-flattened
+Example 113: Using @reverse to define reverse properties-flattened
---
- "@id": http://example.org/#homer
http://example.com/vocab#name:
diff --git a/yaml/Using-the-document-base-URL-to-establish-the-default-base-IRI-expanded.yaml b/yaml/Using-the-document-base-URL-to-establish-the-default-base-IRI-expanded.yaml
index 98652c93..cd83a938 100644
--- a/yaml/Using-the-document-base-URL-to-establish-the-default-base-IRI-expanded.yaml
+++ b/yaml/Using-the-document-base-URL-to-establish-the-default-base-IRI-expanded.yaml
@@ -1,4 +1,4 @@
-Example 127: Using the document base URL to establish the default base IRI-expanded
+Example 145: Using the document base URL to establish the default base IRI-expanded
---
- "@id": http://dbpedia.org/resource/John_Lennon
http://xmlns.com/foaf/0.1/name:
diff --git a/yaml/Using-the-null-keyword-to-ignore-data-original.yaml b/yaml/Using-the-null-keyword-to-ignore-data-compacted.yaml
similarity index 73%
rename from yaml/Using-the-null-keyword-to-ignore-data-original.yaml
rename to yaml/Using-the-null-keyword-to-ignore-data-compacted.yaml
index 20f66252..98597adc 100644
--- a/yaml/Using-the-null-keyword-to-ignore-data-original.yaml
+++ b/yaml/Using-the-null-keyword-to-ignore-data-compacted.yaml
@@ -1,4 +1,4 @@
-Example 024: Using the null keyword to ignore data-original
+Example 024: Using the null keyword to ignore data-compacted
---
"@context":
"@vocab": http://example.com/vocab/
diff --git a/yaml/Using-vocabularies-original.yaml b/yaml/Using-vocabularies-compacted.yaml
similarity index 90%
rename from yaml/Using-vocabularies-original.yaml
rename to yaml/Using-vocabularies-compacted.yaml
index f03be45b..43bb2d6a 100644
--- a/yaml/Using-vocabularies-original.yaml
+++ b/yaml/Using-vocabularies-compacted.yaml
@@ -1,4 +1,4 @@
-Example 031: Using vocabularies-original
+Example 031: Using vocabularies-compacted
---
"@context":
"@version": 1.1
diff --git a/yaml/overriding-permitted-in-property-scoped-context-original.yaml b/yaml/overriding-permitted-in-property-scoped-context-compacted.yaml
similarity index 80%
rename from yaml/overriding-permitted-in-property-scoped-context-original.yaml
rename to yaml/overriding-permitted-in-property-scoped-context-compacted.yaml
index de12066e..fdcd6591 100644
--- a/yaml/overriding-permitted-in-property-scoped-context-original.yaml
+++ b/yaml/overriding-permitted-in-property-scoped-context-compacted.yaml
@@ -1,4 +1,4 @@
-Example 049: overriding permitted in property scoped context-original
+Example 057: overriding permitted in property scoped context-compacted
---
"@context":
- "@version": 1.1
@@ -19,5 +19,5 @@ Example 049: overriding permitted in property scoped context-original
name: Digital Bazaar
employee:
name: Sporny
-location:
- name: Blacksburg, Virginia
+ location:
+ name: Blacksburg, Virginia