Changes between Version 20 and Version 21 of Metadata


Ignore:
Timestamp:
Jul 13, 2009, 7:48:44 AM (15 years ago)
Author:
Wolfgang Schmidle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Metadata

    v20 v21  
    4040However, information is sparse. The syntax encoding schemes {{{dcterms:W3CDTF}}} and {{{dcterms:ISO639-3}}} do exist according to [http://dublincore.org/documents/dcmi-terms/ DCTERMS], but an up-to-date opinion about how to use syntax encoding schemes is difficult to obtain. The proposed recommendation [http://dublincore.org/documents/2008/09/01/dc-ds-xml/ 2008 XML Guidelines] uses {{{dcterm:date}}} only like this:
    4141{{{
    42 <dcterms:date>2005-05-05</dcterms:date>
    43 <dcterms:date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2005-05-05</dcterms:date>
     42B.17:  <dcterms:date>2005-05-05</dcterms:date>
     43B.18:  <dcterms:date rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2005-05-05</dcterms:date>
    4444}}}
    45 Any suggestions?
     45
     46Each 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
     48DC-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
     70DC-Text syntax (appendix A.18):
     71{{{
     72@prefix dcterms: <http://purl.org/dc/terms/> .
     73DescriptionSet (
     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
     96RDF/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
     113Now what?
    46114
    471152. Should we rename our {{{<metadata>}}} element? In all examples it is {{{<ref:Description>}}}. However, in most examples it seems to mean the repository version of the metadata, not the version in the xml file itself.