Measures Concepts
GitHub icon

JSON-LD

JSON-LD - Data validation language

< >

JSON-LD, aka JavaScript Object Notation for Linked Data, is an open source data validation language created in 2010 by Dave Longley.

Source code:
git clone https://github.com/digitalbazaar/jsonld.js
#293on PLDB 14Years Old 0Repos

JSON-LD (JavaScript Object Notation for Linked Data), is a method of encoding 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. This allows data to be serialized in a way that is similar to traditional JSON. Read more on Wikipedia...


Example from Linguist:
{ "@context": { "property": "http://example.com/vocab#property" }, "@id": "../document-relative", "@type": "#document-relative", "property": { "@context": { "@base": "http://example.org/test/" }, "@id": "../document-base-overwritten", "@type": "#document-base-overwritten", "property": [ { "@context": null, "@id": "../document-relative", "@type": "#document-relative", "property": "context completely reset, drops property" }, { "@context": { "@base": null }, "@id": "../document-relative", "@type": "#document-relative", "property": "only @base is cleared" } ] } }

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout