W3C-JSON-LD-1-1
W3C JSON-LD 1.1 JSON Linked Data RDF.
Definition
JSON-LD 1.1 key keywords: @context (mappings IRI -> term), @id (subject IRI), @type (RDF type IRI), @value (literal value), @language (language tag), @container (@list, @set, @index, @language, @id, @type, @graph), @graph (named graph), @nested (nesting properties), @included (embedded JSON-LD), @reverse (reverse property), @vocab (default vocabulary IRI). Operations: Expansion (resolve all @context mappings to absolute IRIs), Compaction (apply @context to shorten IRIs), Flattening (single graph normalized form), Framing (subset/restructure JSON-LD via frame template). Vs JSON-LD 1.0 (W3C Recommendation January 2014): 1.1 adds scoped contexts (per-type, per-property), indexed containers (@container @index), nested properties @nested, JSON literal type, etc. Adoption: Schema.org markup web pages SEO, ActivityPub social federation, Verifiable Credentials W3C VC, DID Decentralized Identifiers, Solid project Tim Berners-Lee.
Origin
W3C JSON-LD Community Group 2010 (initiated by Manu Sporny, Markus Lanthaler, Niklas Lindstrom, Gregg Kellogg) ; JSON-LD 1.0 W3C Recommendation 16 January 2014 ; JSON-LD 1.1 W3C Recommendation 16 July 2020.
Example in context
Schema.org markup e-commerce product web page: JSON-LD 1.1 @context 'https://schema.org', @type 'Product', name + image + offers (Offer with price), aggregateRating ; Google search engine parses JSON-LD for rich snippets stars rating + price SERP display.
Related terms
- W3C CSVW — alternative tabular Linked Data.