/
index.html
123 lines (112 loc) · 5.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html version="XHTML+RDFa 1.0" xmlns="http://www.w3.org/1999/xhtml"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:vcard="http://www.w3.org/2006/vcard/ns#"
xmlns:v="http://rdf.data-vocabulary.org/#"
>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>JSON-LD - Expressing Linked Data in JSON</title>
<link href="site.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
</head>
<body>
<div id="container">
<div id="header">
<div class="col">
<h1>JSON-LD - Expressing Linked Data in JSON</h1>
</div>
</div>
<div id="content">
<div id="info">
<h1>About JSON-LD</h1>
<p>JSON-LD (<strong>J</strong>ava<strong>S</strong>cript
<strong>O</strong>bject <strong>N</strong>otation for
<strong>L</strong>inked <strong>D</strong>ata) is a
lightweight
<a href="http://en.wikipedia.org/wiki/Linked_data">Linked Data</a>
format. It is easy for humans to read
and write. It is easy for machines to parse and generate. It is
based on the already successful
<a href="http://json.org/">JSON format</a> and provides a way
to help JSON data interoperate at Web-scale. If you are already
familiar with JSON, writing JSON-LD is very easy. There is a
smooth migration path from the JSON you use today, to the JSON-LD
you will use in the future. These properties make JSON-LD an
ideal Linked Data interchange language for JavaScript
environments, Web services, and unstructured databases such as
CouchDB and MongoDB.</p>
</div>
<div id="info">
<h1>A Simple Example</h1>
<p>A simple example of a JSON object with added semantics:</p>
<pre>
{
"@": "http://dbpedia.org/resource/John_Lennon",
"a": "foaf:Person",
"foaf:name": "John Lennon",
"foaf:birthday": "10-09",
"foaf:member": "http://dbpedia.org/resource/The_Beatles"
}
</pre>
<p>The example above describes a person whose name is
<em>John Lennon</em>. The difference between regular JSON and
JSON-LD is that the JSON-LD object above uniquely identifies
itself on the Web and can be used, without introducing ambiguity,
across every Web site, Web services and databases in
operation today.</p>
</div>
<div id="info">
<h1>The Specification</h1>
<p>If you are a developer, you may be interested in the
<a href="spec/latest/">latest JSON-LD specification</a>. A list
of all <a href="spec/">previous specification drafts</a> is
also available.</p>
</div>
<div id="info">
<h1>Experimental implementations</h1>
<ul>
<li>C++
<ul>
<li><a href="http://github.com/digitalbazaar/monarch">Monarch</a></li>
</ul>
</li>
<li>Ruby
<ul>
<li><a href="https://github.com/gkellogg/json-ld/">JSON-LD Reader/Writer</a></li>
</ul>
</li>
<li>Python
<ul>
<li><a href="http://github.com/bradleypallen/json_ld_processor">JSON-LD Processor</a></li>
</ul>
</li>
</ul>
</div>
<div id="info">
<h1>Collaborating</h1>
<p>There are several ways that you can collaborate in the development
of JSON-LD:</p>
<ul>
<li>Code: <a href="http://github.com/digitalbazaar/json-ld">github</a></li>
<li>Mailing List: <a href="http://lists.w3.org/Archives/Public/public-linked-json/">public-linked-json@w3.org</a></li>
<li>IRC: <a href="http://webchat.freenode.net/?channels=#json-ld">#json-ld</a> on Freenode</li>
</ul>
</div>
</div>
<div id="footer">
<p id="copyright">
Website content released under a <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike license</a> except where an alternate is specified.
</p>
<p id="legal">
Part of the <a href="http://payswarm.com/">payswarm.com</a> initiative.
</p>
</div>
</div>
</body>
</html>