<rdf:Description rdf:about="http://dewey.library.nd.edu/eresources/literature.htm <dc:title>All Literature resources</dc:title> <dc:description>This is a list of all the literature resources in the system.</dc:description> <dc:subject> <rdf:Bag> <rdf:li>Literature</rdf:li> <rdf:li>Philosophy</rdf:li> </rdf:Bag> </dc:subject> </rdf:Description>
RDF encodings are intended to be embedded in other XML files or exist as stand alone documents. For example, RDF encodings could be embedded in the notesStmt element of TEI files and provide a stand- ardized way to describe the files' content. Sets of TEI files could be read by computers and a catalog could be created accordingly. Unfortunately this doesn't always work because things like the TEI DTD don't support the addition of RDF data. Even though the TEI file might be syntactically valid, the se- mantic described by the DTD does not take into account RDF. To include RDF data in HTML/XHTML documents, it is suggested by the standard to include a link element in the HTML file's header pointing to the RDF description, something like this: <link rel="meta" type="application/rdf+xml" href="myfile.rdf" />. A computer program could then follow the href attribute in order to read the RDF file.
In this exercise you will expose the characteristics of Internet documents using RDF.
Open the file named rdf.xml in NotePad.
Select the entire contents of the file and copy it to the clipboard.
Point your Web browser to the RDF Validator [http://www.w3.org/RDF/Validator/] .
Paste the copied text into the textarea and submit the form.
Examine the resulting graph, and it should look something like this: