Skip to content

w3c/json-ld-rc

Repository files navigation

W3C Logo

RDFa Core Initial Context, JSON-LD Recommended Context

This is the repository for a recommended context for JSON-LD 1.1, as well as the RDFa Core Initial Context, developed and maintained by the W3C JSON-LD Working Group. Most of the major resources in this repository are redirected from W3C URI-s that have been in use by the community for a while. These are as follows:

  • RDFa Core Initial Context: a list of predefined prefixes defined for RDFa as an “initial context”. RDFa users can use these prefixes without having the obligation of defining the prefixes in the HTML code, because RDFa implementations are supposed to “know” these prefixes. The list of these prefixes are available in:

    • HTML+RDFa, redirected from https://www.w3.org/2011/rdfa-context/rdfa-1.1.html
    • Turtle, redirected from https://www.w3.org/2011/rdfa-context/rdfa-1.1.ttl
    • RDF/XML, redirected from https://www.w3.org/2011/rdfa-context/rdfa-1.1.rdf
    • JSON-LD, redirected from https://www.w3.org/2011/rdfa-context/rdfa-1.1.jsonld

    Note the the https://www.w3.org/2011/rdfa-context/rdfa-1.1 URI can be used and the format is returned based on context negotiation.

  • JSON-LD Recommended Context: the list of prefixes, defined by the RDFa initial context, is also available as a JSON-LD @context file. JSON-LD users can use these prefixes by referring to this recommended context by importing it through a @context statement. This context file is available in:

    • JSON-LD Context, redirected from http://www.w3.org/2013/json-ld-context/rdfa11
  • Turtle prefixes: the list of prefixes, defined by the RDFa initial context, is also available as a Turtle file. Turtle does not have any import mechanism, but this file can be imported manually into a Turtle file. This turtle file is available in:

Automatically Derived Files

On a pull request, the files in Turtle, RDF/XML, and JSON-LD syntaxes are all built from the RDFa Initial Context in rdfa-1.1.html. Those files should not be modified by hand.

Files are built using a GitHub Workflow using a series of Ruby scripts to generate the associated files. The workflow is started when a Pull Request is created or updated.

Contributing to the Repository

Use the standard fork, branch, and pull request workflow to propose changes to the content. Please make branch names informative—by including the issue or bug number for example.

Please read CONTRIBUTING.md, about licensing contributions.

Code of Conduct

W3C functions under a code of conduct.