index.html
6.97 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>RDF Examples and Miscellaneous Tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
<a href="../"><img border="0" src="/Icons/WWW/w3c_home" alt="W3C" /></a>
</p>
<h1>RDF Examples and Miscellaneous Tests</h1>
<h2>Document Status</h2>
This document is a WorkInProgress and will be updated as new
RDF examples and tests are made available.
<h2>Introduction</h2>
<p>
The purpose of this page is to provide access to RDF examples
and miscellaneous ad hoc tests. The examples include:
</p>
<ul>
<li> <a href="#ms">Examples from the RDF Model and Syntax Specification</a> </li>
<li> <a href="#rdfs">Examples from the RDF Schema Candidate Recommendation (27 March, 2000)</a> </li>
<li> <a href="#prism">Examples from the PRISM Specification</a></li>
<li> <a href="#rss">Examples from the RSS Specification</a></li>
<li> <a href="#sandbox">Online SiRPAC Tests</a></li>
<li> <a href="#davem">RDF Filter Tests</a></li>
<li> <a href="#gen">Automatically Generated RDF Files</a></li>
<li> <a href="#misc">Miscellaneous Examples</a></li>
</ul>
<p>
All of the RDF files are available in a
<a href="All.zip">ZIP</a>
and a
<a href="All.tar.Z">Compressed Tar File</a>
. Note, however, that the
<a href="#gen">Automatically Generated RDF Files</a>
are not included in these archives.
</p>
<h2><a name="ms"/>Examples From the RDF Model and Syntax Specification</h2>
The
<a href="http://www.w3.org/TR/REC-rdf-syntax/">
RDF Model and Syntax Specification (22 February, 1999)
</a>
contains many RDF examples.
These examples are available in the following formats:
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RDF-Model-Syntax_1.0/RDF-Model-Syntax_1.0.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RDF-Model-Syntax_1.0/RDF-Model-Syntax_1.0.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RDF-Model-Syntax_1.0/">
Directory listing
</a>
</li>
</ul>
<h2><a name="rdfs"/>Examples from the RDF Schema Candidate Recommendation (27 March, 2000)</h2>
The
<a href="http://www.w3.org/TR/2000/CR-rdf-schema-20000327/">
RDF Schema Candidate Recommendation (27 March, 2000)
</a>
contains a few RDF examples.
These examples are available in the following formats:
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RDFS-CR-27-Mar-2000/RDFS-CR-27-Mar-2000.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RDFS-CR-27-Mar-2000/RDFS-CR-27-Mar-2000.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RDFS-CR-27-Mar-2000/">
Directory listing
</a>
</li>
</ul>
<h2><a name="prism"/>Examples From the PRISM Specification</h2>
The PRISM (Publishing Requirements for Industry Standard Metadata)
<a href="http://www.prismstandard.org/techdev/prismspec1.asp">
Version 1.0 April 9, 2001 specification
</a>
contains many RDF examples.
These examples are available in the following formats:
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/PRISM_1.0/PRISM_1.0.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/PRISM_1.0/PRISM_1.0.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/PRISM_1.0/">
Directory listing
</a>
</li>
</ul>
<h2><a name="rss"/>Examples From the RSS Specification</h2>
The
<a href="http://purl.org/rss/1.0/">
RDF Site Summary (RSS) 1.0
</a>
contains a few RDF examples.
These examples are available in the following formats:
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RSS_1.0/RSS_1.0.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RSS_1.0/RSS_1.0.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/RSS_1.0/">
Directory listing
</a>
</li>
</ul>
<h2><a name="sandbox"/>Online SiRPAC Tests</h2>
A number of test cases have been created for the
<a href="http://www.w3.org/RDF/Implementations/SiRPAC/">
W3C's Online RDF Service.
</a>
Some of these tests include "malformed" RDF - that is, the
RDF does not conform to the
<a href="http://www.w3.org/TR/REC-rdf-syntax/#grammar">
Formal Grammar for RDF.
</a>
<p>
<em>NOTE:</em>Some of these tests were created for the
online Java servlet and therefore may not be directly
applicable for testing an RDF parser.
</p>
<p>
These tests are available in the following formats:
</p>
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/SiRPAC-bugs/SiRPAC-bugs.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/SiRPAC-bugs/SiRPAC-bugs.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/SiRPAC-bugs/">
Directory listing
</a>
</li>
</ul>
<h2><a name="davem"/>RDF Filter Tests</h2>
Dave Megginson's RDF Filter contains several "malformed" RDF tests.
The README in the RDF Filter distribution says:
<pre>
All of the tests in the bad/ directory are well-formed XML but
malformed RDF, and should cause RDF processors to report errors; see
the comments at the beginning of each test for details.
</pre>
See RDF Filter at
<a href="http://www.megginson.com/Software/">
Dave Megginson Software
</a>
for more information.
<h2><a name="gen"/>Automatically Generated RDF Files</h2>
As if creating the world's first RDF parser wasn't enough,
Janne Saarela also created a Prolog script that generates
RDF test cases.
See
<a href="http://www.w3.org/RDF/Test/Janne/">
Autogenerated RDF test files
</a>
for more information.
<p>
<em>NOTE</em>: These tests are not being maintained.
</p>
These tests are available in the following formats:
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/j/GeneratedRDF.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/j/GeneratedRDF.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/j/">
Directory listing
</a>
</li>
</ul>
<h2><a name="misc"/>Miscellaneous Examples</h2>
Miscellaneous RDF examples are available in the following formats:
<ul>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/Miscellaneous/Miscellaneous.zip">
ZIP file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/Miscellaneous/Miscellaneous.tar.Z">
Compressed tar file
</a>
</li>
<li>
<a href="http://www.w3.org/2000/10/rdf-tests/Miscellaneous/">
Directory listing
</a>
</li>
</ul>
<address>
Last updated: $Date: 2001/05/31 20:20:38 $ by $Author: barstow $
</address>
</body>
</html>