Herramientas para linked data

36
Iván Ruiz Rube Herramientas para la publicación y consulta de Linked Open Data 25 de Abril de 2013 Desarrollo de software orientado a servicios y procesos de aprendizaje Itinerario de Doctorado en Modelado, Simulación y Pruebas de Procesos y Tratamiento de Señales y Datos

description

Herramientas para la publicación y consumo de linked data

Transcript of Herramientas para linked data

Page 1: Herramientas para linked data

Iván Ruiz Rube

Herramientas para la publicación y consulta de Linked Open Data

25 de Abril de 2013

Desarrollo de software orientado a servicios y procesos de aprendizajeItinerario de Doctorado en Modelado, Simulación y Pruebas de Procesos y Tratamiento de Señales y Datos

Page 2: Herramientas para linked data

Introducción• La Web de Linked Data promueve la integración de datos entre diferentes sistemas (LD o no LD).– Interoperabilidad sintáctica: formato RDF

– Interoperabilidad semántica: ontologías o vocabularios RDF

• Se necesitan herramientas para la publicación y la utilización de datos de datasets RDF.

Page 3: Herramientas para linked data

Contenidos• Diseño de ontologías• Generación de datos• Gestión de datos• Exposición de datos• Consumo de datos• Plataformas Linked Data

Page 4: Herramientas para linked data

Diseño de ontologías

• ¿Cómo construir vocabularios?– Herramientas específicas

• Herramientas completas OWL• Editores de vocabularios RDF

– Herramientas de modelado UML• Soporte al perfil ODM

– Herramientas genéricas• Editores de texto XML, JSON, Turtle/N3

– Ingeniería inversa• Base de datos• ORM

Page 5: Herramientas para linked data

Herramientas OWL: Protégé

Page 6: Herramientas para linked data

Herramientas RDF: Neologism

Page 7: Herramientas para linked data

Herramientas UML: Enterprise Architect

Page 8: Herramientas para linked data

Herramientas edición: RDF Validator Service

Page 9: Herramientas para linked data

Herramientas Ingeniería Inversa

Page 10: Herramientas para linked data

Generación de datos

• ¿Cómo generar datos RDF?– Herramientas genéricas

• Editores de texto XML, JSON, Turtle/N3

– Herramientas especificas de dominio• Editores SKOS, Dublin Core, etc.

– Herramientas de anotación automática• API Wrappers• RDB Wrappers• Structured Data Extractos• Textual Content Extractors

Page 11: Herramientas para linked data

Herramientas específicas de dominio

Page 12: Herramientas para linked data

Herramientas de anotación automática

Page 13: Herramientas para linked data

Herramientas de anotación automática

20082008

JournalSemanticWebJournalSemanticWeb

W3CW3C

The Story So Far

The Story So Far

Berners-LeeBerners-LeeLinkedDataLinkedData

Page 14: Herramientas para linked data

API Wrappers: Virtuoso RDF Proxy

Page 15: Herramientas para linked data

Relational Databases Wrappers: D2RQ

map:OrganisationUnits a d2rq:ClassMap;d2rq:dataStorage map:database;d2rq:class cerif:Organization;d2rq:uriPattern "organizations/@@ORGANISATIONS.ACRONYM@@";d2rq:condition "ORGANISATIONS.ACRONYM <> ''“ .

map:OrganisationUnits_Headcount a d2rq:PropertyBridge;d2rq:belongsToClassMap map:OrganisationUnits;d2rq:property cerif:headcount;d2rq:column "ORGANISATIONS.HEADCOUNT “ .

http://dataset.org/organizations/UCAhttp://dataset.org/organizations/UCA

http://www.eurocris.org/cerif/1.3#Organization

http://www.eurocris.org/cerif/1.3#Organization

rdf:typecerif:headcount

24002400

Page 16: Herramientas para linked data

Structured Content Extractors: Open Refine (RDF ext.)

Page 17: Herramientas para linked data

Textual Content Extractors: Apache Stanbol

Page 18: Herramientas para linked data

Gestión de datos• ¿Dónde viven los datos RDF?

– Directorio del servidor web • Ficheros RDF (XML, N3, etc.)• Ficheros HTML+RDFa

– RDF Store• Almacén de tripletas Subject-Predicate-Object

– No se almacenan• Cuando se utilizan wrappers (on-the-fly)

• Razonamiento

Page 19: Herramientas para linked data

RDF Stores

Page 20: Herramientas para linked data

Razonadores

($p http://www.w3.org/2000/01/rdf-schema#domain $d), ($1 $p $2) ($1 http://www.w3.org/1999/02/22-rdf-syntax-ns#type $d)

($p http://www.w3.org/2000/01/rdf-schema#domain $d), ($1 $p $2) ($1 http://www.w3.org/1999/02/22-rdf-syntax-ns#type $d)

Page 21: Herramientas para linked data

Exposición de datos

• Linked Data Interface– URIs deferenciables– Read Write Linked Data

• Linked Data Endpoint– SPARQL – SPARQL/Update

Page 22: Herramientas para linked data

URIs deferenciables (fichero HTML)

http://publisher.org/Papers/Paper12345

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: text/html

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: text/html

<html><head><link rel="alternate" type="application/rdf+xml"

href=”Paper12345.rdf"></head><body><h1>Linked Data – The Story So Far</h1><h2><a href=“http://ijswis.org”>International Journal on

Semantic Web and Information Systems (IJSWIS)</a></h2>

<h3>Published on 2008-01-01 </h3><h3>Author: Tim Berners-Lee</h3> </body>

<html><head><link rel="alternate" type="application/rdf+xml"

href=”Paper12345.rdf"></head><body><h1>Linked Data – The Story So Far</h1><h2><a href=“http://ijswis.org”>International Journal on

Semantic Web and Information Systems (IJSWIS)</a></h2>

<h3>Published on 2008-01-01 </h3><h3>Author: Tim Berners-Lee</h3> </body>

Page 23: Herramientas para linked data

URIs deferenciables (fichero XML)

http://publisher.org/Papers/Paper12345

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: application/rdf+xml

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: application/rdf+xml

<rdf:Description rdf:about="http://publisher.org/Papers/Paper12345">

<title>Linked Data - The Story So Far</title>

<year>2008-01-01</year>

<author rdf:resource="http://w3.org/People/Berners-Lee" />

<publishedIn rdf:resource="http://publisher.org/Journal/JournalSWIS" />

</rdf:Description>

<rdf:Description rdf:about="http://publisher.org/Papers/Paper12345">

<title>Linked Data - The Story So Far</title>

<year>2008-01-01</year>

<author rdf:resource="http://w3.org/People/Berners-Lee" />

<publishedIn rdf:resource="http://publisher.org/Journal/JournalSWIS" />

</rdf:Description>

Page 24: Herramientas para linked data

URIs deferenciables (fichero N3)

http://publisher.org/Papers/Paper12345

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: text/n3

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: text/n3

<http://publisher.org/Papers/Paper12345>title "Linked Data - The Story So Far";year "2008-01-01";author <http://w3.org/People/Berners-Lee>;publishedIn <http://publisher.org/Journal/JournalSWIS> .

<http://publisher.org/Papers/Paper12345>title "Linked Data - The Story So Far";year "2008-01-01";author <http://w3.org/People/Berners-Lee>;publishedIn <http://publisher.org/Journal/JournalSWIS> .

Page 25: Herramientas para linked data

URIs deferenciables (fichero HTML con RDFa)

http://publisher.org/Papers/Paper12345

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: text/html

GET /Papers/Paper12345 HTTP/1.1Host: publisher.orgAccept: text/html

<html><head><title>About Paper 12345</title><link rel="rdf:type" href="foaf:Document" /></head><body><div about=”#Paper12345" typeof=”bo:Article”><h1><span property=”dc:title">Linked Data – The Story So

Far</span></h1><h1><span property=”dc:date">March 23,

2004</span></h1><h2><a href=”http://ijswis.org"

rel=”bo:sdfsdf">International Journal on Semantic Web and Information Systems (IJSWIS)</a></h2>

</body>

<html><head><title>About Paper 12345</title><link rel="rdf:type" href="foaf:Document" /></head><body><div about=”#Paper12345" typeof=”bo:Article”><h1><span property=”dc:title">Linked Data – The Story So

Far</span></h1><h1><span property=”dc:date">March 23,

2004</span></h1><h2><a href=”http://ijswis.org"

rel=”bo:sdfsdf">International Journal on Semantic Web and Information Systems (IJSWIS)</a></h2>

</body>

Page 26: Herramientas para linked data

Read Write Linked Data

Page 27: Herramientas para linked data

Endpoint SPARQL

Page 28: Herramientas para linked data

Exposición de datos

Legacy Data

Page 29: Herramientas para linked data

Consumo de datos• ¿Cómo consumir los datos RDF?

– Navegadores para Linked Data– Motores de búsquedas

• Propósito específico• Propósito general

– Librerías para Linked Data

Page 30: Herramientas para linked data

Navegadores para Linked Data

Page 31: Herramientas para linked data

Motores de búsqueda general: Google

Page 32: Herramientas para linked data

Motores de búsqueda específico: VOA3R

Page 33: Herramientas para linked data

Librerías para Linked Data

Page 34: Herramientas para linked data

Plataformas Linked Data

• Existen plataformas que integran varios servicios semánticos:– Anotación automática (legacy data)– Almacén de datos RDF– Control de versiones– Razonamiento– Linked Data Interfaces – Endpoint SPARQL– Semantic Search– Etc.

Page 35: Herramientas para linked data

Plataformas Linked Data