Short introduction to RDF model based on the EDM sounds profile
-
Upload
europeanasounds -
Category
Technology
-
view
102 -
download
0
Transcript of Short introduction to RDF model based on the EDM sounds profile
Introduction to RDF
RDF stands for Resource Description Framework.
RDF is a standard for describing Web resources.
RDF can be used to describe content, in our case Digitized Cultural Heritage Objects.
Introduction to RDF
RDF identifies things using Web identifiers (URIs), and describes resources with properties and property values.
Explanation of Resource, Property, and Property value: A Resource is anything that can have a URI, such as
"http://mint-projects.image.ntua.gr/data/sounds/10853" A Property is a Resource that has a title, such as ”dc:title”
and a creator ”dc:creator" A Property value is the value of a Property, such as
“Johann Sebastian Bach" or "http://dbpedia.org/resource/Johann_Sebastian_Bach" (note that a property value can be another resource)
RDF Syntax
<edm:ProvidedCHO rdf:about="http://mint-projects.image.ntua.gr/data/sounds/10853"/>
<dc:creator>Johann Sebastian Bach</dc:creator>
<dc:creator rdf:resource=“http://dbpedia.org/resource/Johann_Sebastian_Bach”/>
<dc:identifier>10853</dc:identifier>
<dc:title xml:lang=“en”>Bourree in e-minor</dc:title>
. . .
<edm:type>SOUND</edm:type>
</edm:ProvidedCHO>
RDF as a Graph
edm: ProvidedCHOhttp://mint-
projects.image.ntua.gr/data/sounds/10853
dbpedia-owl:Person
http://dbpedia.org/resource/
Johann_Sebastian_Bach
dc:creator
“Johann Sebastian Bach”
“10853”
“Bourree in e-minor”
“SOUND”
dc:identifier
dc:title
edm:type
1685-03-21
1750-07-28
…
dbpedia:birthDate
dbpedia:deathDate
EDM Syntax
<edm:ProvidedCHO rdf:about="http://mint-projects.image.ntua.gr/data/sounds/10853">
<dc:creator>Johann Sebastian Bach</dc:creator>
<dc:creator rdf:resource=“http://dbpedia.org/resource/Johann_Sebastian_Bach”/>
<dc:identifier>10853</dc:identifier>
<dc:title>Bourree in e-minor</dc:title>
. . .
<edm:type>SOUND</edm:type>
</edm:ProvidedCHO>
<ore:Aggregation rdf:about="http://mint-projects.image.ntua.gr/data/sounds/Aggregation_10853">
<edm:aggregatedCHO rdf:resource=“http://mint-projects.image.ntua.gr/data/sounds/10853”>
<edm:dataProvider>NTUA</edm:dataProvider>
<edm:isShownAt rdf:resource=“http://link.to.portal”>
<edm:rights>SOUND</edm:rights>
</edm:ProvidedCHO>
EDM as a Graph
edm: ProvidedCHO
ore: Aggregation
edm:aggregatedCHO
“Johann Sebastian Bach”
dc:creator
“10853” “SOUND”
dc:identifier
edm:type
“NTUA”“EuropeanaSounds”
edm:provider
edm:dataProvider
edm:Collection8
edm: Collection
ore: Aggregation
ore: Aggregation
ore: Aggregation
ore: Aggregation
edm: ProvidedCHO
edm: ProvidedCHO
edm: ProvidedCHO
edm:aggregatedCHO
edm:aggregatedCHO
edm:aggregatedCHO
edm:aggregatedCHO
dcterms:isPartOf dcterms:isPa
rtOfdcterms:isPartOf
edm:Collection9
Group your imports per Collection Two approaches
1. Create one mapping that includes both the edm:Collection and the edm:ProvidedCHOs (EDM Sounds schema)
2. Create a mapping for the edm:Collection (EDM Sounds Collection schema) and another mapping for the edm:ProvidedCHOs (EDM Sounds schema)
edm:Collection – Approach 1
10
The relation of a edm:ProvidedCHO and its aggregation is set by default
edm:Collection – Approach 1
11
Create an instance of the edm:Collection class and relate it to a new ore: Aggregation
edm:Collection – Approach 1<edm:ProvidedCHO rdf:about="http://mint-projects.image.ntua.gr/data/sounds/108_0851b">
<dcterms:isPartOf rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/MyCollection"/>
<edm:isGatheredInto rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/MyCollection"/>
</edm:ProvidedCHO>
<edm:Collection rdf:about="http://mint-projects.image.ntua.gr/data/sounds/MyCollection">
<dc:creator>Nikos</dc:creator>
</edm:Collection>
<ore:Aggregation rdf:about="http://mint-projects.image.ntua.gr/data/sounds/MyCollectionAggregation">
<edm:aggregatedCHO rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/MyCollection"/>
<edm:provider>Europeana Sounds</edm:provider>
</ore:Aggregation>
<ore:Aggregation rdf:about="http://mint-projects.image.ntua.gr/data/sounds/Aggregation_108_0851b">
<edm:aggregatedCHO rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/108_0851b"/>
<edm:provider>Europeana Sounds</edm:provider>
</ore:Aggregation>
edm:Collection – Approach 2
14
Make a mapping for creating the edm:Collection (EDM Sounds Collection schema) Import
Either use a single XML/CSV file with metadata about the Collection
Or use an existing import that YOU ARE NOT GOING TO PUBLISH and use ONLY constant mappings
edm:Collection – Approach 2
15
The relation of a edm:Collection and its aggregation is set by default
edm:Collection – Approach 2
16
In case you use an existing import that YOU ARE NOT GOING TO PUBLISH then use ONLY constant mappings
edm:Collection – Approach 2
17
Then make a mapping (EDM Sounds schema) for creating the edm:ProvidedCHOs and relate them to the edm:Collection you’ve made
EDM COLLECTION SOUNDS
<edm:Collection rdf:about="http://mint-projects.image.ntua.gr/data/sounds/MyCollection">
<dc:creator>Nikos</dc:creator>
</edm:Collection>
<ore:Aggregation rdf:about="http://mint-projects.image.ntua.gr/data/sounds/MyCollectionAggregation">
<edm:aggregatedCHO rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/MyCollection"/>
<edm:provider>Europeana Sounds</edm:provider>
</ore:Aggregation>
EDM SOUNDS
<edm:ProvidedCHO rdf:about="http://mint-projects.image.ntua.gr/data/sounds/108_0851b">
<dcterms:isPartOf rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/MyCollection"/>
<edm:isGatheredInto rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/MyCollection"/>
</edm:ProvidedCHO>
<ore:Aggregation rdf:about="http://mint-projects.image.ntua.gr/data/sounds/Aggregation_108_0851b">
<edm:aggregatedCHO rdf:resource="http://mint-projects.image.ntua.gr/data/sounds/108_0851b"/>
<edm:provider>Europeana Sounds</edm:provider>
</ore:Aggregation>
edm:Collection – Approach 2
Contact19
Nikolaos Simou
National Technical University of Athens
Email: [email protected] LinkedIn:
http://www.linkedin.com/pub/nikolaos-simou/68/31a/9aa