index.html 6.97 KB
<?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>