1. Linked Data Applications:
examples
Asunción Gómez-Pérez
Facultad de Informática, Universidad Politécnica de Madrid
Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid
http://www.oeg-upm.net
asun@fi.upm.es
Acknowledgements:
O.Corcho, D. Garijo, D. Vila, L.Vilches, B. Villazón
Work distributed under the license Creative Commons Attribution-Noncommercial-Share Alike 3.0
Día W3C en España. 12 de Enero de 2012
2. Table of content
1. The concept
2. Foundations
3. The process
4. Examples
• Libraries: http://datos.bne.es
• Geo: http://geo.linkeddata.es/
• Metereology:http://aemet.linkeddata.es/
• Travelling: http://webenemasuno.linkeddata.es/
Día W3C en España, 12 de Enero de 2012 2
3. Complex queries using data from heterogeneous Web
pages
http://www.bne.es/
http://elviajero.elpais.com/
Cervantes enthusiast from Germany
visiting Madrid and willing to know
more about Cervantes’ work and life
http://www.viaf.org/
http://www.aemet
Día W3C en España, 12 de Enero de 2012 *Picture attribution: http://commons.wikimedia.org/wiki/User:Gugerell 3
4. BD BD BD IGN BD BD
BD BNE VIAF AEMET Prisa DBpedia Data Integration
BNE
Ubicado en
Alcalá de Henares
1605 El Quijote
Año de Same as
Publicación Autor birthPlace
M. Cervantes Alcalá de Henares
M. Cervantes
M. Cervantes
creator
Year of
publication Don Quixote
1960 Alcalá de Henares
Alcalá de Henares
Translated
into
Temperatura
located guía
Hebrew
20º
Tapas Siglo
de Oro
VIAF
Día W3C en España, 12 de Enero de 2012 4
5. Linked Data
Data & Knowledge
Visualization
Linking
RDF
Generation
Día W3C en España, 12 de Enero de 2012
6. Table of content
1. The concept
2. Foundations
3. The process
4. Examples
• Libraries: http://datos.bne.es
• Geo: http://geo.linkeddata.es/
• Metereology:http://aemet.linkeddata.es/
• Travelling: http://webenemasuno.linkeddata.es/
Día W3C en España, 12 de Enero de 2012 6
8. Foundations
RDF(S) models Unique identifiers: URI
identify or name a resource
Equivalence links to other datasets
Same As
Data navigation
http://iflastandards.info/ns/fr/frbr/frbrer/C1005 http://iflastandards.info/ns/fr/frbr/frbrer/C1001
Is creator of
Person Cer Work
Is a Is a
Is creator of
Cervantes Cer El Quijote
http://datos.bne.es/resource/XX1718747 http://datos.bne.es/resource/XX3383563
Same As
Same As
Cervantes
http://viaf.org/viaf/17220427
Cervantes
http://dbpedia.org/resource/Miguel_de_Cervantes
Día W3C en España, 12 de Enero de 2012
9. Foundations
Aligning Models with Owl EquivalentClass
Person http://schema.org/Person
http://iflastandards.info/ns/fr/frbr/frbrer/C1005 EquivalentClass
Person
Person http://xmlns.com/foaf/0.1/Person
birthPlace
Municipality Municipio
EquivalentClass
http://dbpedia.org/resource/Municipalities_of_Spain http://geo.linkeddata.es/ontology/Municipio
Is a Is a
Alcalá de Henares Same As Alcalá de Henares
http://dbpedia.org/page/Alcal%C3%A1_de_Henares http://geo.linkeddata.es/resource/Alcalá de Henares
Lessons learnt
1. Reuse existing models
2. Align the data and the concepts.
Día W3C en España, 12 de Enero de 2012
10. El modelo (Ontología) y los datos (2 datasets)
Lengua
translation
Is creator of birthPlace
Año Obra Person Lugar Ontology
Publication date
Ubicado en
Has subject
Biblioteca
Catalán
translation
Is creator of
birthPlace
1960 El Quijote Cervantes Alcalá de Henares
Publication date
Has subject
Located in Data
Vida de Cervantes
BNE
Día W3C en España, 12 de Enero de 2012 10
11. El modelo (Ontología) y los datos (2 datasets)
Language
http://iflastandards.info/ns/fr/frbr/frbrer/C1002
Ontology
translation
Is creator of
work Person
Año http://iflastandards.info/ns/fr/frbr/frbrer/C1001 http://iflastandards.info/ns/fr/frbr/frbrer/C1005
Publication date
birthPlace
Has subject
Located in http://geo.linkeddata.es/ontology/Municipio
Biblioteca
http://xmlns.com/foaf/0.1/Organization
Catalán
http://datos.bne.es/resource/XX1924295
translation http://geo.linkeddata.es/resource/Alcalá de Henares
Don Quijote de la Mancha
Cervantes Saavedra, Miguel de
Es autor birthPlace
1960 http://datos.bne.es/resource/XX3383563 http://datos.bne.es/resource/XX1718747
Publication date
Has subject
Located in http://datos.bne.es/resource/bimo0002045496
BNE Vida de Miguel de Cervantes Saavedra
http://datos.bne.es/# Data
Día W3C en España, 12 de Enero de 2012 11
12. Table of content
1. The concept Specification
2. Foundations Modelling
3. The process RDF
Generation
4. Examples Links
Generation
Publication
Exploitation
Día W3C en España, 12 de Enero de 2012 12
13. The Ontology: based on IFLA vocabularies
Specification
Modelling
RDF
Generation
Links
Generation
Publication
Exploitation
Día W3C en España, 12 de Enero de 2012
14. Marimba uses the ontology to generate RDF
Specification
Modelling
RDF
Generation
Links
Generation
Publication
Exploitation
BNE
Día W3C en España, 12 de Enero de 2012
15. Marimba links with other resources:
VIAF, DNB, SUDOC, LIBRIS, DBpedia
http://d-nb.info/gnd/11851993X
Specification
DNB
Modelling http://viaf.org/viaf/17220427
VIAF
Same As
RDF Same As http://dbpedia.org/resource/Miguel_de_Cervantes
Generation
DBpedia
Same As
Links
Generation
http://datos.bne.es/resource/XX1718747
BNE
Publication Same As
Same As
Exploitation http://www.idref.fr/026774771/id
SUDOC
http://libris.kb.se/resource/auth/45369
LIBRIS
Día W3C en España, 12 de Enero de 2012
16. Marimba links with other resources:
VIAF, DNB, SUDOC, LIBRIS, DBpedia
Specification
Modelling
RDF
Generation
Links
Generation
Publication
Exploitation
Día W3C en España, 12 de Enero de 2012
17. Publicación
Specification
Modelling
Data publication
RDF Metadata publicacion using VOID
Generation
Links
To facilitate the discovery
Generation
• Register in CKAN your dataset
Publication
• Use to sitemap4rdf to generate the site map
Exploitation
• Upload the site map to Google and Sindice
Día W3C en España, 12 de Enero de 2012
18. Exploitation
Web Interface
Especification
Specification
Modelling
Model
RDF
Generation
generation
Links
Publication
Generation
SPARQL queries
Exploitation
Publication
URI Cervantes
select distinct COUNT(?Obras) where {
Exploitation http://datos.bne.es/resource/XX1718747 Is author
<http://iflastandards.info/ns/fr/frbr/frbrer/P2010>
?Obras
}
http://linkeddata3.dia.fi.upm.es/bne-demo
Día W3C en España, 12 de Enero de 2012
19. http://geo.linkeddata.es/
Uniform access to the Spanish RDF
Specification Geographical Institute Databases Generation
7 geographical DB Geometry2RDF
• Granularity
• Scale
NOR2O
• Multilingual
Geometry
column
W3C 4
Vocabulary
Model O.
hasStatisticalData Statistics
hasLat/Long WGS84 hasLat/Long
SCOVO
on
hydrOntology hasLocation/isLocated FAO
O.
FAO Time
UNESCO Geopolitical
EGM / ERM 4 hasGeometry
hasGeometry
ontology
W3C Time
GeoNames
… GML
Legend
GML 4 Ontology
Specification
Specification 4
Thesaurus
Día W3C en España, 12 de Enero de 2012
20. Phase BNE IGN AEMET PRISA INE
hydrontology Scovo
Modeling SSN ontology
Wgs84
DC SIOC Data cube
time
MARiMbA
RDF generation
geometry2rdf
NOR2O CSV parser CSV parser NOR2O
Silk Silk Silk
NOR2O
DBPEDIA
Links DNB DBPEDIA
VIAF Geolinkeddata.es Geolinkeddata.es
generation LIBRIS Geonames
Geolinkeddata.es
DBPEDIA
Publication Pubby
sitemap4rdf
SPARQL
Exploitation map4rdf
Día W3C en España, 12 de Enero de 2012 20
21. Table of content
1. The concept
2. Foundations
3. The process
4. Examples
• Libraries: http://datos.bne.es
• http://linkeddata3.dia.fi.upm.es/bne-demo
• Geo: http://geo.linkeddata.es/
• Metereology: http://aemet.linkeddata.es/
• Travelling: http://webenemasuno.linkeddata.es/
Día W3C en España, 12 de Enero de 2012 21
22. Results
http://datos.bne.es http://webenemasuno.linkeddata.es/
• Total number of authority records: 4.100.000 • Total number of guides: 27.876
• Total number of bibliographic records: • Total number of posts: 32.502
2.390.140 • Total number of locations: 6.838
• Total number of RDF triples: 58.053.215 • Total number of RDF triples: 9.462.339
• Links (15% authority): 587.520 • Linked sources: 12.750
• Linked sources: DBPedia (6024 links)
• VIAF GeoLinkedData (6726 links)
• SUDOC (Sistema Universitario de
Documentación) FR
• GND (Auth German National Library) GER
• LIBRIS Sweden
• DBPedia
http://geo.linkeddata.es/
Number of geo type phenomenon: 95 (Rivers, mountains, etc.)
Number of geo entities: 155.000
Total number of RDF triples: 21.564.199
Links: 1002 (outlinks) y 6782 (coming)
Linked sources: DBpedia y GeoNames (outlinks)
AEMET y El Viajero (entry)
Día W3C en España, 12 de Enero de 2012 22
23. Lessons learnt
• URI Learn about Linked Data
• Follow existing design guidelines for new URIs with UPM official courses in
• Reuse existing URIs from authoritative sources one week
• Models
• Reuse existing models when available
• Create new models from authoritative sources
• Do not forget to align your model with existing models
• Generation
• Vertical domains usually require specific tools for generation
• Link
• Generic link discovery tools performs well in vertical domains
• Link to other data sets using
bne:Cervantes Dbpedia:cervantes
• Equivalence links (sameAs) sameAs
Person Municipality
• Typed links birthPlace
• Discovery
• Use sitemap4rdf to allow search engines to find your data
• Use an iterative-incremental life cycle in your development
Día W3C en España, 12 de Enero de 2012 23
24. Linked Data Applications:
examples
Asunción Gómez-Pérez
Facultad de Informática, Universidad Politécnica de Madrid
Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid
http://www.oeg-upm.net
asun@fi.upm.es
Acknowledgements:
O.Corcho, D. Garijo, D. Vila, L.Vilches, B. Villazón
Work distributed under the license Creative Commons Attribution-Noncommercial-Share Alike 3.0
Día W3C en España. 12 de Enero de 2012