From dec3c94b1f5d577bcaea0a8f1cbeb67544870388 Mon Sep 17 00:00:00 2001
From: Matt Garrish Additional Manifest Properties
href="https://www.w3.org/TR/json-ld/#compact-iris">Compact IRIs [[!json-ld]],
with prefixes defined as part of the context.
A prefix definition dc
for [[dcterms]] is included in the context
+
A prefix definition dcterms
for [[dcterms]] is included in the context
file of [[schema.org]]. This means that it is not necessary to add the prefix explicitly.
The same is true for a number of other public vocabularies; see the schema.org context file for
further details.
+{ "@context" : ["https://schema.org","https://www.w3.org/ns/pub-context"], "type" : "TechArticle", @@ -2143,14 +2143,24 @@-Additional Manifest Properties
}+{ "@context" : ["https://schema.org","https://www.w3.org/ns/pub-context"], "type" : "CreativeWork", … "id" : "http://www.w3.org/TR/tabular-data-model/", "url" : "http://www.w3.org/TR/2015/REC-tabular-data-model-20151217/", -"dc:subject" : ["Web data description languages","Data integration","Data Exchange"], +"dcterms:subject" : ["Web data description languages","Data integration","Data Exchange"], +… +} ++ ++{ +"@context" : ["https://schema.org","https://www.w3.org/ns/pub-context"], +"type" : "CreativeWork", +… +"dcterms:conformsTo" : "https://example.org/publishing/standard-11", … }From 29046848be9dd34cf9796b3d116ca0446f4c23b8 Mon Sep 17 00:00:00 2001 From: Matt GarrishDate: Sun, 15 Sep 2019 12:17:35 -0300 Subject: [PATCH 2/2] update note to include more prefixes; add example of extending context --- index.html | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index a6a1d60..a125563 100644 --- a/index.html +++ b/index.html @@ -2123,12 +2123,26 @@ Additional Manifest Properties
RECOMMENDED that such terms be included using Compact IRIs [[!json-ld]], with prefixes defined as part of the context. - -A prefix definition
+ +dcterms
for [[dcterms]] is included in the context - file of [[schema.org]]. This means that it is not necessary to add the prefix explicitly. - The same is true for a number of other public vocabularies; see the schema.org context file for - further details.+{ +"@context" : [ + "https://schema.org", + "https://www.w3.org/ns/pub-context", + {"ex": "https://example.org/vocab"} + ], +… +"ex:region" : "North America", +… +} ++ +The schema.org context + file [[schema.org]] defines a number of prefixes for commonly used vocabularies, + such as the Dublin Core Terms (`dcterms`) [[dcterms]] and Element Set (`dc`) [[dc11]], the + FOAF vocabulary (`foaf`) [[foaf]], and the Bibliographic Ontology (`bibo`) [[bibo]]. + Properties from these vocabularies can be used without their prefixes having to be + declared.
{ @@ -2154,7 +2168,7 @@- +Additional Manifest Properties
… }{ "@context" : ["https://schema.org","https://www.w3.org/ns/pub-context"],