Support Files For "Easy RDF For Real-Life System Modeling"

This page lets you get the files I used for creating the examples for my paper "Easy RDF For Real-Life System Modeling", which I presented at the Extreme Markup Languages conference in August, 2007. The files fall into a number of groups:

The RDF DTD

The DTD file defines all the external modules (external entities) and shortcuts (internal entities) that are used to make the RDF easier to create and read.

The Main RDF-XML File

The main RDF file acts as a kind of driver, since it specifies which external modules (entities) to load. Note that it is short and simple, since it only orchestrates the import of other modules.

The Fully-expanded RDF-XML File

The fully-expanded version of the RDF-XML file contains the contents of all the external modules. All the shorthand internal entities have also been expanded. This is the version that you would check with the RDF validator.

The easiest way to produce the fully-expanded file is to run the RXP parser against the main RDF file. You can re-direct the output to a file. Do note that the output of RXP will contain a DOCTYPE declaration pointing to the DTD. Since the DTD is not complete, some processors may have trouble with it. It is better to delete this DOCTYPE declaration, since at this point the DTD does not contain any information that is not already in the expanded RDF file.

The *.ent Files

These files are the external entities that get imported by the main RDF-XML file. They are fragments of RDF-XML. All the content could have been put into a single file, but this manner of modularizing makes creation and maintenance of the data much easier.

The *_ent.txt Files

These files are simplified versions of the external entitiy files. They contain a variety of structured text. Although one can write the RDF-XML modules by hand, it is easier to write this textual format. These files are converted to the *.ent (RDF-XML) files using a simple Python parser. The file naming convention makes it easy to convert all the files using a batch process.

The great virtue of using this textual format is that it is very close to the way most people would automatically jot down the information.

HTML Files

These files illustrate different ways to display the data. They were generated from the main RDF file using the XSLT transformations linked in the next group.

Note that these XSLT transformations work because of the carefully chosen structure of the RDF-XML files. There are different structures that would be perfectly valid in RDF-XML, but would not work with the XSLT files.

The XSLT Style Sheets

These are the style sheets I used to transform the RDF-XML data into the various HTML views.