index.html
5.39 KB
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
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Semantic Web Tutorial Using N3</title>
<meta name="AUTHOR"
content="Tim Berners-Lee, Sandro Hawke, and Dan Connolly" />
<meta name="COPYRIGHT" content="Copyright (c) 2003" />
<meta name="DOCNUMBER" content="http://www.w3.org/2000/10/swap/doc/" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="noprint">
<p><a href="/">W3C</a> | <a href="/2001/sw/">Semantic Web</a> | <a
href="/2000/01/sw/">Advanced Development</a> | <a
href="/2000/10/swap/">SWAP</a> | <a href="/2000/10/swap/doc/">Tutorial</a></p>
</div>
<h1>Semantic Web Tutorial Using N3</h1>
<p>This is an introduction to Semantic Web ideas aimed at someone with
experience in programming, perhaps with Web sites and scripting, who wants to
understand how RDF is useful in practice. The aim is to give a feel for what
the Semantic Web is, and allow one to imagine what life will be like when it
is widely deployed. This is illustrated using the N3 language, which is easy
to read and write, and <code><a href="cwm">cwm</a></code> which is an
experimental general purpose program for semantic web stuff.</p>
<p>This material was presented as <a
href="http://www2003.org/tutorials.htm#TF1">a full day tutorial</a> at <a
href="http://www2003.org/">WWW2003 in Budapest, 2003-05</a>. We're preparing
to give it as a half-day tutorial at WWW2004.</p>
<p><em>For follow-up discussion, see the <a href="cwm.html#disc">cwm mailing
lists</a>, </em><a href="http://rdfig.xmlhack.com/"><em>rdfig
weblog</em></a><em>, </em><a href="http://esw.w3.org/topic/"><em>ESW
wiki</em></a><em>, and </em><a href="irc://irc.freenode.net/rdfig"><em>rdfig
chat channel</em></a><em>, and <a
href="http://esw.w3.org/topic/MailingLists">various mailing
lists</a>.</em></p>
<p>The material in these notes may be deeper in parts than the tutorial
itself.</p>
<ol type="A">
<li>Writing data (using Statements, URIs, and Vocabularies)
<ul>
<li><a href="../Primer">Primer: Getting into RDF & Semantic Web
using N3</a> (<a
href="http://www.w3.org/2003/Talks/0520-www-tf1-a1-primer/">slides</a>)</li>
<li>Sidebar: <a href="formats">Comparing with other data formats</a>
(<a
href="http://www.w3.org/2003/Talks/0520-www-tf1-a2-formats/">slides</a>)</li>
<li>Sidebar: <a href="CwmInstall">Installing cwm</a> (Install it during
the break) (<a
href="http://www.w3.org/2003/Talks/0520-www-tf1-a3-install/">slides</a>)</li>
<li>Sidebar: <a href="CwmHelp">Cwm command line arguments</a> (<a
href="http://www.w3.org/2003/Talks/0520-www-tf1-a4-commandline/">slides</a>)</li>
</ul>
</li>
<li>More Syntactic Sugar, More Ontological Power
<ul>
<li><a href="Shortcuts">Shorthand: Paths and Lists</a> (<a
href="../../../../2003/Talks/0520-www-tf1-b-more/">slides</a>)</li>
<li><a href="ontologies">Vocabulary documentation</a> (<a
href="http://www.w3.org/2003/Talks/0520-www-tf1-b2-vocdoc/">slides</a>)</li>
<li><a href="Rules">Writing rules</a>, <a href="Processing">Processing
RDF data using rules</a> (<a
href="http://www.w3.org/2003/Talks/0520-www-tf1-b3-rules/">slides</a>)</li>
</ul>
</li>
<li>Procesing data with cwm/n3
<ul>
<li><a href="Built-In">Built-in functions in rules</a></li>
<li>Sidebar: <a href="CwmBuiltins">List of built-in functions in
cwm</a></li>
<li>Sidebar: <a href="rule-systems">Comparing with other rules
systems</a></li>
</ul>
</li>
<li>Semantics + Web = Semantic Web
<ul>
<li><a href="Reach">Reaching out into the Web</a> (<a
href="/2003/Talks/0520-www-tf1-d1-reach/">slides</a>)</li>
<li>Integration Example: <a href="../pim/travel">travel tools</a> (<a
href="../../../../2003/Talks/0520-www-tf1-d3-travel/">slides</a>)</li>
<li>Integration Example: <a href="Trust">Trust</a> (<a
href="/2003/Talks/0520-www-tf1-d2-trust/">slides</a>)</li>
</ul>
</li>
</ol>
<ul>
<li><a href="Glossary">Glossary</a></li>
</ul>
<div class="noprint">
<h3>Not covered in this tutorial</h3>
<ul>
<li>more-than-horn expresivity (open disjunction & negation)</li>
<li>existentials in rule consequent ("every person has a father, who is a
person."). point this out as dangerous? point it out as turing
complete?</li>
<li>datatype usage</li>
</ul>
<h3>The tutorial should have explained somewhere - TIPS</h3>
<ul>
<li>Tip: try not to get it to create two bNodes that you know are the same
thing</li>
<li>Note that the same things may be identified by many URIs</li>
<li>Any idea I have I can give a URI to and actually make a web page which
puts that idea on the Semantic Web.</li>
<li>Do things in N3 where rules may be reusable, if just a program, use
Python. (etc ;-)</li>
<li>Declare things as OWL classes if they are, not RDFS classes</li>
</ul>
</div>
<div class="noprint">
<hr />
<address>
<a href="/People/Berners-Lee/">TimBL</a>, <a
href="/People/Sandro/">Sandro</a>, and <a
href="/People/Connolly/">DanC</a><br />
<small>$Revision: 1.65 $ of $Date: 2004/05/16 18:48:15 $ by $Author:
connolly $</small>
</address>
</div>
</body>
</html>