"It is a goal to facilitate the use of RDF mechanisms to access the information contained in a broad range of XML documents, including those that were not initially structured according to the RDF 1.0 layering."--- The Cambridge Communiqué [CC99]
<?xml version="1.0">
<document>
<title>Bridging the Gap between RDF and XML</title>
<author>Sergey Melnik</author>
<abstract>A proposal to provide RDF interpretation for XML</abstract>
<section caption="Introduction">
<p>The goal of this proposal is to facilitate
the use of RDF mechanisms
to access the information
contained in a broad range of XML documents.</p>
<p>It builds upon a <a href="syntax.html">simplified
syntax</a> for RDF,
but has a <em>broader</em>
scope.</p>
</section>
</document>
The following figure illustrates a possible semantic interpretation for this XML document:
An RDF parser needs some hints in order to determine whether a given XML element identifies a name of a relationship, or rather a class name. Every XML tag is regarded as a relationship name, unless an RDF property rdf:instance is used to override this default. To illustrate, we could add rdf:instance to the section tag in the above example to make a section to be an instance of the class "section". These hints can be stored in the DTD of the document without modifying the document content (see example).
The RDF interpretation of a document is controlled by the RDF tags rdf:instance, rdf:for and rdf:resource (compare [SM99]).
Instead of discussing the details of the XML-to-RDF mapping, the reader is encouraged to download the parser together with an RDF API and to experiment with it.
CC99 | The Cambridge Communiqué, W3C Note, Oct 1999
http://www.w3.org/TR/1999/NOTE-schema-arch-19991007 |
SM99 | Sergey Melnik. Simplified Syntax for RDF, Nov 1999
http://infolab.stanford.edu/~melnik/rdf/syntax.html |
BL99 | Tim Berners-Lee. A Strawman Unstriped Syntax for RDF in XML,
1999
http://www.w3.org/DesignIssues/Syntax |
RDF99 | Resource Description Framework (RDF) Model and Syntax Specification,
Feb 1999
http://www.w3.org/TR/REC-rdf-syntax/ |
XSLT99 | XSL Transformations (XSLT), Nov 1999
http://www.w3.org/TR/xslt |