160 likes | 328 Views
An XML Syntax for RDF: RDF/XML. Ming Jing Team W. Tutorial Overview. • Order. - Description Classes. - Describing Properties. - Interpreting RDF Schema Declarations. - Other Schema Information. - Richer Schema Languages. • statement mode. - Concept and Standard.
E N D
An XML Syntax for RDF: RDF/XML Ming Jing Team W
Tutorial Overview • Order - Description Classes - Describing Properties - Interpreting RDF Schema Declarations - Other Schema Information - Richer Schema Languages • statement mode - Concept and Standard - Code and reletive triple, graph
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed
What is RDFS's job ? ex:Montain Semantic check exterms:Hight ex:John 1.To provide a method to define Class which represents vocabulary in different domain 2.To define the properties of Classes
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed
Concept mentioned a category set representing a certain domain (instance of many classes are allowed) K E Y W O R D S Class relation between subject resource and object resource properties subclass inheritance the father-class inheritance properties from super-property subproperty domain a set which subject resource must belong to range a set which object resource must belong to super-class of all classes rdfd:Resource all class is the instance of rdfs:Class rdfs:Class
Concept mentioned Use triple model to expound : • All classes are the instances of rdfs:Class • All things described are subclass of rdfs:Resource ex:MotorVehicle rdf:type rdfs:Class . ex:PassengerVehicle rdf:type rdfs:Class . ex:Van rdf:type rdfs:Class . property rdf:type suggested that rdfs:Class is the class of these instances the super-class in all triples are always URI, URI is resource essentially ex:PassengerVehicle rdfs:subClassOf ex:MotorVehicle . ex:Van rdfs:subClassOf ex:MotorVehicle . ex:Truck rdfs:subClassOf ex:MotorVehicle .
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed
Describe Classes <rdf:Description rdf:ID="MotorVehicle"> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/> </rdf:Description> Motor Vehicle is a Class <rdfs:Class rdf:ID="MotorVehicle"/> Motor Vehicle is a Class (abbr.format) <rdfs:Class rdf:ID="PassengerVehicle"> <rdfs:subClassOf rdf:resource="#MotorVehicle"/> </rdfs:Class> PassengerVehicle is a subclass of MotorVehicle <ex:MotorVehicle rdf:ID="companyCar"/> " XML base+'companyCar' " is a instant of MotorVehicle (abbr.format)
Describe Properties REASERCH OBJECT: the properties which express the relation between subject resource and object resource ******All properties in RDF are instances of rdf:Property****** ex:author rdf:type rdf:property . Declare author is a property exterms:weight rdfs:domain ex:Book . exterms:weight rdfs:domain ex:MotorVehicle . the domain of weight(a property) is ex:book and ex:MotorVehicle ex:hasMother rdfs:range ex:Female . ex:hasMother rdfs:range ex:Person . the range of weight(a property) is ex:Female and ex:Person
Describe Properties xsd:integer rdf:type rdfs:Datatype . To declare a data type use "to instenclism the class" ex:driver rdf:type rdf:Property . ex:primaryDriver rdf:type rdf:Property . ex:primaryDriver rdfs:subPropertyOf ex:driver . Use rdfs:subPropertyOf (sub-property includes all domain and range defined in super-property)
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed