Download - Agente Farmaceutico Tripletas
ANDREA ESPINOSA, MAYRA CRIOLLO, MERCY JIMENEZBlog: http://agentefarma.wordpress.com/
INTELIGENCIA ARTIFICIAL
UNIVERSIDAD TÉCNICA PARTICULAR DE LOJA
La Universidad Católica de Loja
ONTOLOGIA
RDF (Resource Description Framework) RDF identifica los recursos en la Web usando los Uniform
Resource Identifiers o URIs, y describiendo los recursos en términos de propiedades simples y valores.
RDF es un conjunto de proposiciones simples (también llamadas sentencias o declaraciones) y una proposición se conoce también como una tripleta, porque está compuesta de 3 cosas: un sujeto, un predicado y un objeto. Estas sentencias se pueden representar formalmente usando la tripleta (sujeto, predicado, objeto), pero existe otra forma de notación que es mostrar una sentencia mediante grafos dirigidos.
En RDF es posible representar declaraciones simples sobre los recursos como un grafo (graph) de nodos y arcos que representan los recursos, y sus propiedades y valores.
Elementos de una tripleta
DESCRIPCIÓN DE TRIPLETAS Para la validación de las tripletas tanto RDF como
OWL se tome como referencia de la siguiente dirección: http://www.w3.org/RDF/Validator
Código RDF
<rdf:RDF xmlns="file:/C:/Users/WinUser/Desktop/TRIPLETAS/AGENTE%20FARMACEUTICO%20-%20BUSQUEDAD1.owl#"
xml:base="file:/C:/Users/WinUser/Desktop/TRIPLETAS/AGENTE%20FARMACEUTICO%20-%20BUSQUEDAD1.owl"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:default="http://localhost/default#" xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-
ns#"> <owl:Ontology rdf:about=""/>
Elementos RDF
Código RDF
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:ObjectProperty
rdf:about="http://localhost/default#IsResponsibleFor"> <rdf:type rdf:resource="&owl;FunctionalProperty"/> <rdf:type rdf:resource="&owl;ReflexiveProperty"/> <rdf:type rdf:resource="&owl;TransitiveProperty"/> <rdfs:range rdf:resource="&default;INTELIGENCIA
%20ARTIFICIAL"/> <rdfs:domain rdf:resource="&default;build%20systems%20to
%20exhibit%20increasingly%20intelligent%20behavior"/> </owl:ObjectProperty></rdf:RDF>
Elementos RDF
Código RDF
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-
ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:ObjectProperty
rdf:about="http://localhost/default#Patent"> <owl:ObjectProperty rdf:about="&default;Patent"> <rdf:type rdf:resource="&owl;FunctionalProperty"/> <rdf:type rdf:resource="&owl;ReflexiveProperty"/> </owl:ObjectProperty></rdf:RDF>
Elementos RDF
Código RDF
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:ObjectProperty
rdf:about="http://localhost/default#hasTypeOf"> <owl:ObjectProperty rdf:about="&default;hasTypeOf"> <rdf:type rdf:resource="&owl;FunctionalProperty"/> <rdf:type rdf:resource="&owl;ReflexiveProperty"/> <rdf:type rdf:resource="&owl;TransitiveProperty"/> <rdfs:range rdf:resource="&default;Obstaculos_fijos"/> <rdfs:domain rdf:resource="&default;RESTRICCIONES"/> </owl:ObjectProperty></rdf:RDF>
Elementos RDF
Código RDF
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:ObjectProperty rdf:about="http://localhost/default#have"> <owl:ObjectProperty rdf:about="&default;have"> <rdf:type rdf:resource="&owl;FunctionalProperty"/> <rdf:type rdf:resource="&owl;InverseFunctionalProperty"/> <rdf:type rdf:resource="&owl;ReflexiveProperty"/> <rdfs:domain rdf:resource="&default;AGENTE
%20FARMACEUTICO"/> <rdfs:range rdf:resource="&default;RESTRICCIONES"/> </owl:ObjectProperty></rdf:RDF>
Elementos RDF
Código RDF
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:ObjectProperty
rdf:about="http://localhost/default#typecan%20be"> <owl:ObjectProperty rdf:about="&default;typecan%20be"> <rdf:type rdf:resource="&owl;FunctionalProperty"/> <rdf:type rdf:resource="&owl;ReflexiveProperty"/> <rdf:type rdf:resource="&owl;SymmetricProperty"/> </owl:ObjectProperty></rdf:RDF>
Elementos RDF
Código RDF
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:ObjectProperty rdf:about="http://localhost/default#ALGORTIMO"> <owl:Class rdf:about="&default;ALGORTIMO"> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="&default;type"/> <owl:someValuesFrom rdf:resource="&default;Aprendizaje"/> </owl:Restriction> </rdfs:subClassOf> </owl:Class> </rdf:RDF>
Elementos RDF
Código RDF
// Individuals<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:owl="http://localhost/default#Actuadores"> <rotor rdf:about="&default;Actuadores"> <rdf:type rdf:resource="&default;altavoces"/> <rdf:type
rdf:resource="&default;brazo_mano_articulado"/> <rdf:type rdf:resource="&default;locomocion"/> <rdf:type rdf:resource="&default;microfono"/> <rdf:type rdf:resource="&default;motor"/> </rotor></rdf:RDF>
ELEMENTOS RDF
Subject Predicate Object
http://localhost/default#Actuadores rdf: type http://localhost/default#Actuadores
http://localhost/default#RUTAS rdf: type http://www.w3.org/2002/07/owl#Class
http://localhost/default#Obstaculos_moviles http://www.w3.org/2002/07/owl#Class
http://localhost/default#Sensores rdf: type http://www.w3.org/2002/07/owl#Class
http://localhost/default#personas rdf: subClassOf
http://localhost/default#Actuadores