JSON-LD
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding linked data using JSON and of serializing data similarly to traditional JSON. It is meant to be simple to create by modifying JSON documents. JSON-LD is a World Wide Web Consortium Recommendation initially developed by the JSON for Linking Data Community Group, transferred to the RDF Working Group for review, improvement and standardization, and now maintained by the JSON-LD Working Group.
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding linked data using JSON and of serializing data similarly to traditional JSON. It is meant to be simple to create by modifying JSON documents. JSON-LD is a World Wide Web Consortium Recommendation initially developed by the JSON for Linking Data Community Group, transferred to the RDF Working Group for review, improvement and standardization, and now maintained by the JSON-LD Working Group. ==Example== { "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/workplaceHomepage", "@type": "@id" }, "Person": "http://xmlns.com/foaf/0.1/Person" }, "@id": "https://me.example.com", "@type": "Person", "name": "John Smith", "homepage": "https://www.example.com/" } The example above describes a person, based on the FOAF (friend of a friend) ontology. First, the two JSON properties name and homepage and the type Person are mapped to concepts in the FOAF vocabulary and the value of the homepage property is specified to be of the type @id . In other words, the homepage id is specified to be an IRI in the context definition. Based on the RDF model, this allows the person described in the document to be unambiguously identified by an IRI. The use of resolvable IRIs allows RDF documents containing more information to be transcluded which enables clients to discover new data by following those links; this principle is known as 'Follow Your Nose'. By having all data semantically annotated as in the example, an RDF processor can identify that the document contains information about a person ( @type ) and if the processor understands the FOAF vocabulary it can determine which properties specify the person's name and homepage. ==References== ==External links== JSON-LD.org Schema.org JSON-LD Validator & Visualizer
References
- ^ "On Using JSON-LD to Create Evolvable RESTful Services" . , M. Lanthaler and C. Gütl in Proceedings of the 3rd International Workshop on RESTful Design (WS-REST 2012) at WWW2012. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ "Method Entities in Search" . Google Developers . Retrieved 2017-10-17 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1508194800.0
- ^ "Structured data and JSON-LD requirements for Google Knowledge Panels" . Lindy Panels. 2024-02-14 . Retrieved 2026-05-08 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1778194800.0
- ^ Xin, Jiwen; Afrasiabi, Cyrus; Lelong, Sebastien; Adesara, Julee; Tsueng, Ginger; Su, Andrew I.; Wu, Chunlei (2018-02-01). "Cross-linking BioThings APIs through JSON-LD to facilitate knowledge exploration" . BMC Bioinformatics . 19 (1): 30. doi : 10.1186/s12859-018-2041-5 . PMC 5796402 . PMID 29390967 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ Huynh, Trung Dong; Michaelides, Danius T.; Moreau, Luc (2016). "PROV-JSONLD: A JSON and linked data representation for provenance" (PDF) . In Mattoso, Marta; Glavic, Boris (eds.). Provenance and annotation of data and processes: 6th International Provenance and Annotation Workshop, IPAW 2016, McLean, VA, USA, June 7-8, 2016, Proceedings . Lecture Notes in Computer Science. Vol. 9672. Cham: Springer International Publishing. pp. 173– 177. doi : 10.1007/978-3-319-40593-3_15 . ISBN 978-3-319-40592-6 . S2CID 44036472 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ Prodromou, Evan (May 2017). "Activity Streams 2.0" . W3C Recommendation – via W3C. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ Tallon, Jessica (Jan 2018). "ActivityPub" . W3C Recommendation – via W3C. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ "Web of Things (WoT) Thing Description, W3C Proposed Recommendation" . www.w3.org . Retrieved 2020-03-26 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1585177200.0
- ^ "JSON-LD Syntax 1.1" . 2010-07-16 . Retrieved 2020-12-10 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1607554800.0
- ^ "JSON for Linking Data Community Group" . json-ld.org. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ "RDF Working Group" . w3.org. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ "JSON-LD 1.0, A JSON-based Serialization for Linked Data, W3C Recommendation 16 January 2014" . 2014-01-16 . Retrieved 2020-12-10 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1607554800.0
- ^ "JSON-LD Working Group" . w3.org. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
- ^ "Linked Data Patterns, Chapter 5: Follow Your Nose" . 2023-06-07 . Retrieved 2023-06-07 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1686092400.0
- ^ "Data Model" . Schema.org . Retrieved 2018-06-20 . Wikipedia revision 1375091981, retrieved 2026-11-18 · 1529449200.0
- ^ "Understanding structured data" . Bendev Junior . 14 June 2022. Wikipedia revision 1375091981, retrieved 2026-11-18 · 1794956400.0
Cite this
"JSON-LD". 1789498219. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1375091981 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy