55
Tripletas RDF Adriana B. Macas E. Email: [email protected] Telf: 084855576 Sistemas Basados en el Conocimiento UNIVERSIDAD TÉCNICA PARTICULAR DE LOJA La Universidad Católica de Loja

Tripleta Si

Embed Size (px)

DESCRIPTION

RDF de ontologia de Sistemas Informaticos

Citation preview

Page 1: Tripleta Si

Tripletas

RDF

Adriana B. Macas E.Email: [email protected]

Telf: 084855576

Sistemas Basados en el Conocimiento

UNIVERSIDAD TÉCNICA PARTICULAR DE LOJALa Universidad Católica

de Loja

Page 2: Tripleta Si

RDF (Resource Description Framework)

RDF está basado en la idea de identificar los recursos en la Web usando los Uniform Resource Identifiers o URIs, y describiendo los recursos en términos de propiedades simples y valores. Una descripción 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. Así, 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.

Page 3: Tripleta Si

Los 3 elementos de una tripleta se representan mediante URIs.

Donde: Subject y Object son llamados nodos Predicate y Property son sinónimos Nodos sin nombre son nodos en blanco Subject puede ser una referencia URI o nodos en blanco Predicate puede ser una referencia URI Object puede ser una referencia URI, literal o un nodo en

blanco.

RDFElementos de una tripleta

Page 4: Tripleta Si

RDFOntología: Sistemas Informáticos

Page 5: Tripleta Si

DESCRIPCIÓN DE TRIPLETAS

Para poder realizar 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

Page 6: Tripleta Si

CLASES

Page 7: Tripleta Si

<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#" xmlns:default="http://localhost/default#"><owl:Class rdf:about="http://localhost/default#Computers"> <rdfs:subClassOf rdf:resource="#Sistemas_Informaticos" /> </owl:Class></rdf:RDF>

Tripletas RDFClass: Computers

Código RDF

Page 9: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 10: Tripleta Si

<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#" xmlns:default="http://localhost/default#"><owl:Class rdf:about="http://localhost/default#Hardware"> <rdfs:subClassOf rdf:resource="http://localhost/default#Computers" /> <rdfs:subClassOf><owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Version" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf>

Tripletas RDF

Class: Hardware

Código RDF

Page 11: Tripleta Si

<rdfs:subClassOf><owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Producer" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf><rdfs:subClassOf><owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Year" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf> </owl:Class></rdf:RDF>

Tripletas RDF

Class: Hardware (Cont….)

Page 12: Tripleta Si

Tripletas RDF

Elementos RDF

Number Subject Predicate Object

1 http://localhost/default#Hardware

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Class

2 http://localhost/default#Hardware

http://www.w3.org/2000/01/rdf-schema#subClassOf

http://localhost/default#Computers

3 genid:A34678 http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Restriction4 http://localhost/default

#Hardwarehttp://www.w3.org/2000/01/rdf-schema#subClassOf

genid:A34678

5 genid:A34678 http://www.w3.org/2002/07/owl#onProperty

http://localhost/default#Version

6 genid:A34678 http://www.w3.org/2002/07/owl#cardinality

"1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger

7 genid:A34679 http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Restriction

Page 13: Tripleta Si

8 http://localhost/default#Hardware

http://www.w3.org/2000/01/rdf-schema#subClassOf

genid:A34679

9 genid:A34679 http://www.w3.org/2002/07/owl#onProperty

http://localhost/default#Producer

10 genid:A34679 http://www.w3.org/2002/07/owl#cardinality

"1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger

11 genid:A34680 http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Restriction

12 http://localhost/default#Hardware

http://www.w3.org/2000/01/rdf-schema#subClassOf

genid:A34680

13 genid:A34680 http://www.w3.org/2002/07/owl#onProperty

http://localhost/default#Year

14 genid:A34680 http://www.w3.org/2002/07/owl#cardinality

"1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger

Page 14: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 15: Tripleta Si

<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#" xmlns:default="http://localhost/default#"><owl:Class rdf:about="http://localhost/default#Software"> <rdfs:subClassOf rdf:resource="http://localhost/default#Computers" /> <rdfs:subClassOf><owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Distribution" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf><rdfs:subClassOf>

Tripletas RDFClass: Software

Código RDF

Page 16: Tripleta Si

<owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Version" /> <owl:cardinalityrdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf><rdfs:subClassOf><owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Year" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf> </owl:Class></rdf:RDF>

Tripletas RDFClass: Software (Cont….)

Page 17: Tripleta Si

Tripletas RDFElementos RDF

Number Subject Predicate Object

1 http://localhost/default#Software

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Class

2 http://localhost/default#Software

http://www.w3.org/2000/01/rdf-schema#subClassOf

http://localhost/default#Computers

3 genid:A34681 http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Restriction

4 http://localhost/default#Software

http://www.w3.org/2000/01/rdf-schema#subClassOf

genid:A34681

5 genid:A34681 http://www.w3.org/2002/07/owl#onProperty

http://localhost/default#Distribution

6 genid:A34681 http://www.w3.org/2002/07/owl#cardinality

"1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger

7 genid:A34682 http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Restriction

Page 18: Tripleta Si

Tripletas RDF

8 http://localhost/default#Software

http://www.w3.org/2000/01/rdf-schema#subClassOf

genid:A34682

9 genid:A34682 http://www.w3.org/2002/07/owl#onProperty

http://localhost/default#Version

10 genid:A34682 http://www.w3.org/2002/07/owl#cardinality

"1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger

11 genid:A34683 http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#Restriction

12 http://localhost/default#Software

http://www.w3.org/2000/01/rdf-schema#subClassOf

genid:A34683

13 genid:A34683 http://www.w3.org/2002/07/owl#onProperty

http://localhost/default#Year

14 genid:A34683 http://www.w3.org/2002/07/owl#cardinality

"1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger

Page 19: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 20: Tripleta Si

Tripletas RDFClass: LaptopsCó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:Class rdf:about="http://localhost/default#Laptops"> <rdfs:subClassOf rdf:resource="http://localhost/default#Computers" /> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#ProductNumber" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf> <rdfs:subClassOf>

Page 21: Tripleta Si

Tripletas RDFClass: Laptops

Código RDF <owl: Restriction> <owl:onProperty rdf:resource="http://localhost/default#Series" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Model" /> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf> </owl:Class></rdf:RDF>

Page 22: Tripleta Si

Subject Predicate Object

http://localhost/default#Laptops rdf: type http://www.w3.org/2002/07/owl#Class

http://localhost/default#Laptops rdf: subClassOf http://localhost/default#Computers

genid:A9927 rdf: type http://www.w3.org/2002/07/owlRestriction

http://localhost/default#Laptops rdf: subClassOf genid:A9927

genid:A9927 owl: onProperty http://localhost/default#ProductNumber

genid:A9927 owl: cardinality 1

genid:A9928 rdf: type http://www.w3.org/2002/07/owl#Restriction

Tripletas RDF

Elementos RDF

Page 23: Tripleta Si

Subject Predicate Object

http://localhost/default#Laptops rdf: subClassOf genid:A9928

genid:A9928 owl: onProperty http://localhost/default#Series

genid:A9928 owl: cardinality 1

genid:A9929 rdf: type http://www.w3.org/2002/07/owl#Restriction

http://localhost/default#Laptops rdf: subClassOf genid:A9929

genid:A9929 owl: onProperty http://localhost/default#Model

genid:A9929 owl: cardinality 1

Tripletas RDF

Elementos RDF

Page 24: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 25: Tripleta Si

Tripletas RDF

Class: Servers

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:Class rdf:about="http://localhost/default#Servers"> <rdfs:subClassOf rdf:resource="http://localhost/default#Computers"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Series"/> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction>

Page 26: Tripleta Si

Tripletas RDF

Class: Servers

Código RDF

</owl:Restriction> </rdfs:subClassOf> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="http://localhost/default#Patent"/> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality> </owl:Restriction> </rdfs:subClassOf> </owl:Class>

</rdf:RDF>

Page 27: Tripleta Si

Subject Predicate Object

http://localhost/default#Servers rdf: type http://www.w3.org/2002/07/owl#Class

http://localhost/default#Servers rdf: subClassOf http://localhost/default#Computers

genid:A10015 rdf: type http://www.w3.org/2002/07/owl#Restriction

http://localhost/default#Servers rdf: subClassOf genid:A10015

genid:A10015 owl: onProperty genid:A10015

genid:A10015 owl: cardinality 1

genid:A10016 rdf: type http://www.w3.org/2002/07/owl#Restriction

http://localhost/default#Servers rdf: subClassOf genid:A10016

genid:A10016 owl: onProperty http://localhost/default#Patent

genid:A10016 owl: cardinality 1

Tripletas RDFElementos RDF

Page 28: Tripleta Si

Diego Herrera 28

Gráfico del modelo de datos

Tripletas RDF

07/2009

Page 29: Tripleta Si

Diego Herrera 29

OBJECT PROPERTIES

07/2009

Page 30: Tripleta Si

Tripletas RDF

Object Properties: IsA

Código RDF

<rdf:RDF xmlns="file:/C:/Documents%20and%20Settings/Administrador/Mis%20documentos/UTPL/SISTEMAS%20INFORMATICOS%20Y%20COMPUTACION/X%20CICLO/Sistemas%20Basados%20en%20el%20Conocimiento/Proyecto%20Final/INFORMATICA_v3.owl#” xml:base="file:/C:/Documents%20and%20Settings/Administrador/Mis%20documentos/UTPL/SISTEMAS%20INFORMATICOS%20Y%20COMPUTACION/X%20CICLO/Sistemas%20Basados%20en%20el%20Conocimiento/Proyecto%20Final/INFORMATICA_v3.owl“ xmlns:INFORMATICA_v3="file:/C:/Documents%20and%20Settings/Administrador/Mis%20documentos/UTPL/SISTEMAS%20INFORMATICOS%20Y%20COMPUTACION/X%20CICLO/Sistemas%20Basados%20en%20el%20Conocimiento/Proyecto%20Final/INFORMATICA_v3.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:ObjectProperty rdf:about="http://localhost/default#IsA"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#SymmetricProperty" /> <rdfs:domain rdf:resource="http://localhost/default#Hardware" /> <owl:inverseOf rdf:resource="http://localhost/default#IsA" /> <rdfs:range rdf:resource="http://localhost/default#tangible%20component" /> </owl:ObjectProperty></rdf:RDF>

Page 31: Tripleta Si

Tripletas RDFElementos RDF

Numbe

rSubject Predicate Object

1 http://localhost/default#IsA http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#ObjectProperty

2 http://localhost/default#IsA http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#SymmetricProperty

3 http://localhost/default#IsA http://www.w3.org/2000/01/rdf-schema#domain

http://localhost/default#Hardware

4 http://localhost/default#IsA http://www.w3.org/2002/07/owl#inverseOf

http://localhost/default#IsA

5 http://localhost/default#IsA http://www.w3.org/2000/01/rdf-schema#range

http://localhost/default#tangible%20component

Page 32: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 33: Tripleta Si

Tripletas RDF

Object Properties: IsPartOf

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#" xmlns:default="http://localhost/default#"><owl:ObjectProperty rdf:about="http://localhost/default#IsPartOf"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty" /> <rdfs:range rdf:resource="http://localhost/default#Computers" /> <rdfs:domain rdf:resource="http://localhost/default#Hardware" /> <rdfs:domain rdf:resource="http://localhost/default#Software" /> <owl:inverseOf rdf:resource="http://localhost/default#has" /> </owl:ObjectProperty></rdf:RDF>

Page 34: Tripleta Si

Tripletas RDF

Elementos RDF

Number

Subject Predicate Object

1 http://localhost/default#IsPartOf

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#ObjectProperty

2 http://localhost/default#IsPartOf

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#TransitiveProperty

3 http://localhost/default#IsPartOf

http://www.w3.org/2000/01/rdf-schema#range

http://localhost/default#Computers

4 http://localhost/default#IsPartOf

http://www.w3.org/2000/01/rdf-schema#domain

http://localhost/default#Hardware

5 http://localhost/default#IsPartOf

http://www.w3.org/2000/01/rdf-schema#domain

http://localhost/default#Software

6 http://localhost/default#IsPartOf

http://www.w3.org/2002/07/owl#inverseOf

http://localhost/default#has

Page 35: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 36: Tripleta Si

Tripletas RDF

Object Properties: supportOf

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#" xmlns:default="http://localhost/default#"><owl:ObjectProperty rdf:about="http://localhost/default#SupportOf"> <rdfs:domain rdf:resource="#Sistemas_Informaticos" /> <rdfs:range rdf:resource="http://localhost/default#Computers" /> </owl:ObjectProperty></rdf:RDF>

Page 38: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 39: Tripleta Si

Tripletas RDF

Object Properties: IsResponsable

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#" xmlns:default="http://localhost/default#"><owl:ObjectProperty rdf:about="http://localhost/default#IsResponsable"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty" /> <rdfs:range rdf:resource="#Sistemas_Informaticos" /> <rdfs:domain rdf:resource="http://localhost/default#The%20automated%20processing%20of%20information" /> </owl:ObjectProperty></rdf:RDF>

Page 40: Tripleta Si

Tripletas RDF

Elementos RDF

Number Subject Predicate Object

1 http://localhost/default#IsResponsable

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#ObjectProperty

2 http://localhost/default#IsResponsable

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#FunctionalProperty

3 http://localhost/default#IsResponsable

http://www.w3.org/2000/01/rdf-schema#range

http://www.w3.org/RDF/Validator/run/1250269443102#Sistemas_Informaticos

4 http://localhost/default#IsResponsable

http://www.w3.org/2000/01/rdf-schema#domain

http://localhost/default#The%20automated%20processing%20of%20information

Page 41: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 42: Tripleta Si

DATAPROPERTIES

Page 43: Tripleta Si

Tripletas RDF

Data Properties: Capacity

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#" xmlns:default="http://localhost/default#"><owl:DatatypeProperty rdf:about="http://localhost/default#Capacity"> <rdfs:domain rdf:resource="http://localhost/default#Hardware" /> <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer" /> </owl:DatatypeProperty></rdf:RDF>

Page 44: Tripleta Si

Tripletas RDF

Elementos RDF

Number Subject Predicate Object

1 http://localhost/default#Capacity

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://www.w3.org/2002/07/owl#DatatypeProperty

2 http://localhost/default#Capacity

http://www.w3.org/2000/01/rdf-schema#domain

http://localhost/default#Hardware

3 http://localhost/default#Capacity

http://www.w3.org/2000/01/rdf-schema#range

http://www.w3.org/2001/XMLSchema#integer

Page 45: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 46: Tripleta Si

Tripletas RDF

Data Properties: Model

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#" xmlns:default="http://localhost/default#"><owl:DatatypeProperty rdf:about="http://localhost/default#Model"> <rdfs:domain rdf:resource="http://localhost/default#Laptops" /> <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string" /> </owl:DatatypeProperty></rdf:RDF>

Page 47: Tripleta Si

Subject Predicate Object

http://localhost/default#Model rdf: type owl: DatatypeProperty

http://localhost/default#Model rdf: domain http://localhost/default#Laptops

http://localhost/default#Model rdf: range rdf: string

Tripletas RDF

Elementos RDF

Page 48: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 49: Tripleta Si

Tripletas RDF

Data Properties: Patent

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#" xmlns:default="http://localhost/default#"><owl:DatatypeProperty rdf:about="http://localhost/default#Patent"> <rdfs:domain rdf:resource="http://localhost/default#Laptops" /> <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string" /> </owl:DatatypeProperty></rdf:RDF>

Page 50: Tripleta Si

Subject Predicate Object

http://localhost/default#Patent rdf: type owl: DatatypeProperty

http://localhost/default#Patent rdf: domain http://localhost/default#Laptops

http://localhost/default#Patent rdf: range rdf: string

Tripletas RDF

Elementos RDF

Page 51: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 52: Tripleta Si

Tripletas RDF

Data Properties: ProductNumber

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#" xmlns:default="http://localhost/default#"><owl:DatatypeProperty rdf:about="http://localhost/default#ProductNumber"> <rdfs:domain rdf:resource="http://localhost/default#Laptops" /> <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer" /> </owl:DatatypeProperty></rdf:RDF>

Page 53: Tripleta Si

Subject Predicate Object

http://localhost/default#ProductNumber

rdf: type owl: DatatypeProperty

http://localhost/default#ProductNumber

rdf: domain http://localhost/default#Laptops

http://localhost/default#ProductNumber

rdf: range rdf: integer

Tripletas RDF

Elementos RDF

Page 54: Tripleta Si

Gráfico del modelo de datos

Tripletas RDF

Page 55: Tripleta Si

FIN