forked from json-ld/json-ld.org
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
149 lines (134 loc) · 6.49 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!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">
<span class="col">
<img class="banner" src="images/json-ld-logo-1.png" />
<img class="banner" src="images/json-ld-logo-2.png" />
<img class="banner" src="images/json-ld-logo-3.png" />
<h1>Expressing Linked Data in JSON</h1>
</span>
</div>
<div id="content">
<div id="info">
<p class="tagline">Data is messy and disconnected. JSON-LD
organizes and connects it without negatively impacting your
creativity.
</p>
</div>
<div id="introduction">
<h1>Introduction</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 that gives your data context. 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. These
properties make JSON-LD an ideal Linked Data interchange language
for JavaScript environments, Web service, and unstructured
databases such as CouchDB and MongoDB.</p>
<p>A simple example of a JSON object expressing Linked Data:</p>
<pre>
{
"@context": "http://purl.org/jsonld/Person"
"@subject": "http://dbpedia.org/resource/John_Lennon",
"name": "John Lennon",
"birthday": "10-09",
"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 service and JSON-based database in
operation today. The secret lies in the @context, which instructs
Linked Data-aware processors on how to interpret the JSON
object.</p>
</div>
<div id="playground">
<h1>The Playground</h1>
<p>You can use the <a href="playground/">Playground</a>
to try out JSON-LD in your web browser or to debug your
own JSON-LD markup.</p>
</div>
<div id="spec">
<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>. The
<a href="requirements/latest/">latest requirements</a> are
documented on this site as well as all
<a href="spec/">previous specifications</a> and
<a href="requirements/">previous requirements</a>.
A <a href="spec/latest/basic/">basic</a> specification is also
in the works.</p>
</div>
<div id="impl">
<h1>Implementations</h1>
<ul>
<li>C++
<ul>
<li><a href="https://github.com/digitalbazaar/monarch">Monarch</a></li>
</ul>
</li>
<li>JavaScript
<ul>
<li><a href="https://github.com/digitalbazaar/forge/blob/master/js/jsonld.js">Forge</a></li>
</ul>
</li>
<li>Python
<ul>
<li><a href="https://github.com/bradleypallen/json_ld_processor">JSON-LD Processor</a></li>
<li>Pyld (coming soon)</li>
</ul>
</li>
<li>Ruby
<ul>
<li><a href="https://github.com/gkellogg/json-ld/">JSON-LD Reader/Writer</a></li>
</ul>
</li>
</ul>
</div>
<div id="colab">
<h1>Collaborating</h1>
<p>Several parties interested in JSON-LD convene in periodic teleconferences. Text and audio logs may be found <a href="minutes/">here</a>.</p>
<p>There are several other ways that you can collaborate in the development
of JSON-LD:</p>
<ul>
<li>Code: <a href="http://github.com/json-ld/json-ld.org">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>