Difference between revisions of "PublishingMetadata"
Line 187: | Line 187: | ||
<http://id.loc.gov/authorities/sh88004323#concept> rdfs:label "Cross-country skiing--Skating" . | <http://id.loc.gov/authorities/sh88004323#concept> rdfs:label "Cross-country skiing--Skating" . | ||
ex:myData dcterms:title: "Transports in Kazakhstan 2000 - 2010" | ex:myData dcterms:title: "Transports in Kazakhstan 2000 - 2010" | ||
Line 206: | Line 205: | ||
skos:narrower ex:G06_31 , | skos:narrower ex:G06_31 , | ||
ex:G06_35 . | ex:G06_35 . | ||
ex:myLaw dcterms:title "KONSTYTUCJA RZECZYPOSPOLITEJ POLSKIEJ" | |||
dcterms:subject _:polska | |||
_:polska rdfs:label "Rzeczpospolita Polska"@pol , | |||
"Republic of Poland"@eng . | |||
=== dcterms:tableOfContents === | === dcterms:tableOfContents === |
Revision as of 14:02, 17 September 2010
Go to UsingDC | CreatingMetadata
DCMI Metadata as linked data[edit]
About the linked data examples[edit]
To present these examples in a concise form we use the 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[edit]
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[edit]
dcterms:abstract[edit]
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[edit]
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.
ex:myMusic dcterms:contributor gnd:135066719 . gnd:135066719 foaf:familyName "Elliott" ; foaf:givenName "Missy" ; foaf:nick "Missy E" .
dcterms:creator[edit]
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.
ex:myBook dcterms:creator _shakespearesName . _:shakespearesName foaf:familyName "Shakespeare" ; foaf:givenName "William" .
dcterms:description[edit]
There is no range defined for dcterms:description. Therefore you can use it either with non-literal values and with literal values.
ex:myMusic dcterms:title "Thriller" ; dcterms:description <http://en.wikipedia.org/wiki/Thriller_(album)> .
dcterms:extent[edit]
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.
ex:myVideo dcterms:extent [ rdf:value "21 minutes" ] .
ex:myVideo dcterms:extent [ rdf:value "PT21M"^^xsd:duration ] .
dcterms:format[edit]
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.
ex:myPicture dcterms:format mime:jpeg .
dcterms:language[edit]
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.
ex:myBook dcterms:title "A great deliverance" ; dcterms:language [ rdf:value "eng"^^dcterms:RFC4646 ] .
or
ex:myBook dcterms:title "A great deliverance" ; dcterms:language <http://www.lexvo.org/page/iso639-3/eng>
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> .
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> .
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[edit]
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.
ex:myPainting dcterms:medium _:oilOnWood _:oilOnWood rdfs:label "oil on wood" rdf:value "oil" rdf:value "wood"
dcterms:publisher[edit]
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.
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[edit]
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.
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[edit]
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 .
dcterms:tableOfContents[edit]
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[edit]
The range of dcterms:type is rdfs:Class. Values used with dcterms:type may only be non-literal values.
ex:myPainting dcterms:type dctype:StillImage . dctype:StillImage rdfs:label "Still Image" .
ex:myStuff dcterms:type dctype:InteractiveResource , dctype:Text . dctype:InteractiveResource rdfs:label "Interactive Resource" . dctype:Text rdfs:label "Text" .
ex:myStuff dcterms:type _:PCGameType , dctype:Software . _:PCGameType rdfs:label "PC Game" . dctype:Software rdfs:label "Software" .
ex:myEvent dcterms:type _:conference . _:conference rdfs:label "Conference"@eng , "Konferenz"@ger , "съезд"@rus .
Examples for properties of the terms namespace using literal values[edit]
dcterms:abstract[edit]
There is no range defined for dcterms:abstract. Therefore you can use it either with literal values or with non-literal values.
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." .
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[edit]
The range for dcterms:alternative is rdfs:Literal. So you can use dcterms:alternative only with literal values
ex:myBook dc:terms: title "Passion for Pulses" ; dcterms:alternative "A Feast of Beans, Peas and Lentils from Around the World" .
ex:myStuff dcterms:title "American Meteorological Association Newsletter" ; dcterms:alternative "AMA Newsletter" .
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[edit]
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.
ex:myArticle dcterms:title "Prototyping Digital Library Technologies in zetoc" ; dcterms:bibliographicCitation "Lecture Notes in Computer Science 2458, 309-323 (2002)" .
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[edit]
There is no range defined for dcterms:description. Therefore you can use it either with literal values or with non-literal values.
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[edit]
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.
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 .
ex:myFile dcterms:title "Small and medium sized companies in Kathmandu" ; dcterms:identifier "03KTM147"^^ex:mylocalID .
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[edit]
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[edit]
There is no range defined for dcterms:tableOfContents. Therefore you can use it either with non-literal values and with literal values.
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[edit]
- dcterms:title
The range for dcterms:title is rdfs:Literal. So you can use dcterms:title only with literal values.
ex:myFurniture dcterms:title "Alvar Aalto Chair No. 66" .
ex:mySong dcterms:title "Autumn Leaves", "The Dead Leaves" .
ex:myPainting dcterms:title "La Joconde"@fre , "Mona Lisa"@eng , "La Gioconda"@ita .
ex:myData dcterms:title "Data from a survey about the usage of metadata" .
Legacy namespace[edit]
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[edit]
dc:contributor[edit]
You may use dc:contributor either with literal values or with non-literal values.
ex:myMusic dc:contributor "Snoop Dogg" .
dc:description[edit]
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
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[edit]
You may use dc:creator either with literal values or with non-literal values.
ex:myBook dc:creator "Shakespeare, William" .
dc:format[edit]
You may use dc:format either with litarel values or with non-literal values.
ex:myPicture dc:format mime:jpeg , "40 x 512 pixels" .
dc:identifier[edit]
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
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[edit]
You may use dc:language either with literal values or with non-literal values.
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[edit]
You may use dc:publisher either with literal values or with non-literal values.
ex:myData dc:creator "Hubble Telescope"; dc:publisher "University of Nowhere" , "All Your Data Inc. .
dc:title[edit]
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.
ex:myBook dc:title _:thisTitle . _:thisTitle ex:greekAlphabet "Οιδίπους Τύραννος" ; ex:latinAlphabet "Oidipous Tyrannos" .
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[edit]
The range of dcterms:type is rdfs:Class. Values used with dcterms:type may be either literal or non-literal values.
ex:myEvent dc:type "Conference" .