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 [email protected] Acknowledgements: O.Corcho, D. Garijo, D. Vila, L.Vilches, B. Villazón Día W3C en España. 12 de Enero de 2012 Work distributed under the license Creative Commons Attribution-Noncommercial-Share Alike 3.0

W3c app ld-asun(v5)-final

Embed Size (px)

DESCRIPTION

Examples of linked data publications: geolinkeddata, datos.bne.es, aemet, El viajero

Citation preview

Page 1: W3c app ld-asun(v5)-final

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

[email protected]

Acknowledgements:

O.Corcho, D. Garijo, D. Vila, L.Vilches, B. Villazón

Día W3C en España. 12 de Enero de 2012

Work distributed under the license Creative Commons Attribution-Noncommercial-Share Alike 3.0

Page 2: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

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/

2

Page 3: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Complex queries using data from heterogeneous Web

pages

3

http://www.aemet

http://www.viaf.org/

*Picture attribution: http://commons.wikimedia.org/wiki/User:Gugerell

Cervantes enthusiast from Germany

visiting Madrid and willing to know

more about Cervantes’ work and life

http://www.bne.es/

http://elviajero.elpais.com/

Page 4: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

M. Cervantes

Don Quixote

Hebrew

creator

Translated

into

1960

Year of

publication

VIAF

located

Data Integration

4

M. Cervantes Alcalá de Henares

Alcalá de Henares

birthPlace

Same as

Alcalá de Henares

20º

Temperatura

M. Cervantes

El Quijote

Autor

1605

Año de

Publicación

BNE

Ubicado en

BD BNE BD

VIAF

BD

AEMET

BD IGN

Alcalá de Henares

Tapas Siglo

de Oro

guía

BD

Prisa

BD

DBpedia

Page 5: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

RDF

Generation

Linking

Data & Knowledge

Visualization

Linked Data

Page 6: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

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/

6

Page 7: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Linked Data: why it is important?

• Facilitate data integration

• From heterogeous sources

• In different formats

• Different granularity

• In different languages

• From different countries

© Slide adapted from “5min Introduction to Linked Data”- Olaf Hartig

Page 8: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Foundations

Unique identifiers: URI identify or name a resource

RDF(S) models

Cer El Quijote Cervantes Is creator of

Cer Work Person Is creator of

Is a Is a

http://datos.bne.es/resource/XX1718747 http://datos.bne.es/resource/XX3383563

http://iflastandards.info/ns/fr/frbr/frbrer/C1005 http://iflastandards.info/ns/fr/frbr/frbrer/C1001

Equivalence links to other datasets Same As

http://viaf.org/viaf/17220427

Cervantes

Same As Same As

http://dbpedia.org/resource/Miguel_de_Cervantes

Cervantes

Data navigation

Page 9: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Foundations

Aligning Models with Owl EquivalentClass

EquivalentClass

Same As

http://xmlns.com/foaf/0.1/Person Person

http://schema.org/Person Person

EquivalentClass

Lessons learnt

1. Reuse existing models

2. Align the data and the concepts.

Municipality

Person

birthPlace

http://iflastandards.info/ns/fr/frbr/frbrer/C1005

http://dbpedia.org/resource/Municipalities_of_Spain

http://dbpedia.org/page/Alcal%C3%A1_de_Henares

Alcalá de Henares

Is a

http://geo.linkeddata.es/ontology/Municipio

Municipio

http://geo.linkeddata.es/resource/Alcalá de Henares

Alcalá de Henares

Is a

Page 10: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

El modelo (Ontología) y los datos (2 datasets)

10

Obra

Lengua

translation

Año

Publication date

Biblioteca

Ubicado en

Person

Is creator of

Has subject

El Quijote Cervantes

Is creator of

Catalán

translation

1960

Publication date

BNE

Located in

Has subject

Vida de Cervantes

Ontology

Data

birthPlace Lugar

birthPlace Alcalá de Henares

Page 11: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

El modelo (Ontología) y los datos (2 datasets)

11

http://iflastandards.info/ns/fr/frbr/frbrer/C1001

http://iflastandards.info/ns/fr/frbr/frbrer/C1002

translation

Año

Publication date

http://xmlns.com/foaf/0.1/Organization

Located in

http://iflastandards.info/ns/fr/frbr/frbrer/C1005

Is creator of

Has subject

http://datos.bne.es/resource/XX3383563 http://datos.bne.es/resource/XX1718747

Es autor

http://datos.bne.es/resource/XX1924295

translation

1960

Publication date

BNE

Located in

Has subject

http://datos.bne.es/resource/bimo0002045496

Vida de Miguel de Cervantes Saavedra

Don Quijote de la Mancha Cervantes Saavedra, Miguel de

Catalán

Ontology

Data http://datos.bne.es/#

Language

work

Biblioteca

Person

http://geo.linkeddata.es/ontology/Municipio

birthPlace

http://geo.linkeddata.es/resource/Alcalá de Henares

birthPlace

Page 12: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Table of content

1. The concept

2. Foundations

3. The process

4. Examples

12

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

Page 13: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

The Ontology: based on IFLA vocabularies

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

Page 14: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Marimba uses the ontology to generate RDF

BNE

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

Page 15: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Marimba links with other resources:

VIAF, DNB, SUDOC, LIBRIS, DBpedia

BNE

http://datos.bne.es/resource/XX1718747

Same As

Same As

Same As

Same As

Same As

LIBRIS

http://libris.kb.se/resource/auth/45369

SUDOC

http://www.idref.fr/026774771/id

DNB

http://d-nb.info/gnd/11851993X

DBpedia

http://dbpedia.org/resource/Miguel_de_Cervantes

VIAF

http://viaf.org/viaf/17220427

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

Page 16: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

Marimba links with other resources:

VIAF, DNB, SUDOC, LIBRIS, DBpedia

Page 17: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Publicación

Data publication

Metadata publicacion using VOID

To facilitate the discovery

• Register in CKAN your dataset

• Use to sitemap4rdf to generate the site map

• Upload the site map to Google and Sindice

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

Page 18: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Exploitation

select distinct COUNT(?Obras) where {

http://datos.bne.es/resource/XX1718747

<http://iflastandards.info/ns/fr/frbr/frbrer/P2010>

?Obras

}

URI Cervantes

Is author

SPARQL queries

Web Interface

Especification

Model

RDF

generation

Publication

Exploitation

Specification

Modelling

RDF

Generation

Publication

Exploitation

Links

Generation

http://linkeddata3.dia.fi.upm.es/bne-demo

Page 19: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

http://geo.linkeddata.es/

Specification

Model

RDF

Generation

7 geographical DB

• Granularity

• Scale

• Multilingual NOR2O

Geometry2RDF

Geometry

column

hasStatisticalData

on

Ontology

Specification

Legend

hydrOntology

4

FAO

FAO

Geopolitical

ontology

WGS84

4W3C

Vocabulary

GML

4GML

Specification

O.

Statistics

SCOVO

O.

Time

W3C Time

hasLat/Long

hasGeometry

hasLat/Long

hasGeometry

hasLocation/isLocated

Thesaurus

UNESCO

4EGM / ERM

GeoNames

Uniform access to the Spanish

Geographical Institute Databases

Page 20: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Phase BNE IGN AEMET PRISA INE

Modeling

RDF generation

Links

generation

Publication

Exploitation 20

Scovo

Data cube SSN ontology

SIOC DC

map4rdf SPARQL

geometry2rdf NOR2O

sitemap4rdf Pubby

MARiMbA

Silk Silk Silk NOR2O

DNB

VIAF

LIBRIS

DBPEDIA

DBPEDIA

Geonames

Geolinkeddata.es

DBPEDIA

Geolinkeddata.es Geolinkeddata.es

hydrontology

Wgs84

time

CSV parser CSV parser NOR2O

Page 21: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

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/

21

Page 22: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Results

• Total number of authority records: 4.100.000

• Total number of bibliographic records:

2.390.140

• Total number of RDF triples: 58.053.215

• Links (15% authority): 587.520

• Linked sources:

• VIAF

• SUDOC (Sistema Universitario de

Documentación) FR

• GND (Auth German National Library) GER

• LIBRIS Sweden

• DBPedia

22

• Total number of guides: 27.876

• Total number of posts: 32.502

• Total number of locations: 6.838

• Total number of RDF triples: 9.462.339

• Linked sources: 12.750

DBPedia (6024 links)

GeoLinkedData (6726 links)

http://datos.bne.es

http://geo.linkeddata.es/

http://webenemasuno.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)

Page 23: W3c app ld-asun(v5)-final

Día W3C en España, 12 de Enero de 2012

Lessons learnt

• URI

• Follow existing design guidelines for new URIs

• Reuse existing URIs from authoritative sources

• 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

• Equivalence links (sameAs)

• Typed links

• Discovery

• Use sitemap4rdf to allow search engines to find your data

• Use an iterative-incremental life cycle in your development

23

Municipality Person birthPlace

Dbpedia:cervantes bne:Cervantes sameAs

Learn about Linked Data

with UPM official courses in

one week

Page 24: W3c app ld-asun(v5)-final

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

[email protected]

Acknowledgements:

O.Corcho, D. Garijo, D. Vila, L.Vilches, B. Villazón

Día W3C en España. 12 de Enero de 2012

Work distributed under the license Creative Commons Attribution-Noncommercial-Share Alike 3.0