La Web Semántica

23
©Asunción Gómez-Pérez - 1 La Web Semántica Asunción Gómez-Pérez {asun}@fi.upm.es http://www.oeg-upm.net Omtological Engineering Group Laboratorio de Inteligencia Artificial Facultad de Informática Universidad Politécnica de Madrid Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid, Spain

description

La Web Semántica. Asunción Gómez-Pérez {asun}@fi.upm.es http://www.oeg-upm.net Omtological Engineering Group Laboratorio de Inteligencia Artificial Facultad de Informática Universidad Politécnica de Madrid Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid, Spain. Indice. - PowerPoint PPT Presentation

Transcript of La Web Semántica

Page 1: La Web Semántica

©Asunción Gómez-Pérez - 1

La Web Semántica

Asunción Gómez-Pérez{asun}@fi.upm.es

http://www.oeg-upm.net

Omtological Engineering GroupLaboratorio de Inteligencia Artificial

Facultad de InformáticaUniversidad Politécnica de Madrid

Campus de Montegancedo sn,28660 Boadilla del Monte, Madrid, Spain

Page 2: La Web Semántica

©Asunción Gómez-Pérez - 2

Indice

1. Web Semántica

2. Ontologias

3. Aplicaciones

Page 3: La Web Semántica

©Asunción Gómez-Pérez - 3

URI, HTML, HTTPStaticaWWW

Millions of usersBillions of pages

El problema: Exceso de información

Dinámica

Page 4: La Web Semántica

©Asunción Gómez-Pérez - 4

La web actual está basada en html

ر التطو فىعلم <b><BR/>االسم:<b> الهندسةغومزـبرز <b><BR/>المؤل�فون:<b> آسنسيون

$74.95 <b>:عر�<b><BR/>الس<b><BR/>الكتاب:<b> المنتج

ر التطو فىعلم االسم: الهندسةغومزـبرز اّلمؤّل�فون: آسنسيون

عر: $74.95 اّلّس�اّلمنتج: الكتاب

Ára

be

<b>Title:</b> Ontological Engineering <BR><b>Authors:</b> Asunción Gómez-Pérez... <BR><b>Price:</b> $74.95<BR><b>Product:</b> Book<BR>

Title: Ontological EngineeringAuthors: Asunción Gómez-Pérez...Price: $74.95Product: Book

Ingl

és

<b>Skjøte:</b> Ontological Ingeniørarbeid<BR><b>Forfatter:</b> Overtakelse Gómez-Pérez... <BR><b>Pris:</b> 74.95€<BR><b>Produkt:</b> Bok<BR>

Skjøte: Ontological Ingeniørarbeid Forfatter: Overtakelse Gómez-Pérez...Pris: 74.95€Produkt: Bok

Nor

ueg

o

La persona entiende el contenido de la página si conoce el idioma en el que está escrito

Jap

onés

Page 5: La Web Semántica

©Asunción Gómez-Pérez - 5

XML permite crear etiquetas con “significado”

¿Qué significado tienen las etiquetas para la máquina?

<Title>Ontological Engineering</Title><Author>Asunción Gómez-Pérez...</Author><Price>$74.95</Price><Product>Book</Product>

Title: Ontological EngineeringAuthors: Asunción Gómez-Pérez...Price: $74.95Product: Book

Ingl

és

< ر <االسم التطو فىعلم <االسم>/الهندسةغومزـبرز <المؤل�فون> المؤل�فون>/آسنسيون >

< <الس�عر>/74.95$<الس�عرالكتاب>/المنتج <الكتاب> >

ر التطو فىعلم االسم: الهندسةغومزـبرز اّلمؤّل�فون: آسنسيون

عر: $74.95 اّلّس�اّلمنتج: الكتاب

Ára

be

Page 6: La Web Semántica

©Asunción Gómez-Pérez - 6

“Information Overload”

.- Encontrar la información

.- Extraer la información relevante

.- Interpretarla

.- Síntesis

Page 7: La Web Semántica

©Asunción Gómez-Pérez - 7

Viaje Madrid-Tokyo

.- Contenidos en diferentes idiomas

.- Encontrar información heterogénea relevante

.- Extraer

.- Interpretar

.- Agregar

.- Consistencia de la información

Page 8: La Web Semántica

©Asunción Gómez-Pérez - 8

What was the Web intended to be?

“... a goal of the Web was that, if the interaction between person and hypertext could be so intuitive that the machine-readable information space gave an accurate representation of the state of people's thoughts, interactions, and work patterns, then machine analysis could become a very powerful management tool, seeing patterns in our work and facilitating our working together through the typical problems which beset the management of large organizations.”

[Berners-Lee 1996]

Page 9: La Web Semántica

©Asunción Gómez-Pérez - 9

Definición de Web Semántica

“La Web Semántica es una extensión de la actual Web en la que a la

información disponible se le otorga (anota o marca con) una semántica bien

definida.

Está basada en la idea de proporcionar en la Web datos definidos y enlazados,

permitiendo que aplicaciones heterogéneas descubran, integren, razonen,

utilicen la información presente en la web.”

Hendler, J., Berners-Lee, T., and Miller, E.

Integrating Applications on the Semantic Web, 2002,

http://www.w3.org/2002/07/swint.html

Page 10: La Web Semántica

©Asunción Gómez-Pérez - 10

IBXX es un vuelo. El lugar de salida es Madrid y el lugar de llegada es Tokyo. Madrid es una ciudad europea. Tokyo es una ciudad en asia

Herzt es una compañía de alquiler de coches de lujos. Hertz tiene oficinas en Tokyo

El new national theater es un teatro situado en Tokyo.Tiene funciones todos los sábados

Delegación de las tareas a los ordenadores

ConocimientosInformaciónMetadatosInferencias

Xxx es un hotel situado en Tokyo

Page 11: La Web Semántica

©Asunción Gómez-Pérez - 11

Definition of Ontology

“Una ontología es una especificación formal y explícita de una conceptualización compartida”

Modelo abstracto y

vista simplificada de un

fenómeno del mundo que

se quiere representar

Interpretable por la computadora

Conceptos, propiedades

Relaciones, axiomas, …

Conocimientosconsensuados

Frames and FoL

Subclass of

Ser vivo

VertebradoInvertebrado

Subclass of

Plantas

Subclass of

Subclass of Subclass of

Tiempo diseño

Perro Gato

Ontologías

Page 12: La Web Semántica

©Asunción Gómez-Pérez - 12

Estática URI, HTML, HTTPWWW

Lenguajes de la Web Semántica

RDF, RDFS, OWLWeb Semántica

Riqueza semántica

Dinámica

RDF(S) y OWL son los lenguajes de la Web Semántica recomendados por el W3C

Evolucionando a OWL 1.1

Page 13: La Web Semántica

©Asunción Gómez-Pérez - 13

Travel

rdfs:Literal rdfs:Class

Company-name singleFare

units:currencyQuantity

rdfs:range

rdfs:range

rdfs:domain

rdfs:domain

rdf:Type

departureDate

rdfs:domain

xsd:Date

rdfs:range

arrivalDate

rdfs:range

rdfs:domain

rdf:Propertyrdf:Typerdf:Type

rdf:Type

rdf:Type

RDF

RDFS

Ontologíardfs:Class rdf:ID="Travel">

<rdfs:comment>A journey from place to place</rdfs:comment>

</rdfs:Class> 

<rdf:Property rdf:ID="arrivalDate"> <rdfs:domain rdf:resource="#Travel"/> <rdfs:range rdf:resource="&xsd;date"/>

</rdf:Property><rdf:Property rdf:ID="departureDate"> <rdfs:domain rdf:resource="#Travel"/> <rdfs:range rdf:resource="&xsd;date"/>

</rdf:Property>

Page 14: La Web Semántica

©Asunción Gómez-Pérez - 14

IB-4321

Iberia

Company-name

singleFare

500 euros

departureDate

10/11/2005

arrivalDate

Metadatos

<Travel rdf:ID=“IB-4321"> <Company-name>Iberia</Company-name> <singleFare>500 Euros</singleFare> <departureDate rdf:datatype="&xsd;date"> 2005-11-10 </departureDate> <arrivalDate rdf:datatype="&xsd;date"> 2005-11-10 </arrivalDate> <arrivalPlace rdf:resource="#Paris"/></Travel>

Page 15: La Web Semántica

©Asunción Gómez-Pérez - 15

Travel

rdfs:Literal rdfs:Class

Company-name singleFare

units:currencyQuantity

rdfs:range

rdfs:range

rdfs:domain

rdfs:domain

rdf:Type

departureDate

rdfs:domain

time:Date

rdfs:range

arrivalDate

rdfs:range

rdfs:domain

rdf:Propertyrdf:Type

rdf:Type rdf:Typerdf:Type

RDF

RDFS

IB-4321“Iberia”

500 euros

10/11/2005

singleFare departureDate

arrivalDate

Company-name

rdf:Type

rdf:Type

rdf:Type

rdf:Type

Page 16: La Web Semántica

©Asunción Gómez-Pérez - 16

<rdfs:Class rdf:ID="Travel"> <rdfs:comment>A journey from place to place</rdfs:comment></rdfs:Class> <rdf:Property rdf:ID="arrivalDate"> <rdfs:domain rdf:resource="#Travel"/> <rdfs:range rdf:resource="&xsd;date"/></rdf:Property>

<rdf:Property rdf:ID="departureDate"> <rdfs:domain rdf:resource="#Travel"/> <rdfs:range rdf:resource="&xsd;date"/></rdf:Property>...

<Travel rdf:ID=“IB-4321"> <Company-name>Iberia</Company-name> <singleFare>500 Euros</singleFare> <departureDate rdf:datatype="&xsd;date"> 2005-11-10 </departureDate> <arrivalDate rdf:datatype="&xsd;date"> 2005-11-10 </arrivalDate> <arrivalPlace rdf:resource="#Paris"/></Travel>...

Travel.rdfs

Iberia_Travels.rdf

Page 17: La Web Semántica

©Asunción Gómez-Pérez - 17

Independientes del lenguaje•Protégé-Frames•WebODE•OntoEdit•KAON1•IODT (IBM)

Dependientes del lenguaje•Protégé-OWL y Protégé 4•SWOOP•Ontolingua•OntoSaurus•WebOnto•OilEd

Page 18: La Web Semántica

©Asunción Gómez-Pérez - 18

<rdf:Description rdf:about='Asunción Gómez-Pérez'> <rdf:type rdf:resource=‘Associate Prof'/> <NS0:Full_Name>A. GomezPerez</NS0:Full_Name><NS0:Belongs_To>UPM</NS0: Belongs_To > <NS0:e-mail>[email protected]</NS0:e-mail>

Person Organization

Has_contact_Person

Belongs_To

Associate Prof. Partner

Subclass of

URL

Web Page

xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'

xmlns:NS0='http://www.esperonto.net/semanticportal/RDFS/Person_Ontology#'

xmlns:NS1='http://www.esperonto.net/semanticportal/RDFS/Organization_Ontology#'

<rdf:Description rdf:about='UPM'> <rdf:type rdf:resource='Partner'/> <NS1:Acronym>UPM</NS1:Acronym><NS1:Has_Contact_Person>Asunción Gómez-Pérez </NS1:Has_Contact_Person >

Instance of Instance of

Subclass of

Annotation(RDF)

http://www.esperonto.net http://www.esperonto.net

Ontologies and MetadataOntologies

Page 19: La Web Semántica

©Asunción Gómez-Pérez - 19

Creating metadata for processing satelite information

Page 20: La Web Semántica

©Asunción Gómez-Pérez - 20

Metadata for Fraud detection in cars

Page 21: La Web Semántica

©Asunción Gómez-Pérez - 21

Estática URI, HTML, HTTPWWW

Los Servicios Web

Web paralela para el intercambio de información entre máquinas

RDF, RDFS, OWLWeb Semántica

UDDI, WSDL, SOAP

Servicios WebDinámica

Riqueza semántica

Interfaces de acceso a programas descritas de forma declarativa

a los que se accede a través de la Web

Registrar servicios

Interfaz de acceso al servicio

Protocolo de comunicación

Describir flujos de control

Problemas Terminológicos

Page 22: La Web Semántica

©Asunción Gómez-Pérez - 22

La Web Semántica y los Servicios Web Semánticos

EstáticaURI, HTML, HTTP

WWW

Dinámica

Riqueza semántica

UDDI, WSDL, SOAP

Servicios Web

RDF(S), OWL

Web Semántica

Servicios Web Semánticos

DAML-S, OWL-SWSMO

Se describen utilizando el vocabulario de una ontología

y se expresan en algún lenguaje de marcado semántico

Page 23: La Web Semántica

©Asunción Gómez-Pérez - 24

Mundo Real Usuarios Empresas

Agente Agente Agente AgenteAgentes

InteligentesAgentes

Inteligentes

Servicios Web Semánticos Metadatos:Anotación

Escenario en la Web Semántica

Sistema P2P

RDF(S) DAML+OIL OWL

Repositorios /herramientas

Inter

oper

abili

dad

EmailsDocumentos

Páginas Web Estáticas

Base de datosOnline (Esquema

Desconocido)Aplicaciones Servicios Web

Sitios Web restringidos por passwordPáginas Web Dinámicas

WebActual