JSON-LD

JavaScript Object Notation for Linked Data (JSON-LD) is a lightweight way to represent linked data that is compatible with the Resource Description Framework (RDF). This compatibility is very valuable since RDF has been used to represent knowledge and information for a long time, and this allows those representations to be understood by modern software systems.

One major goal and benefit of JSON-LD is its compatibility with JSON. Developers familiar with JSON should be able to quickly understand and modify existing systems to process JSON-LD. The most notable difference between JSON and JSON-LD is the inclusion of the concept of a “context.” This context is used to map terms to Internationalized Resource Identifiers (IRIs), which allows machines and humans to understand not just what is communicated in the data, but what is meant by the data being communicated.

For example, take the following snippet of JSON:

"name": "Jane Austen"

While human readers know that “Jane Austen” is a person’s name, a machine does not because we have not defined what kind of data a “name” is. To a machine, the following JSON would be just as valid and sensible:

"blorp": "Jane Austen"

By adding a context, however, we are able to clarify what we mean by “name”:

"@context": {
    "name": "https://schema.org/name"
}

This allows both humans and machines to understand what is meant by “name,” because we have linked that variable to a shared understanding outlined in Schema.org.

Linked Data 101

Linked data is “structured data which is interlinked with other data” so that it becomes more useful. Tim Berners-Lee, director of the World Wide Web Consortium (W3C), coined the term “linked data” in a 2006 design note about the Semantic Web project.[2] The “Semantic Web” refers to a broad vision of the Web as being comprised of linked data.

Generally, supporters of the semantic web have focused on making information available to both humans and machines. This helps search engines, advertisers, and AI-related projects better understand the content on web sites and its potential relationship to visitors of those sites.

Some of the most popular semantic web projects include Freebase, which was acquired by Google and Schema.org. Schema.org is used by a large variety of companies and organizations across the web to describe

Traceability Vocab

The traceability vocabulary is a W3C CCG Work Item dedicated to applying W3C Verifiable Credentials and the best industry and academic ontologies to the challenges associated with global supply chain traceability. The vocabulary strives not to reinvent any wheels and instead leverages the best industry ontologies available including schema.org, GS1 Web Vocabulary, and Chemical Entities of Biological Interest (ChEBI). Leveraging these existing ontologies enables certification authorities to issue semantically unambious claims about supply chain organizations and products that help with transparency and accountability issues associated with product origin and global trade requirements.

Last updated