45 | | Any suggestions? |
| 45 | |
| 46 | Each example in [http://dublincore.org/documents/2008/09/01/dc-ds-xml/ 2008 XML Guidelines] comes in three versions. The three versions of example 18 are: |
| 47 | |
| 48 | DC-DS-XML (section 4.5.2.1): |
| 49 | {{{ |
| 50 | <?xml version="1.0" encoding="UTF-8" ?> |
| 51 | <dcds:descriptionSet |
| 52 | xmlns:dcds="http://purl.org/dc/xmlns/2008/09/01/dc-ds-xml/"> |
| 53 | <dcds:description |
| 54 | dcds:resourceURI="http://dublincore.org/pages/home"> |
| 55 | <dcds:statement dcds:propertyURI="http://purl.org/dc/terms/title"> |
| 56 | <dcds:literalValueString>DCMI Home Page</dcds:literalValueString> |
| 57 | </dcds:statement> |
| 58 | <dcds:statement dcds:propertyURI="http://purl.org/dc/terms/publisher" |
| 59 | dcds:valueURI="http://example.org/agents/DCMI"> |
| 60 | <dcds:valueString>Dublin Core Metadata Initiative</dcds:valueString> |
| 61 | </dcds:statement> |
| 62 | <dcds:statement dcds:propertyURI="http://purl.org/dc/terms/date"> |
| 63 | <!-- syntax encoding scheme URI --> |
| 64 | <dcds:literalValueString dcds:sesURI="http://www.w3.org/2001/XMLSchema#date">2005-05-05</dcds:literalValueString> |
| 65 | </dcds:statement> |
| 66 | </dcds:description> |
| 67 | </dcds:descriptionSet> |
| 68 | }}} |
| 69 | |
| 70 | DC-Text syntax (appendix A.18): |
| 71 | {{{ |
| 72 | @prefix dcterms: <http://purl.org/dc/terms/> . |
| 73 | DescriptionSet ( |
| 74 | Description ( |
| 75 | ResourceURI ( <http://dublincore.org/pages/home> ) |
| 76 | Statement ( |
| 77 | PropertyURI ( dcterms:title ) |
| 78 | LiteralValueString ( "DCMI Home Page" |
| 79 | ) |
| 80 | ) |
| 81 | Statement ( |
| 82 | PropertyURI ( dcterms:publisher ) |
| 83 | ValueURI ( <http://example.org/agents/DCMI> ) |
| 84 | ValueString ( "Dublin Core Metadata Initiative" ) |
| 85 | ) |
| 86 | Statement ( |
| 87 | PropertyURI ( dcterms:date ) |
| 88 | ValueString ( "2005-05-05" |
| 89 | SyntaxEncodingSchemeURI ( <http://www.w3.org/2001/XMLSchema#date> ) |
| 90 | ) |
| 91 | ) |
| 92 | ) |
| 93 | ) |
| 94 | }}} |
| 95 | |
| 96 | RDF/XML syntax (appendix B.18): |
| 97 | {{{ |
| 98 | <?xml version="1.0" encoding="UTF-8" ?> |
| 99 | <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
| 100 | xmlns:dcterms="http://purl.org/dc/terms/" > |
| 101 | <rdf:Description rdf:about="http://dublincore.org/pages/home"> |
| 102 | <dcterms:title>DCMI Home Page</dcterms:title> |
| 103 | <dcterms:publisher> |
| 104 | <rdf:Description rdf:about="http://example.org/agents/DCMI"> |
| 105 | <rdf:value>Dublin Core Metadata Initiative</rdf:value> |
| 106 | </rdf:Description> |
| 107 | </dcterms:publisher> |
| 108 | <dcterms:date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2005-05-05</dcterms:date> |
| 109 | </rdf:Description> |
| 110 | </rdf:RDF> |
| 111 | }}} |
| 112 | |
| 113 | Now what? |