Beruflich Dokumente
Kultur Dokumente
Ontologas
Ontologas
Sergio Ilarri
Sergio Ilarri
Lenguaje de Marcado
Problema de la web actual: Las marcas de HTML incluyen
informacin sobre presentacin (tipo de letra, color, etc.), pero
no informacin semntica.
Sergio Ilarri
La Web no es centralizada.
Sergio Ilarri
Sergio Ilarri
Sergio Ilarri
Sergio Ilarri
Posibles Soluciones
Sergio Ilarri
RDF
RDF (Resource Description Framework)
Tintn
tieneProfesion
Sergio Ilarri
Periodista
RDF
Con RDF, tenemos un grafo acclico dirigido:
Tintn
Periodista
http://miPagDeComics/#tintin
Herg
Sergio Ilarri
RDF
http://siteWithSenses/#tieneProfesion
Tintn
Periodista
http://miPagDeComics/#tintin
Herg
Sergio Ilarri
RDF
http://siteWithSenses/#tieneProfesion
Tintn
Periodista
http://miPagDeComics/#tintin
Herg
Y en sintaxis XML:
<rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#
xmlns:s=http://siteWithSenses/ xmlns:dc=http://purl.org/DC/>
<rdf:Description about=http://miPagDeComics/#tintin>
<s:tieneProfesion>Periodista</s:tieneProfesion>
<dc:Creator resource=Herg />
</rdf:Description>
</rdf:RDF>
Sergio Ilarri
La Semntica de RDF
Jerarquas de clases
Jerarquas de propiedades
Definiciones de rango y dominio
Sergio Ilarri
Sergio Ilarri
Inferencias
Ejemplos:
IF E contiene las tripletas (?u, rdfs:subClassOf, ?v) y
(?v, rdfs:subClassOf, ?w)
THEN E tambin contiene la tripleta (?u, rdfs:subClassOf, ?w)
Se infiere
la pertenencia
al rango!
Sergio Ilarri
RDF es XML
Y podemos consultar XML usando
XPath/XQuery
Hace falta un lenguaje de consulta
especfico para RDF?
Sergio Ilarri
Sergio Ilarri
SPARQL: Ejemplo
PREFIX table: <http://www.daml.org/2003/01/periodictable/PeriodicTable#>
SELECT ?name
FROM <http://www.daml.org/2003/01/periodictable/PeriodicTable.owl>
WHERE { ?element table:name ?name. }
BASE <http://www.daml.org/2003/01/periodictable/>
PREFIX table: <PeriodicTable#>
SELECT ?name
FROM <http://www.daml.org/2003/01/periodictable/PeriodicTable.owl>
WHERE { ?element table:name ?name. }
http://www.xml.com/pub/a/2005/11/16/introducing-sparql-querying-semantic-web-tutorial.html
Sergio Ilarri
Limitaciones de RDF
No clases disjuntas
No restricciones de cardinalidad
transitiva (<)
nica/funcional (hasPrimaryEmployer)
inversa (writes y is_written_by)
No modificadores de propiedades:
male y female
Sergio Ilarri
Resumen de RDF
etc.
Alternativas a RDF
Construidos
sobre RDF y
RDFS
(misma
sintaxis)
OWL
Basado en DAML+OIL
Sergio Ilarri
Requerimientos
Un lenguaje de ontologas debe
proporcionar:
subconjunto de
lgica de predicados
Lgica Descriptiva
Sergio Ilarri
Razonamientos
Para qu:
Detectar inconsistencias
Clasificacin automtica
Descubrir relaciones entre clases
Sergio Ilarri
Razonamientos
Si x es una instancia de A y A es subclase de B,
entonces x pertenece a B.
Si A es equivalente a B y B es equivalente a C, entonces
A es equivalente a C.
Si x es una instancia de A, A es subclase de B
interseccin C interseccin D, y D y B son disjuntas,
entonces tenemos una inconsistencia.
Si los miembros de la clase A son los que
satisfacen estas condiciones y x satisface dichas
condiciones, entonces x debe ser una instancia de A.
Sergio Ilarri
OWL
OWL (Ontology Web Language). Diferencia tres niveles:
razonamientos.
Mundo abierto:
Mundo cerrado:
Sergio Ilarri
Otros Lenguajes
De forma paralela a RDF, RDF Schema y OWL, e
impulsados por otras industrias e investigadores, aparecieron
los lenguages DAM L+OI L bsicamente para lo mismo.
Hoy en da OWL es un estndar. Por ello, los dems
lenguajes que permanecen proporcionan traductores a OWL:
Protg (editor que usa un lenguaje propietario).
OILed (editor que usa OIL).
Sergio Ilarri
AB=CD
TopCategory, DomainCategory
Organism
GALEN se centra en patologas, no en
organismos
Sergio Ilarri
Sergio Ilarri
Referencias
The Semantic Web, T. Berners-Lee, J. Hendler, O. Lassila, Scientific
American Magazine, May 2001.
The Semantic Web Revisited, N. Shadbolt, T. Berners-Lee, W. Hall, IEEE
Intelligent Systems, vol. 21, no. 3, pp. 96-101, May/June 2006.
W3C Semantic Web Activity: http://www.w3.org/2001/sw/
The Semantic Web Vision: Where Are We?, J. Cardoso, IEEE Intelligent
Systems, vol. 22, no. 5, pp. 84-88, September/October, 2007.
Web and Semantic Web Query Languages: A Survey, J. Bailey, F. Bry, T.
Furche, S. Schaffert, Reasoning Web, Lecture Notes in Computer Science
(LNCS), vol. 3564, ISBN 978-3-540-27828-3, doi:10.1007/11526988 3,
Springer, pp. 35-133, 2005.
Sergio Ilarri
Referencias
Resource Description Framework (RDF): Concepts and
Abstract Syntax, W3C Recommendation 10 February 2004:
http://www.w3.org/TR/rdf-concepts/
RDF Vocabulary Description Language 1.0: RDF Schema, W3C
Recommendation 10 February 2004:
http://www.w3.org/TR/rdf-schema/
RDF Semantics, W3C Recommendation 10 February 2004:
http://www.w3.org/TR/rdf-mt/
RDF/XML Syntax Specification (Revised), W3C
Recommendation 10 February 2004:
http://www.w3.org/TR/rdf-syntax-grammar/
Sergio Ilarri
Referencias
RDF Primer, W3C Recommendation 10 February 2004:
http://www.w3.org/TR/rdf-primer/
An Axiomatic Semantics for RDF, RDF-S, and DAML+OIL,
Richard Fikes, Deborah L. McGuinness, March 1, 2001,
http://www.daml.org/2001/03/axiomatic-semantics.html
A Semantic Web Primer, Grigoris Antoniou, Frank van
Harmelen, The MIT Press, Cambridge, Massachusetts,
London, England, http://www.ics.forth.gr/isl/swprimer/ (con
transparencias)
Sergio Ilarri
Referencias
OWL Web Ontology Language Use Cases and Requirements,
http://www.w3.org/TR/webont-req/
OWL Web Ontology Language Overview, W3C
Recommendation 10 February 2004:
http://www.w3.org/TR/owl-features/
OWL Web Ontology Language Guide, W3C Recommendation
10 February 2004: http://www.w3.org/TR/owl-guide/
OWL Web Ontology Language Use Cases and Requirements,
W3C Recommendation 10 February 2004:
http://www.w3.org/TR/webont req/
Sergio Ilarri
Referencias
OWL Web Ontology Language Semantics and Abstract Syntax,
W3C Recommendation 10 February 2004:
http://www.w3.org/TR/owl-semantics/
OWL Web Ontology Language Reference, W3C
Recommendation 10 February 2004:
http://www.w3.org/TR/webont-req/
OWL Web Ontology Language XML Presentation Syntax, W3C
Note 11 June 2003: http://www.w3.org/TR/owl-xmlsyntax/
OWL Web Ontology Language Test Cases, W3C
Recommendation 10 February 2004:
http://www.w3.org/TR/2004/REC-owl-test-20040210/
Sergio Ilarri
Fin
Ontologas