mhausenblas / lod-ng-tutorial (http://ld2sd.deri.org/lod-ng-tutorial/)
To provide a step-by-step tutorial for linked data publishing and consumption based on RDFa. We will address the following topics: (i) stepwise enrichment of a vanilla HTML page with RDFa to create a linked dataset, (ii) consumption via SPARQL, FYN, voiD, and (iii) linked data applications - from licensing to caching.
Clone this repository (size: 1.5 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/mhausenblas/lod-ng-tutorial/
| commit 0: | 0cf99cdaeaad |
| branch: | default |
init main
12 months ago
Changed (Δ14.2 KB):
raw changeset »
main.html (235 lines added, 0 lines removed)
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" |
|
4 |
xmlns:xsd ="http://www.w3.org/2001/XMLSchema#" |
|
5 |
xmlns:dcterms="http://purl.org/dc/terms/" |
|
6 |
xmlns:foaf="http://xmlns.com/foaf/0.1/" |
|
7 |
xmlns:vcard="http://www.w3.org/2006/vcard/ns#" |
|
8 |
xmlns:ov="http://open.vocab.org/terms/" |
|
9 |
xmlns:owl="http://www.w3.org/2002/07/owl#" |
|
10 |
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" |
|
11 |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|
12 |
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"> |
|
13 |
<head> |
|
14 |
<title>Linked Data Tutorial - NG</title> |
|
15 |
<meta name="description" content="Linked Data Tutorial - NG" /> |
|
16 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
17 |
<style type="text/css"> |
|
18 |
pre { background: #fff6bb; padding: 1em 2em; margin: 0 } |
|
19 |
dl.box { background: #eedddd; margin: 1em 0 1.6em; padding: 1em 1.5em; } |
|
20 |
dl.box dd { margin: 0.8em 0 0; } |
|
21 |
.code { margin: 0; padding-left: 2em; padding-right: 2em; padding-top: 1em; padding-bottom: 1em; background: #fff6bb } |
|
22 |
.todo { font-size: 80% ; color: #444 ; border: 1px solid #444;} |
|
23 |
</style> |
|
24 |
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-ED" /> |
|
25 |
</head> |
|
26 |
<body> |
|
27 |
||
28 |
<div class="head"> |
|
29 |
<a href="http://www.w3.org/"><img alt="W3C" height="48" |
|
30 |
src="http://www.w3.org/Icons/w3c_home" width="72"/></a><h1 style="clear:both" id="title">Linked Data Tutorial - NG</h1> |
|
31 |
||
32 |
<h2 id="W3C-doctype">W3C Editor's Draft 7 April 2009</h2> |
|
33 |
<dl> |
|
34 |
<dt>This version:</dt> |
|
35 |
<dd> |
|
36 |
<a href="">N.A.</a></dd> |
|
37 |
<dt>Latest version:</dt> |
|
38 |
<dd><a href="">N.A.</a></dd> |
|
39 |
<dt>Editors:</dt> |
|
40 |
<dd><a href="http://sw-app.org/mic.xhtml#i">Michael Hausenblas</a> (<a href="http://www.deri.ie">DERI</a>)</dd> |
|
41 |
<dd><a href="http://richard.cyganiak.de/">Richard Cyganiak</a> (<a href="http://www.deri.ie">DERI</a>)</dd> |
|
42 |
<dt>Contributors:</dt> |
|
43 |
<dd>N.A.</dd> |
|
44 |
</dl> |
|
45 |
<hr /> |
|
46 |
||
47 |
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p> |
|
48 |
</div> |
|
49 |
<hr/> |
|
50 |
<h2 id="abstract"><a name="abstract">Abstract</a></h2> |
|
51 |
||
52 |
<p> |
|
53 |
<span class="notetoeditor">This note describes, step-by-step, how to deploy and consume linked data with RDFa.</span></p> |
|
54 |
||
55 |
<h2 id="status"><a name="status">Status of this document</a></h2> |
|
56 |
||
57 |
<p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p> |
|
58 |
||
59 |
<p><span class="notetoeditor">This is an Editor's Draft of an intended W3C Interest Group Note giving a tutorial to linked data technologies.</p> |
|
60 |
||
61 |
<p>Please send comments about this document to <a href="mailto:public-lod@w3.org">public-lod@w3.org</a> (with <a |
|
62 |
href="http://lists.w3.org/Archives/Public/public-lod/">public archive</a>).</p> |
|
63 |
||
64 |
<p>Publication as a Editor's Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p> |
|
65 |
||
66 |
<p> This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. The group does not expect this document to become a W3C Recommendation. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/39572/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p> |
|
67 |
||
68 |
<h2 id="scope"><a name="scope">Scope</a></h2> |
|
69 |
||
70 |
<p>This document is a practical guide for implementers of the RDF specification.</p> |
|
71 |
||
72 |
<h2 id="toc"><a name="toc">Table of Contents</a></h2> |
|
73 |
<ul class="toc"> |
|
74 |
<li><a href="#intro">1. Introduction</a></li> |
|
75 |
<li><a href="#references">References</a></li> |
|
76 |
</ul> |
|
77 |
||
78 |
<h2 id="intro"><a name="intro">1. Introduction</a></h2> |
|
79 |
||
80 |
<p>Assume a company, ACME ltd, offering product information as follows:</p> |
|
81 |
||
82 |
<pre class="code"> |
|
83 |
<table> |
|
84 |
<tr> |
|
85 |
<th>Product ID</th><th>Name</th><th>Description</th><th>Price</th> |
|
86 |
</tr> |
|
87 |
<tr> |
|
88 |
<td>0815</td><td>Stanley FuBar</td><td>All-purpose destroy utility.</td><td>40$</td> |
|
89 |
</tr> |
|
90 |
</table> |
|
91 |
</pre> |
|
92 |
||
93 |
||
94 |
<h2 id="references"><a name="references">References</a></h2> |
|
95 |
<dl> |
|
96 |
<dt><a id="ref-AWWW" name="ref-AWWW">[AWWW]</a></dt> |
|
97 |
<dd><cite><a |
|
98 |
href="http://www.w3.org/TR/2004/REC-webarch-20041215/">Architecture of |
|
99 |
the World Wide Web, Volume One</a></cite>, Ian Jacobs, Norman Walsh, |
|
100 |
Editors. World Wide Web Consortium, 15 December 2004. This edition is |
|
101 |
http://www.w3.org/TR/2004/REC-webarch-20041215/. The <a |
|
102 |
href="http://www.w3.org/TR/webarch/">latest edition</a> is available at |
|
103 |
http://www.w3.org/TR/webarch/.</dd> |
|
104 |
<dt><a id="ref-Booth" name="ref-Booth">[Booth]</a></dt> |
|
105 |
<dd><cite><a |
|
106 |
href="http://www.w3.org/2002/11/dbooth-names/dbooth-names_clean.htm">Four |
|
107 |
Uses of a URL: Name, Concept, Web Location and Document |
|
108 |
Instance</a></cite>, David Booth. 28 January 2003. This document is |
|
109 |
available at |
|
110 |
http://www.w3.org/2002/11/dbooth-names/dbooth-names_clean.htm.</dd> |
|
111 |
<dt><a id="ref-CHIPS" name="ref-CHIPS">[CHIPS]</a></dt> |
|
112 |
<dd><cite><a href="http://www.w3.org/TR/2003/NOTE-chips-20030128/">Common |
|
113 |
HTTP Implementation Problems</a></cite>, Olivier Théreaux, Editor. |
|
114 |
World Wide Web Consortium, 28 January 2003. This edition is |
|
115 |
http://www.w3.org/TR/2003/NOTE-chips-20030128/. The <a |
|
116 |
href="http://www.w3.org/TR/2003/NOTE-chips-20030128/">latest |
|
117 |
edition</a> is available at http://www.w3.org/TR/chips/.</dd> |
|
118 |
<dt><a id="ref-Cool" name="ref-Cool">[Cool]</a></dt> |
|
119 |
<dd><cite><a href="http://www.w3.org/Provider/Style/URI">Cool URIs don't |
|
120 |
change</a></cite>, Tim Berners-Lee, 1998. This document is available at |
|
121 |
http://www.w3.org/Provider/Style/URI.</dd> |
|
122 |
<dt><a id="ref-ECS" name="ref-ECS">[ECS]</a></dt> |
|
123 |
<dd><cite><a href="http://id.ecs.soton.ac.uk/docs/">ECS URI System |
|
124 |
Specification</a></cite>, Colin Williams, Nick Gibbins. ECS |
|
125 |
Southampton, 2006. This document is available at |
|
126 |
http://id.ecs.soton.ac.uk/docs/.</dd> |
|
127 |
<dt><a id="ref-FOAF" name="ref-FOAF">[FOAF]</a></dt> |
|
128 |
<dd><cite><a href="http://xmlns.com/foaf/spec/20070524.html">FOAF |
|
129 |
Vocabulary Specification 0.9</a></cite>, Dan Brickley, Libby Miller. 24 |
|
130 |
May 2007. This edition is http://xmlns.com/foaf/spec/20070524.html. The |
|
131 |
<a href="http://xmlns.com/foaf/spec/">latest edition</a> is available |
|
132 |
at <a href="http://xmlns.com/foaf/spec/">http://xmlns.com/foaf/spec/</a>.</dd> |
|
133 |
<dt>[<a name="ref-GRDDL">GRDDL</a>]</dt> |
|
134 |
<dd><a href="http://www.w3.org/TR/grddl/">Gleaning Resource Descriptions |
|
135 |
from Dialects of Languages (GRDDL)</a>, Dan Connolly, Editor, W3C |
|
136 |
Recommendation 11 September 2007. This edition is http://www.w3.org/TR/2007/REC-grddl-20070911/. |
|
137 |
The latest edition is available at <a href="http://www.w3.org/TR/grddl/"> |
|
138 |
http://www.w3.org/TR/grddl/</a>.</dd> |
|
139 |
<dt><a id="ref-HTTP-URI2" name="ref-HTTP-URI2">[HTTP-URI2]</a></dt> |
|
140 |
<dd><cite><a href="http://www.w3.org/DesignIssues/HTTP-URI2.html">What |
|
141 |
HTTP URIs Identify</a></cite>, Tim Berners-Lee. 9 June 2005. This |
|
142 |
document is available at |
|
143 |
http://www.w3.org/DesignIssues/HTTP-URI2.html.</dd> |
|
144 |
<dt><a id="ref-httpRange" name="ref-httpRange">[httpRange]</a></dt> |
|
145 |
<dd><cite><a |
|
146 |
href="http://lists.w3.org/Archives/Public/www-tag/2005Jun/0039.html">[httpRange-14] |
|
147 |
Resolved</a></cite>, Roy Fielding. 18 June 2005. This archived <a |
|
148 |
href="http://lists.w3.org/Archives/Public/www-tag/">www-tag</a> email |
|
149 |
message is available at |
|
150 |
http://lists.w3.org/Archives/Public/www-tag/2005Jun/0039.html.</dd> |
|
151 |
<dt><a id="ref-N3" name="ref-N3">[N3]</a></dt> |
|
152 |
<dd><cite><a href="http://www.w3.org/DesignIssues/Notation3">Notation |
|
153 |
3</a></cite>, Tim Berners-Lee, Editor, 1998. This document is available |
|
154 |
at http://www.w3.org/DesignIssues/Notation3.</dd> |
|
155 |
<dt>[<a name="ref-RDFaPrimer">RDFa Primer</a>]</dt> |
|
156 |
<dd>RDFa Primer 1.0 - Embedding Structured Data in Web Pages (see <a |
|
157 |
href="http://www.w3.org/2006/07/SWD/RDFa/primer">http://www.w3.org/2006/07/SWD/RDFa/primer</a>.)</dd> |
|
158 |
<dt><a id="ref-RDFPrimer" name="ref-RDFPrimer">[RDFPrimer]</a></dt> |
|
159 |
<dd><cite><a |
|
160 |
href="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/">RDF |
|
161 |
Primer</a></cite>, Frank Manola, Eric Miller, Editors. World Wide Web |
|
162 |
Consortium, 10 February 2004. This edition is |
|
163 |
http://www.w3.org/TR/2004/REC-rdf-primer-20040210/. The <a |
|
164 |
href="http://www.w3.org/TR/rdf-primer/">latest edition</a> is available |
|
165 |
at http://www.w3.org/TR/rdf-primer/.</dd> |
|
166 |
<dt><a id="ref-RDFXML" name="ref-RDFXML">[RDFXML]</a></dt> |
|
167 |
<dd><cite><a |
|
168 |
href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/">RDF/XML |
|
169 |
Syntax Specification (Revised)</a></cite>, Dave Beckett, Editor. World |
|
170 |
Wide Web Consortium, 10 February 2004. This edition is |
|
171 |
http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/. The <a |
|
172 |
href="http://www.w3.org/TR/rdf-syntax-grammar/">latest edition</a> is |
|
173 |
available at http://www.w3.org/TR/rdf-syntax-grammar/.</dd> |
|
174 |
<dt><a id="ref-Recipes" name="ref-Recipes">[Recipes]</a></dt> |
|
175 |
<dd><cite><a |
|
176 |
href="http://www.w3.org/TR/2006/WD-swbp-vocab-pub-20060314/">Best |
|
177 |
Practice Recipes for Publishing RDF Vocabularies</a></cite>, Alistair |
|
178 |
Miles, Thomas Baker, Ralph Swick, Editors. World Wide Web Consortium, |
|
179 |
14 March 2006. This edition is |
|
180 |
http://www.w3.org/TR/2006/WD-swbp-vocab-pub-20060314/. It is a work in |
|
181 |
progress. The <a href="http://www.w3.org/TR/swbp-vocab-pub/">latest |
|
182 |
edition</a> is available at http://www.w3.org/TR/swbp-vocab-pub/.</dd> |
|
183 |
<dt><a id="ref-RFC2616" name="ref-RFC2616">[RFC2616]</a></dt> |
|
184 |
<dd><cite><a href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616: |
|
185 |
Hypertext Transfer Protocol - HTTP/1.1</a></cite>, J. Gettys, J. Mogul, |
|
186 |
H. Frystyk, L. Masinter, P. Leach, T. Berners-Lee. IETF, 1999. This |
|
187 |
document is available at http://www.ietf.org/rfc/rfc2616.txt.</dd> |
|
188 |
<dt><a id="ref-RFC3986" name="ref-RFC3986">[RFC3986]</a></dt> |
|
189 |
<dd><cite><a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986: Uniform |
|
190 |
Resource Identifier (URI): Generic Syntax</a></cite>, T. Berners-Lee, |
|
191 |
R. Fielding, L. Masinter. IETF, 2005. This document is available at |
|
192 |
http://www.ietf.org/rfc/rfc3986.txt.</dd> |
|
193 |
<dt><a id="ref-SMW" name="ref-SMW">[SMW]</a></dt> |
|
194 |
<dd><cite><a |
|
195 |
href="http://www.aifb.uni-karlsruhe.de/WBS/hha/papers/SemanticWikipedia.pdf">Semantic |
|
196 |
Wikipedia</a></cite>, Max Völkel, Markus Krötzsch, Denny Vrandecic, |
|
197 |
Heiko Haller, Rudi Studer. University of Karlsruhe, 2006. This document |
|
198 |
is available at |
|
199 |
http://www.aifb.uni-karlsruhe.de/WBS/hha/papers/SemanticWikipedia.pdf.</dd> |
|
200 |
<dt><a id="ref-TAG-Alt" name="ref-TAG-Alt">[TAG-Alt]</a></dt> |
|
201 |
<dd><cite><a |
|
202 |
href="http://www.w3.org/2001/tag/doc/alternatives-discovery-20061101.html">On |
|
203 |
Linking Alternative Representations To Enable Discovery And |
|
204 |
Publishing</a></cite>, T.V. Raman. World Wide Web Consortium, 1 |
|
205 |
November 2006. This edition is |
|
206 |
http://www.w3.org/2001/tag/doc/alternatives-discovery-20061101.html. |
|
207 |
The <a |
|
208 |
href="http://www.w3.org/2001/tag/doc/alternatives-discovery.html">latest |
|
209 |
edition</a> is available at |
|
210 |
http://www.w3.org/2001/tag/doc/alternatives-discovery.html.</dd> |
|
211 |
<dt><a id="ref-TAG-URNs" name="ref-TAG-URNs">[TAG-URNs]</a></dt> |
|
212 |
<dd><cite><a |
|
213 |
href="http://www.w3.org/2001/tag/doc/URNsAndRegistries-50-2006-08-17.html">URNs, |
|
214 |
Namespaces and Registries</a></cite>, Henry S. Thompson, David Orchard. |
|
215 |
World Wide Web Consortium, 17 August 2006. This edition is |
|
216 |
http://www.w3.org/2001/tag/doc/URNsAndRegistries-50-2006-08-17.html. It |
|
217 |
is a work in progress. The <a |
|
218 |
href="http://www.w3.org/2001/tag/doc/URNsAndRegistries-50.html">latest |
|
219 |
edition</a> is available at |
|
220 |
http://www.w3.org/2001/tag/doc/URNsAndRegistries-50.html.</dd> |
|
221 |
<dt><a id="ref-TriX" name="ref-TriX">[TriX]</a></dt> |
|
222 |
<dd><cite><a |
|
223 |
href="http://www.mulberrytech.com/Extreme/Proceedings/html/2004/Stickler01/EML2004Stickler01.html">RDF |
|
224 |
Triples in XML</a></cite>, Jeremy J. Carroll, Patrick Stickler, 2004. |
|
225 |
This document is available at |
|
226 |
http://www.mulberrytech.com/Extreme/Proceedings/html/2004/Stickler01/EML2004Stickler01.html.</dd> |
|
227 |
<dt><a id="ref-WP-HTTP" name="ref-WP-HTTP">[WP-HTTP]</a></dt> |
|
228 |
<dd><cite><a href="http://en.wikipedia.org/wiki/HTTP">Hypertext Transfer |
|
229 |
Protocol</a></cite>, Wikipedia contributors. Wikipedia, 8 October 2007. |
|
230 |
The latest version of this document is available at |
|
231 |
http://en.wikipedia.org/wiki/HTTP.</dd> |
|
232 |
</dl> |
|
233 |
||
234 |
</body> |
|
235 |
</html> |
