JSON-LD


Definition

JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding linked data using JSON. It allows for the serialization of RDF graphs and datasets in a format that is both human-readable and machine-processable. JSON-LD extends the JSON data interchange format by incorporating semantic annotations that map keys to Internationalized Resource Identifiers (IRIs), enabling data to be linked across documents and vocabularies on the Web.

User Cases

JSON-LD is widely used in web applications to embed structured data within HTML documents, often through <script type="application/ld+json"> elements. It is utilized in domains such as the Web of Things (WoT) for linking ontologies and in cultural heritage projects like Linked Art for serializing linked open data. JSON-LD is also the basis for formats like Activity Streams and is used in protocols such as ActivityPub for federated social networking.

Why It Matters for SEO

JSON-LD is crucial for SEO as it enables the use of structured data markup, particularly for Schema.org vocabularies. This markup is recommended by search engines like Google to enhance the discoverability of web content. By providing a machine-readable structure, JSON-LD helps search engines understand the context and relationships within the data, improving the visibility and ranking of web pages.

Related Concepts

Related concepts include RDF (Resource Description Framework), which JSON-LD is designed to be compatible with, and Schema.org, which provides a collection of shared vocabularies used in JSON-LD markup. Other related technologies include the Semantic Web, which aims to make web data machine-readable, and the concept of Linked Data, which JSON-LD facilitates by allowing data to be connected and enriched across different sources.