Skip to content

Notes on the initial content of the recommended context

Ivan Herman edited this page Dec 11, 2019 · 4 revisions

Relationship to the RDFa initial context

Most of the terms from the initial context have been taken over from the RDFa initial context, but I believe some of the terms may be not be appropriate for the recommended context, so I did not incorporate them. They are listed in a separate file on the repository; the group should decide on whether it is indeed o.k. not to use them.

Vocabularies in the RDFa initial context that have not been added

  • "earl":"http://www.w3.org/ns/earl#", "cnt":"http://www.w3.org/2008/content#", "ht":"http://www.w3.org/2006/http#", and "ptr":"http://www.w3.org/2009/pointers#":

    all these vocabularies defined for EARL which was never finalized as a Recommendation, and never got any traction outside of the W3C testing process.

  • "ctag":"http://commontag.org/ns#":

    the URL goes to a 404…

  • "people":"http://www.w3.org/ns/people#":

    the URL goes to a 404…; in any case, it is an old, experimental vocabulary for describing people, and is probably deprecated in favor of schema.org and/or foaf

  • "gr":"http://purl.org/goodrelations/v1#":

    the Good Relations terms have been reproduced in schema.org; it is not clear whether the original namespace is still in use

  • "grddl":"http://www.w3.org/2003/g/data-view#":

    closely related to the (hardly ever used) GRDDL recommendation, probably of no use in a JSON environment

  • "ical":"http://www.w3.org/2002/12/cal/icaltzd#":

    a vocabulary defined in an old project on calendars; I guess most of the terms have now been defined in schema.org (Event, attendee, etc.)

  • "rev":"http://purl.org/stuff/rev#":

    defined in RDF Review Vocabulary; I have never seen this in usage…

  • "rdfa": "http://www.w3.org/ns/rdfa#":

    defined for some RDFa-related processing, probably irrelevant for JSON-LD data

  • "rif": "http://www.w3.org/2007/rif#":

    defined for some RIF-related processing, probably irrelevant for JSON-LD data

  • "sd":"http://www.w3.org/ns/sparql-service-description#":

    defined for some SPARQL-related processing, probably irrelevant for JSON-LD data

  • "xml":"http://www.w3.org/XML/1998/namespace":

    the terms defined in this namespace (lang, id, base, etc) have a counterpart in JSON-LD and should not be used in this context…

  • "v":"http://rdf.data-vocabulary.org/#":

    obsoleted by schema.org, goes to a 404…

  • "wdr":"http://www.w3.org/2007/05/powder#" and "wdrs":"http://www.w3.org/2007/05/powder-s#":

    both defined by the POWDER recommendation. Alas!, this recommendation has never been in use and, in any case, the vocabulary is bound to the processing of Powder…

Terms in the RDFa initial context that have not been added

  • "describedby":"http://www.w3.org/2007/05/powder-s#describedby":

    see the remark on POWDER above

  • "role":"http://www.w3.org/1999/xhtml/vocab#role":

    alas!, the role HTML attribute has been fully taken over by ARIA, which means that its old usage should probably be deprecated. Better not to promote it…

Term in the RDFa initial context that has been modified:

  • "license": {"@id" : "schema:license", "@type" : "@id"} (was mapped onto xhv:license, which is bound to (X)HTML…)

Terms from the Schema.org context file that have been added:

Harmonizations:

There were a number of inconsistencies between the RDFa initial context and schema.org on the various Dublin Core prefixes. To reconcile, some of these have been duplicated, to keep the schema.org prefixes, too, yielding:

  • dc and dc11 both denoting http://purl.org/dc/elements/1.1/
  • dct and dcterms both denoting http://purl.org/dc/terms/
  • dctype denoting http://purl.org/dc/dcmitype/

Added terms

Based on earlier discussions, the following terms have been added to help the documentation of data:

  • "type":"@type"
  • "id":"@type"
  • "none":"@none"
  • "direction":"@direction",
  • `"language":"@language",
  • "label": "rdfs:label"
  • "comment": "rdfs:comment"
  • "isDefinedBy": {"@id" : "rdfs:isDefinedBy", "@type" : "@id"}
  • "seeAlso": {"@id" : "rdfs:seeAlso", "@type" : "@id"}
  • "HTML": "rdf:HTML"
  • "JSON": "rdf:JSON"