W3C

RDF Examples and Miscellaneous Tests

Document Status

This document is a WorkInProgress and will be updated as new RDF examples and tests are made available.

Introduction

The purpose of this page is to provide access to RDF examples and miscellaneous ad hoc tests. The examples include:

All of the RDF files are available in a ZIP and a Compressed Tar File . Note, however, that the Automatically Generated RDF Files are not included in these archives.

Examples From the RDF Model and Syntax Specification

The RDF Model and Syntax Specification (22 February, 1999) contains many RDF examples. These examples are available in the following formats:

Examples from the RDF Schema Candidate Recommendation (27 March, 2000)

The RDF Schema Candidate Recommendation (27 March, 2000) contains a few RDF examples. These examples are available in the following formats:

Examples From the PRISM Specification

The PRISM (Publishing Requirements for Industry Standard Metadata) Version 1.0 April 9, 2001 specification contains many RDF examples. These examples are available in the following formats:

Examples From the RSS Specification

The RDF Site Summary (RSS) 1.0 contains a few RDF examples. These examples are available in the following formats:

Online SiRPAC Tests

A number of test cases have been created for the W3C's Online RDF Service. Some of these tests include "malformed" RDF - that is, the RDF does not conform to the Formal Grammar for RDF.

NOTE:Some of these tests were created for the online Java servlet and therefore may not be directly applicable for testing an RDF parser.

These tests are available in the following formats:

RDF Filter Tests

Dave Megginson's RDF Filter contains several "malformed" RDF tests. The README in the RDF Filter distribution says:
  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.
See RDF Filter at
Dave Megginson Software for more information.

Automatically Generated RDF Files

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 Autogenerated RDF test files for more information.

NOTE: These tests are not being maintained.

These tests are available in the following formats:

Miscellaneous Examples

Miscellaneous RDF examples are available in the following formats:
Last updated: $Date: 2001/05/31 20:20:38 $ by $Author: barstow $