W3C-JSON-LD-1-1
W3C JSON-LD 1.1 JSON Linked Data RDF.
Définition
JSON-LD 1.1 keywords cles : @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 janvier 2014) : 1.1 ajoute 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.
Origine
W3C JSON-LD Community Group 2010 (initiated par Manu Sporny, Markus Lanthaler, Niklas Lindstrom, Gregg Kellogg) ; JSON-LD 1.0 W3C Recommendation 16 janvier 2014 ; JSON-LD 1.1 W3C Recommendation 16 juillet 2020.
Exemple en contexte
Schema.org markup page web e-commerce produit : JSON-LD 1.1 @context 'https://schema.org', @type 'Product', name + image + offers (Offer with price), aggregateRating ; Google search engine parse JSON-LD pour rich snippets stars rating + price affichage SERP.
Termes liés
- W3C CSVW — alternative tabular Linked Data.