1. 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
2. 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.
3. Contenidos
• Diseño de ontologías
• Generación de datos
• Gestión de datos
• Exposición de datos
• Consumo de datos
• Plataformas Linked Data
4. 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
13. Herramientas de anotación automática
20082008
JournalSemanticWebJournalSemanticWeb
W3CW3C
The Story So
Far
The Story So
Far
Berners-LeeBerners-LeeLinkedDataLinkedData
18. 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
21. Exposición de datos
• Linked Data Interface
– URIs deferenciables
– Read Write Linked Data
• Linked Data Endpoint
– SPARQL
– SPARQL/Update
22. URIs deferenciables (fichero HTML)
http://publisher.org/Papers/Paper12345
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: text/html
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: 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>
23. URIs deferenciables (fichero XML)
http://publisher.org/Papers/Paper12345
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: application/rdf+xml
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: 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>
24. URIs deferenciables (fichero N3)
http://publisher.org/Papers/Paper12345
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: text/n3
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: 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> .
25. URIs deferenciables (fichero HTML con RDFa)
http://publisher.org/Papers/Paper12345
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: text/html
GET /Papers/Paper12345 HTTP/1.1
Host: publisher.org
Accept: 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>
29. 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
34. 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.