Difference between revisions of "PublishingMetadata"

From MPDLMediaWiki
Jump to navigation Jump to search
(Replaced content with "We moved to http://wiki.dublincore.org/index.php/http://wiki.dublincore.org/index.php/User_Guide/Publishing_Metadata Category:KIM")
 
(179 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOC right}}
We moved to http://wiki.dublincore.org/index.php/http://wiki.dublincore.org/index.php/User_Guide/Publishing_Metadata
 
Go to [[UsingDC]] | [[CreatingMetadata]]
 
 
= DCMI Metadata as linked data =
 
== About the linked data examples ==
 
To present these examples in a concise form we use the [http://www.w3.org/TeamSubmission/2008/SUBM-turtle-20080114/ Turtle syntax for RDF]. The examples therefore appear in code lines such as:
 
  @prefix ex: <http://www.example.com/>.
  ex:aResource ex:aProperty "An RDF Literal" .
 
or
  @prefix ex: <http://www.example.com/>.
  ex:aResource ex:aProperty ex:anotherResource .
  ex:anotherProperty "An RDF Literal"@en .
 
Within the examples we use different namespaces. The following prefixes are used to specify the namespaces we use for our examples:
 
For the '''Dublin Core namespaces''' we use:
 
* @prefix dc: <http://purl.org/dc/elements/1.1/> (DCMI legacy namespace used for the 15 core properties)
* @prefix dcterms: <http://purl.org/dc/terms/> (DCMI terms namespace of the DCMI terms - properties, classes and datatypes)
* @prefix dctype: <http://purl.org/dc/dcmitype/> (DCMI type namespace of the DCMI classes of types)
 
'''Further namespaces''' used are:
 
* @prefix ex: http://www.example.org/ (an exemplary namespace)
* @prefix xsd: http://www.w3.org/2001/XMLSchema# (namespace of the XML Schema language)
* @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# (namespace of the rdf vocabulary)
* @prefix rdfs: http://www.w3schools.com/RDF/rdf-schema.xml (namespace of the rdf schema vocabulary)
* @prefix foaf: http://xmlns.com/foaf/0.1/ (namespace of the "Friend of a Friend" vocabulary)
* @prefix gnd: http://d-nb.info/gnd/ (namespace of the authority files of the German National Library)
* @prefix mime: http://purl.org/NET/mediatypes/ (namespace for MIME media types vocabulary)
* @prefix skos: http://www.w3.org/2004/02/skos/core# (namespace of the SKOS vocabulary)
 
== Terms namespace ==
The main difference between the legacy namespace and the terms namespace is the definition of ranges and domains for most terms of the last. The definition of a domain governs the entities for which a property may be used. The definition of a range governs the usage of literal and non-literal values in context with a property.
 
== Examples for properties of the terms namespace using non-literal values ==
 
=== dcterms:abstract ===
 
There is no range defined for dcterms:abstract. Therefore you can use it either with non-literal values and with literal values. For an example with non-literal value see dcterms:description.
 
=== dcterms:contributor ===
 
The range for dcterms:contributor is dcterms:Agent. All values used with this property have to be instances of the class [dcterms:Agent] . '''dcterms:contributor must not be used with literal values'''.
 
You may use dcterms:contributor only with non-literal values.
 
<span id="exCon1"></span>
ex:myMusic dcterms:contributor gnd:135066719 .
gnd:135066719 foaf:familyName "Elliott" ;
              foaf:givenName "Missy" ;
              foaf:nick "Missy E" .
 
=== dcterms:creator ===
 
The range for dcterms:creator is dcterms:Agent. All values used with this property have to be instances of the class [dcterms:Agent] . '''dcterms:creator must not be used with literal values'''. You may use it only with non-literal values.
 
<span id="exCre1"></span>
ex:myBook dcterms:creator _shakespearesName .
_:shakespearesName foaf:familyName "Shakespeare" ;
                    foaf:givenName "William" .
 
=== dcterms:description ===
 
There is no range defined for dcterms:description. Therefore you can use it either with non-literal values and with literal values.
 
<span id="exDes1"></span>
ex:myMusic dcterms:title "Thriller" ;
            dcterms:description <http://en.wikipedia.org/wiki/Thriller_(album)> .
 
=== dcterms:extent ===
 
The range of dcterms:extent is the class dcterms:SizeOrDuration. All values used with dcterms:extent have to be instances of this class. Therefore the property may only be used with non-literal values.
 
<span id="exExt1"></span>
ex:myVideo dcterms:extent [ rdf:value "21 minutes" ] .
 
<span id="exExt2"></span>
ex:myVideo dcterms:extent [ rdf:value "PT21M"^^xsd:duration ] .
 
=== dcterms:format ===
 
The range of dcterms:format is the class dcterms:MediaTypeOrExtent. All values used with dcterms:format have to be instances of this class. Therefore the property may only be used with non-literal values.
 
<span id="exFor1"></span>
ex:myPicture dcterms:format mime:jpeg .
 
=== dcterms:language ===
 
The range of dcterms:language it the class dcterms:LinguisticSystem. All values used with dcterms:language have to be instances of this class. Therefore the property may only be used with non-literal values.
 
<span id="exLan1"></span>
ex:myBook dcterms:title "A great deliverance" ;
          dcterms:language [ rdf:value "eng"^^dcterms:RFC4646 ] .
 
or
 
<span id="exLan7"></span>
ex:myBook dcterms:title "A great deliverance" ;
          dcterms:language <http://www.lexvo.org/page/iso639-3/eng>
 
 
<span id="exLan2"></span>
ex:myVideo dcterms:title "Charlie Wilson's War" ;
            dcterms:language <http://www.lexvo.org/page/iso639-3/eng> ,
                            <http://www.lexvo.org/page/iso639-3/hun> ,
                            <http://www.lexvo.org/page/iso639-3/tur> .
 
<span id="exLan3"></span>
ex:myVideo1 dcterms:title "Medieval helpdesk with English subtitles" ;
            dcterms:identifier "http://www.youtube.com/watch?v=pQHX-SjgQvQ&feature=player_embedded"^^dcterms:URI .
            dcterms:isVersionOf ex:myVideo2 ;
            dcterms:language <http://www.lexvo.org/page/iso639-3/nor> ,
                              <http://www.lexvo.org/page/iso639-3/eng> .
 
ex:myVideo2 dcterms:title "Book help (better verson)" ;
            dcterms:identifier "http://www.youtube.com/watch?v=UOorZQLsmuA&feature=related"^^dcterms:URI .
            dcterms:hasVersion ex:myVideo1 ;
            dcterms:language <http://www.lexvo.org/page/iso639-3/nor> .
 
<span id="exLan4"></span>
ex:mySong dcterms:title "The Power of Orange Knickers"
          dcterms:language _:eng
_:eng rdfs:Label "English"
      ex:639-1 "en"
      ex:639-2 "eng"
 
=== dcterms:medium ===
 
The range of dcterms:medium is the class dcterms:PhysicalMedium. All values used with dcterms:medium have to be instances of this class. Therefore the property may only be used with non-literal values.
 
The domain of dcterms:medium is the class dcterms:PhysicalResource. So dcterms:medium may be used only for the description of physical resources.
 
<span id="exMed1"></span>
ex:myPainting dcterms:medium _:oilOnWood
_:oilOnWood rdfs:label "oil on wood"
            rdf:value "oil"
            rdf:value "wood"
 
=== dcterms:publisher ===
 
The range for dcterms:publisher is dcterms:Agent. All values used with this property have to be instances of the class [dcterms:Agent] . '''dcterms:publisher must not be used with literal values'''. You may use it only with non-literal values.
 
 
<span id="exPub1"></span>
ex:myBook dcterms:publisher gnd: 2125990-2 ,
                            _:kniznajaPalata
gnd:2125990-2 foaf:name "Rossijskaja Gosudarstvennaja Biblioteka ;
              foaf:homepage "http://www.rsl.ru/" .
             
_:kniznajaPalata foaf:name "Knižnaja Palata"
 
=== dcterms:rightsHolder ===
 
The range for dcterms:rightsHolder is dcterms:Agent. All values used with this property have to be instances of the class [dcterms:Agent] . '''dcterms:rightsHolder must not be used with literal values'''. You may use it only with non-literal values.
 
 
<span id="exrih1"></span>
ex:myFilm dcterms:rightsHolder gnd:39454-3 .
gnd:39454-3 foaf:name "Bundesarchiv Koblenz" ;
            foaf:homepage "http://www.bundesarchiv.de/index.html.de" .
 
=== dcterms:subject ===
 
There is no range defined for dcterms:subject. Therefore you can use it either with non-literal values and with literal values.
 
 
ex:myBook dcterms:title "Inviato alla Biennale : Venezia, 1949 - 2009" ;
          dcterms:subject <http://www.labiennale.org/en/Home.html> .
<http://www.labiennale.org/en/Home.html> dcterms:title "La Biennale di Venezia"
 
ex:myVideo dcterms:title "My Winter Wonderland" ;
            dcterms:subject <http://id.loc.gov/authorities/sh88004323#concept> .
<http://id.loc.gov/authorities/sh88004323#concept> rdfs:label "Cross-country skiing--Skating" .
 
ex:myData dcterms:title: "Transports in Kazakhstan 2000 - 2010"
          dcterms:subject ex:W03_7 ,
          dcterms:subject ex:G06_3
                                         
ex:W03_7 rdf:type skos:Concept ;
          prefLabel "W03.7" ;
          skos:altLabel "Freight Transport" ;
          skos:broader ex:W03 ;
          skos:narrower ex:W03_72 ,
                        ex:W03_75 .
ex:G06_3 rdf:type skos:Concept ;
          prefLabel "G06_3 ;
          skos:altLabel "Kazakhstan" ;
          skos:broader ex:G06 ;
          skos:narrower ex:G06_31 ,
                        ex:G06_35 .
 
 
ex:myLaw dcterms:title "KONSTYTUCJA RZECZYPOSPOLITEJ POLSKIEJ"
          dcterms:subject _:polska
_:polska rdfs:label  "Rzeczpospolita Polska"@pol ,
                      "Republic of Poland"@eng .
 
 
ex:mySong dcterms:title "Candle in the wind" ;
          dcterms:subject gnd:118583549 .
gnd:118583549 foaf:_familyName "Monroe" ;
              foaf:_givenName "Marilyn" ;
              http://rdvocab.info/ElementsGr2/dateOfBirth "1926"^^dcterms:W3CDTF ;
              http://rdvocab.info/ElementsGr2/dateOfDeath "1962"^^dcterms:W3CDTF .
 
=== dcterms:tableOfContents ===
 
There is no range defined for dcterms:tableOfContents. Therefore you can use it either with non-literal values and with literal values. For an example with non-literal value see dcterms:description.
 
=== dcterms:type ===
 
The range of dcterms:type is rdfs:Class. Values used with dcterms:type may only be non-literal values.
 
<span id="exTyp1"></span>
ex:myPainting dcterms:type dctype:StillImage .
dctype:StillImage rdfs:label "Still Image" .
 
<span id="exTyp2"></span>
ex:myStuff dcterms:type dctype:InteractiveResource ,
                        dctype:Text .
dctype:InteractiveResource rdfs:label "Interactive Resource" .
dctype:Text rdfs:label "Text" .
 
<span id="exTyp3"></span>
ex:myStuff dcterms:type _:PCGameType ,
                        dctype:Software .
_:PCGameType rdfs:label "PC Game" .
dctype:Software rdfs:label "Software" .
 
 
<span id="exTyp5"></span>
ex:myEvent dcterms:type _:conference .
_:conference rdfs:label "Conference"@eng ,
                        "Konferenz"@ger ,
                        "съезд"@rus .
 
== Examples for properties of the terms namespace using literal values ==
 
=== dcterms:abstract ===
 
There is no range defined for dcterms:abstract. Therefore you can use it either with literal values or with non-literal values.
 
<span id="exAbs1"></span>
ex:myBook dcterms:title "The Foundations of Programm Verification" ;
          dcterms:abstract "This revised edition provides a precise mathematical
          background to several program verification techniques. It concentrates
          on those verification methods that have now become classic, such as the
          inductive assertions method of Floyd, the axiomatic method of Hoare,
          and Scott's fixpoint induction. The aim of the book is to present these
          different verification methods in a simple setting and to explain their
          mathematical background. In particular the problems of correctness and
          completeness of the different methods are discussed in some detail and
          many helpful examples are included." .
 
<span id="exAbs2"></span>
ex:myBook dcterms:title "Delvig and Kjuchelbeker"
          dcterms:abstract "The book is a collection of works of two poets - contemporaries
                            and friends of Pushkin - A. A. Delvig and V. K. Kjuchelbeker. It
                            includes poems and prosa by Kjuchelbeker, parts of his diary, the
                            poem Jurij and Xenia and reviews by Delvig. The attachment presents
                            some retrospections to Delvig and Kjuchelbeker. A detailed biographic
                            description tells us something about the life of the poets"@eng ,
                            "Сборник впервые обединяет произведения двух поетов - современиков
                            и друзей Пушкина - А. А. Дельвига и В. К. Кюхельбекера. Наряду со
                            стихотворениями в книгу вклучены проза Кюхельбекера, фрагменты из его
                            дневника, поема Юрий и Ксения, а также рецензии Дельвига. В Приложении
                            печатаются воспоминания о Дельвиге и Кюхельбекерею. Подробные
                            биографические очерки рассказывают о жизненном пути поэтов."@rus
 
=== dcterms:alternative ===
 
The range for dcterms:alternative is rdfs:Literal. So you can use dcterms:alternative only with literal values
 
<span id="exAlt1"></span>
ex:myBook dc:terms: title "Passion for Pulses" ;
          dcterms:alternative "A Feast of Beans, Peas and Lentils from Around the World" .
 
<span id="exAlt2"></span>
ex:myStuff dcterms:title "American Meteorological Association Newsletter" ;
            dcterms:alternative "AMA Newsletter" .
 
<span id="exAlt3"></span>
ex:myDocument dcterms:title "EU Stability Programm of Belgium"@eng ;
              dcterms:alternative "Council Opinion on the Updated Stability Programm of Belgium 2009 - 2010 "@eng ,
                                  "Stellungnahme des Rates zum aktualisierten Stabilitätsprogramm Belgiens für 2009 - 2012"@ger .
 
=== dcterms:bibliographicCitation ===
 
The range defined for dcterms:bibliographicCitation is the class of rdfs:Literal. Values used with this dcterms:bibliographicCitation have to be instances of this class. Therefore this property can only be used with literal values.
 
Moreover a domain of the class dcterms:BibliographicResource is declard for dcterms:bibliographicCitation. Thus dcterms:bibliographicCitation may only be used describing bibliographic resources.
 
<span id="exBib1"></span>
 
ex:myArticle dcterms:title "Prototyping Digital Library Technologies in zetoc" ;
              dcterms:bibliographicCitation "Lecture Notes in Computer Science 2458, 309-323 (2002)" .
 
<span id="exBib2"></span>
 
ex:myArticle dcterms:title "Prototyping Digital Library Technologies in zetoc" ;
              dcterms:bibliographicCitation "&ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:journal
              &rft.jtitle=Lecture Notes in Computer Science&rft.volume=2458&rft.spage=309"^^info:ofi/fmt:kev:mtx:ctx .
 
=== dcterms:description ===
 
There is no range defined for dcterms:description. Therefore you can use it either with literal values or with non-literal values.
 
<span id="exDes2"></span>
ex:myObjects dcterms:title "Bugs from New Zealand" ;
              dcterms:description "A box of ten bugs collected in New Zealand between 1845 and 1846" .
 
=== dcterms:identifier ===
 
The range defined for dcterms:identifier is the class of rdfs:Literal. Values used with dcterms:identifier have to be instances of this class. Therefore this property can only be used with literal values.
 
<span id="exIde1"></span>
ex:myWebsite dcterms:title "What's a URI and why does it matter?" ;
              dcterms:identifier "http://www.ltg.ed.ac.uk/~ht/WhatAreURIs/"^^dcterms:URI .
 
<span id="exIde2"></span>
ex:myFile dcterms:title "Small and medium sized companies in Kathmandu" ;
          dcterms:identifier "03KTM147"^^ex:mylocalID .
 
<span id="exIde3"></span>
ex:myVideo dcterms:title "Medieval helpdesk with English subtitles" ;
            dcterms:created "2007"^^dcterms:W3CDTF ;
            dcterms:identifier "http://www.youtube.com/watch?v=pQHX-SjgQvQ&feature=player_embedded"^^dcterms:URI .
ex:myMetadata dcterms:created "2010"^^dcterms:W3CDTF ;
              dcterms:identifier "013234098"^^ex:myDatabaseIdentifier .
 
=== dcterms:subject ===
 
There is no range defined for dcterms:subject. Therefore you can use it either with non-literal values and with literal values.
 
ex:myManual dcterms:title "How to get an aircraft"
            dcterms:subject "aircraft" ;
                            "leasing" .
 
=== dcterms:tableOfContents ===
 
There is no range defined for dcterms:tableOfContents. Therefore you can use it either with non-literal values and with literal values.
 
<span id="exToc1"></span>
ex:myFile dcterms:title "Remains of Claire Klawitter" ;
          dcterms:tableOfContent "Diary 1822 - 1824 -- 20 pictures of Indian farmers
          -- 5 letters to Rudi Ratlos -- 1 map of North India" .
 
=== dcterms:title ===
* dcterms:title
 
The range for dcterms:title is rdfs:Literal. So you can use dcterms:title only with literal values.
 
<span id="exTit3"></span>
ex:myFurniture dcterms:title "Alvar Aalto Chair No. 66" .
 
<span id="exTit4"></span>
ex:mySong dcterms:title "Autumn Leaves",
                        "The Dead Leaves" .
 
<span id="exTit5"></span>
ex:myPainting dcterms:title "La Joconde"@fre ,
                            "Mona Lisa"@eng ,
                            "La Gioconda"@ita .
 
<span id="exTit6"></span>
ex:myData dcterms:title "Data from a survey about the usage of metadata" .
 
== Legacy namespace ==
 
For properties of the legacy namespace neither domain nor range is defined. So properties of the legacy namespace can be used either with literal values or with non-literal values.
 
== Examples of properties of the legacy namespace ==
 
=== dc:contributor ===
 
You may use dc:contributor either with literal values or with non-literal values.
 
<span id="exCon2"></span>
ex:myMusic dc:contributor "Snoop Dogg" .
 
=== dc:description ===
 
You may use dc:description either with literal values
 
ex:myHerbs dc:title "Coriandrum sativum"
            dc:description "Coriandrum sativum or Coriander is a herb used in Europe, North Africa
            and Asia. It belongs to the familiy of Apiaceae and ist growing to 20 inch."
 
or with non-literal values
 
<span id="exDes3"></span>
ex:myHerbs dc:title "Coriandrum sativum"
            dc:description http://en.wikipedia.org/wiki/Coriander
http://en.wikipedia.org/wiki/Coriander dc:title "Coriander"
                                        dc:contributor "Wikipedia"
 
=== dc:creator ===
 
You may use dc:creator either with literal values or with non-literal values.
 
<span id="exCre2"></span>
ex:myBook dc:creator "Shakespeare, William" .
 
=== dc:format ===
 
You may use dc:format either with litarel values or with non-literal values.
 
<span id="exFor2"></span>
ex:myPicture dc:format mime:jpeg ,
                        "40 x 512 pixels" .
 
=== dc:identifier ===
 
You may use dc:identifier either with literal values
 
  ex:myVideo dc:title "My first article about metadata"
            dc:identifier "My Favorite Journal 3 (2), 14-25 (2010)" .
 
or with non-literal values
 
<span id="exIde4"></span>
ex:myVideo dc:title "My first article about metadata"
            dc:identifier _:myCitation .
_:myCitation ex:jtitle "My Favorite Journal"
              ex:volume "3"
              ex:issue "2"
              ex:spage "14"
              ex:date "2010" .
 
=== dc:language ===
 
You may use dc:language either with literal values or with non-literal values.
 
<span id="exLan5"></span>
ex:mySong dc:title "The Power of Orange Knickers"
          dc:language "English"
 
ex:mySong dc:title "The Power of Orange Knickers"
          dc:language "eng"^^dcterms:RFC4646 .
 
=== dc:publisher ===
 
You may use dc:publisher either with literal values or with non-literal values.
 
<span id="exPub2"></span>
ex:myData  dc:creator "Hubble Telescope";
            dc:publisher "University of Nowhere" ,
                        "All Your Data Inc. .
 
 
=== dc:subject ===
 
You may use dc:language either with literal values or with non-literal values.
 
=== dc:title ===
 
It is recommended to use dc:title with literal values. But there are important '''uses with non-literal values''' as well. To do so you have to use dc:title.
 
<span id="exTit1"></span>
ex:myBook dc:title _:thisTitle .
_:thisTitle ex:greekAlphabet "Οιδίπους Τύραννος" ;
            ex:latinAlphabet "Oidipous Tyrannos" .
 
<span id="exTit2"></span>
ex:myScript1 dcterms:title "Nibelungenlied Handschrift B" ;
              dc:title _:nibelungenlied .
             
ex:myScript2 dcterms:title "Nibelungenlied Handschrift C" ;
              dc:title _:nibelungenlied
_:nibelungenlied skos:prefLabel "Der Nibelunge Not" ;
                  skos:altLabel "Nibelungenlied" ,
                                "Nibelungenklage" ,
                                "Nibelungensage" ;
                  dcterms:description "The Nibelungenlied exists of 39 aventiuren created between 1180 and 1210" .
 
=== dc:type ===
 
The range of dcterms:type is rdfs:Class. Values used with dcterms:type may be either literal or non-literal values.
 
<span id="exTyp4"></span>
ex:myEvent dc:type "Conference" .
 
 
 




[[Category:KIM]]
[[Category:KIM]]

Latest revision as of 08:52, 5 September 2011