Jump to content

XML - Managing Data Exchange/RDF/Answers

From Wikibooks, open books for an open world

Question

  1. Create an RDF/XML document that describes an article of your choice (e.g. from magazines like CIO.com or ZDNet.com). Use the Dublin Core element set and the Dublin Core terms as a framework for your description. After completing the document please validate your work with the W3C RDF Validator.

Answer

1
2 3 4
5 6 7 8 9 10 11 12 13 14
15 16 17 18 19 20
21
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/">
<rdf:Description rdf:about="http://www.cio.com/archive/101504/km.html"> <dc:title>Less for Success</dc:title> <dc:creator>Alice Dragoon</dc:creator> <dc:subject> <rdf:Bag> <rdf:li>knowledge management</rdf:li> <rdf:li>technology investments</rdf:li> </rdf:Bag> </dc:subject> <dc:description>Forget the big bang approach. When it comes to demonstrating the value of knowledge management, a piecemeal strategy works best.</dc:description> <dc:publisher>CXO Media</dc:publisher> <dcterms:issued>October 15, 2004</dcterms:issued> <dc:format>text/html</dc:format> <dc:language>en</dc:language> <dcterms:isPartOf rdf:resource="http://www.cio.com/archive/101504/index.html"/> </rdf:Description>
</rdf:RDF>