World Library  
Flag as Inappropriate
Email this Article

Json-ld

Article Id: WHEBN0034228206
Reproduction Date:

Title: Json-ld  
Author: World Heritage Encyclopedia
Language: English
Subject: Resource Description Framework, Web of Things, Linked data, Web Ontology Language, JSON
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Json-ld

JSON-LD
Filename extension .jsonld
Internet media type application/ld+json
Type of format Semantic Web
Container for Linked Data
Extended from JSON
Standard JSON-LD 1.0 / JSON-LD 1.0 API
Open format? Yes
JSON-LD 1.0 - A JSON-based Serialization for Linked Data
Current status W3C Recommendation
Year started 2010
Editors Manu Sporny, Gregg Kellogg, Markus Lanthaler
Authors Manu Sporny, Dave Longley, Gregg Kellogg, Markus Lanthaler, Niklas Lindström
Base standards JSON, RDF
Domain Semantic Web, Data Serialization
Abbreviation JSON-LD
Website JSON-LD 1.0
JSON-LD 1.0 Processing Algorithms and API
Current status W3C Recommendation
Year started 2010
Editors Markus Lanthaler, Gregg Kellogg, Manu Sporny
Authors Dave Longley, Gregg Kellogg, Markus Lanthaler, Manu Sporny
Base standards JSON-LD
Domain Semantic Web, API, Algorithm
Abbreviation JSON-LD-API
Website JSON-LD 1.0 API

JSON-LD, or JavaScript Object Notation for Linked Data, is a method of transporting Linked Data using JSON. It was a goal to require as little effort as possible from developers to transform their existing JSON to JSON-LD.[1] This allows data to be serialized in a way that is similar to traditional JSON.[2] It is a World Wide Web Consortium Recommendation that has been developed by the JSON for Linking Data Community Group before it has been transferred to the RDF Working Group for review, improvement, and standardization.[3]

JSON-LD is designed around the concept of a "context" to provide additional mappings from JSON to an RDF model. The context links object properties in a JSON document to concepts in an ontology. In order to map the JSON-LD syntax to RDF, JSON-LD allows values to be coerced to a specified type or to be tagged with a language. A context can be embedded directly in a JSON-LD document or put into a separate file and referenced from different documents (from traditional JSON documents via an HTTP Link header).

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": "http://me.markus-lanthaler.com",
  "@type": "Person",
  "name": "Markus Lanthaler",
  "homepage": "http://www.tugraz.at/"
}

The example above describes a person, based on the FOAF vocabulary. 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, i.e., it 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 simply following those links; this principle is known as Follow Your Nose.[4]

By having all data semantically annotated as in the example, a 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 the homepage of the person.

References

  1. ^ "JSON-LD Syntax 1.0". 2011-12-27. Retrieved 2011-12-30. 
  2. ^ "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.
  3. ^ JSON-LD 1.0, A JSON-based Serialization for Linked Data, W3C Recommendation 16 January 2013, 2014-01-16 
  4. ^ "Linked Data Patterns, Chapter 5: Follow Your Nose". 2011-12-27. Retrieved 2011-12-30. 

External links

  • JSON-LD.org
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.