Rdf Y Owl
-
Upload
pablo-jaramillo -
Category
Documents
-
view
1.039 -
download
0
description
Transcript of Rdf Y Owl
![Page 1: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/1.jpg)
Sistemas Basados en el Conocimiento
Pablo Daniel Jaramillo Fierro
![Page 2: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/2.jpg)
RDF Se basa en la idea de convertir las declaraciones
de los recursos en expresiones con la forma sujeto-predicado-objeto (conocidas en términos RDF como tripletes). El sujeto es el recurso, es decir aquello que se está describiendo. El predicado es la propiedad o relación que se desea establecer acerca del recurso. Por último, el objeto es el valor de la propiedad o el otro recurso con el que se establece la relación. La combinación de RDF con otras herramientas como RDF Schema y OWL permite añadir significado a las páginas, y es una de las tecnologías esenciales de la Web semántica.
![Page 3: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/3.jpg)
![Page 4: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/4.jpg)
EjemploRDF class 'MotorVehicle'. <rdf:Description ID="MotorVehicle"><rdf:type resource="http://www.w3.org/2000/01/rdf-schema#Class"/><rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-
schema#Resource"/></rdf:Description> <rdf:Description ID="PassengerVehicle"><rdf:type
resource="http://www.w3.org/2000/01/rdf-schema#Class"/> <rdfs:subClassOf
rdf:resource="#MotorVehicle"/></rdf:Description><rdf:Description ID="Truck">
<rdf:type resource="http://www.w3.org/2000/01/rdf-schema#Class"/> <rdfs:subClassOfrdf:resource="#MotorVehicle"/></rdf:Description> <rdf:Description ID="Van"> <rdf:type resource="http://www.w3.org/2000/01/rdf-schema#Class"/><rdfs:subClassOf rdf:resource="#MotorVehicle"/></rdf:Description><rdf:Description ID="MiniVan">
![Page 5: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/5.jpg)
OWL OWL es el acrónimo del inglés Ontology Web
Language, un lenguaje de marcado para publicar y compartir datos usando ontologías en la WWW. OWL tiene como objetivo facilitar un modelo de marcado construido sobre RDF y codificado en XML.
Tiene como antecedente DAML+OIL, en los cuales se inspiraron los creadores de OWL para crear el lenguaje. Junto al entorno RDF y otros componentes, estas herramientas hacen posible el proyecto de web semántica.
![Page 6: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/6.jpg)
![Page 7: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/7.jpg)
Ejemplo<!DOCTYPE Ontology [ <!ENTITY owl "http://www.w3.org/2002/07/owl#" > <!ENTITY dc "http://purl.org/dc/elements/1.1/" > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > <!ENTITY pizza "http://www.pizza.com/ontologies/pizza.owl#" >]>
![Page 8: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/8.jpg)
<Ontology xmlns="http://www.w3.org/2006/12/owl2-xml#" xml:base="http://www.w3.org/2006/12/owl2-xml#" xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#" xmlns:pizza="http://www.pizza.com/ontologies/pizza.owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#" URI="http://www.pizza.com/ontologies/pizza.owl"> <Annotation annotationURI="&dc;title"> <Constant >Ejemplo de una ontología para la calse pizza
![Page 9: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/9.jpg)
</Constant> </Annotation> <SubClassOf> <Class URI="&pizza;AnchovyTopping"/> <Class URI="&pizza;SeafoodTopping"/> </SubClassOf> <DisjointClasses> <Class URI="&pizza;AnchovyTopping"/> <Class URI="&pizza;PrawnTopping"/> <Class URI="&pizza;TunaTopping"/> </DisjointClasses> <SubClassOf> <Class URI="&pizza;CaperTopping"/> <Class URI="&pizza;VegetableTopping"/> </SubClassOf> <DisjointClasses> <Class URI="&pizza;CaperTopping"/> <Class URI="&pizza;MushroomTopping"/> <Class URI="&pizza;OliveTopping"/> <Class URI="&pizza;OnionTopping"/> <Class URI="&pizza;PepperTopping"/> <Class URI="&pizza;TomatoTopping"/> </DisjointClasses>
![Page 10: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/10.jpg)
<SubClassOf> <Class URI="&pizza;CheeseTopping"/> <Class URI="&pizza;PizzaTopping"/> </SubClassOf> <DisjointClasses> <Class URI="&pizza;CheeseTopping"/> <Class URI="&pizza;MeatTopping"/> <Class URI="&pizza;SeafoodTopping"/> <Class URI="&pizza;VegetableTopping"/> </DisjointClasses> <SubClassOf> <Class URI="&pizza;DeepPanBase"/> <Class URI="&pizza;PizzaBase"/> </SubClassOf> <DisjointClasses> <Class URI="&pizza;DeepPanBase"/> <Class URI="&pizza;ThinAndCrispyBase"/> </DisjointClasses> <SubClassOf> <Class URI="&pizza;GreenPepperTopping"/> <Class URI="&pizza;PepperTopping"/> </SubClassOf>…………………………………
![Page 11: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/11.jpg)
……………………………………… </ObjectSomeValuesFrom> </ObjectPropertyRange> <SubObjectPropertyOf> <ObjectProperty URI="&pizza;isIngredientOf"/> <ObjectProperty URI="&pizza;isIngredientOf"/> </SubObjectPropertyOf> <InverseObjectProperties> <ObjectProperty URI="&pizza;isIngredientOf"/> <ObjectProperty URI="&pizza;hasIngredient"/> </InverseObjectProperties> <TransitiveObjectProperty> <ObjectProperty URI="&pizza;isIngredientOf"/> </TransitiveObjectProperty> <SubObjectPropertyOf> <ObjectProperty URI="&pizza;isToppingOf"/> <ObjectProperty URI="&pizza;isIngredientOf"/> </SubObjectPropertyOf></Ontology>
![Page 12: Rdf Y Owl](https://reader036.fdocumento.com/reader036/viewer/2022082501/5466497daf79594a1f8b4fc1/html5/thumbnails/12.jpg)
Fuentes Wikipedia. Ontological Engineering.