Properties o In oWL there are two kinds of properties Object properties, which relate objects to other objects E.g. is-TaughtBy, supervises Data type properties, which relate objects to datatype values o E.g. phone, title, age, etc. 26 Chapter 4 A Semantic Web primer
Chapter 4 A Semantic Web Primer 26 Properties ⚫ In OWL there are two kinds of properties – Object properties, which relate objects to other objects ⚫ E.g. is-TaughtBy, supervises – Data type properties, which relate objects to datatype values ⚫ E.g. phone, title, age, etc
Datatype Properties o OWL makes use of XML Schema data types using the layered architecture of the sw <owl: Datatype Property rdf: ID="age"> <rdfs: range rdf: resource= http://www.w3.org/2001/xlmschema inon Negativelnteger </owl: DatatypeProperty 27 Chapter 4 A Semantic Web primer
Chapter 4 A Semantic Web Primer 27 Datatype Properties ⚫ OWL makes use of XML Schema data types, using the layered architecture of the SW <owl:DatatypeProperty rdf:ID="age"> <rdfs:range rdf:resource= "http://www.w3.org/2001/XLMSchema #nonNegativeInteger"/> </owl:DatatypeProperty>
Object Properties e User-defined data types <owl: ObjectProperty rdf: ID="is Taught By"> <owl domain rdf: resource=course> <owl range rdf: resource= academic StaffMember> <rdfs subProperty of rdf: resource="involves"I> </owl: ObjectProperty> 28 Chapter 4 A Semantic Web primer
Chapter 4 A Semantic Web Primer 28 Object Properties ⚫ User-defined data types <owl:ObjectProperty rdf:ID="isTaughtBy"> <owl:domain rdf:resource="#course"/> <owl:range rdf:resource= "#academicStaffMember"/> <rdfs:subPropertyOf rdf:resource="#involves"/> </owl:ObjectProperty>
Inverse Properties <owl: ObjectProperty rdf: ld=" teaches"> <rdfs range rdf resource= course l> <rdfs domain rdfa resource= iacademicStaffMember <owl: inverseOf rdf, resource="fis"> </owl: ObjectProperty> 29 Chapter 4 A Semantic Web primer
Chapter 4 A Semantic Web Primer 29 Inverse Properties <owl:ObjectProperty rdf:ID="teaches"> <rdfs:range rdf:resource="#course"/> <rdfs:domain rdf:resource= "#academicStaffMember"/> <owl:inverseOf rdf:resource="#isTaughtBy"/> </owl:ObjectProperty>
Equivalent Properties owl: equivalentproperty <owl: ObjectProperty rdf: ID="lecturesIn"> <oWl: equivalentProperty rdf resource= teaches"> <lowl: ObjectProperty> 30 Chapter 4 A Semantic Web primer
Chapter 4 A Semantic Web Primer 30 Equivalent Properties owl:equivalentProperty <owl:ObjectProperty rdf:ID="lecturesIn"> <owl:equivalentProperty rdf:resource="#teaches"/> </owl:ObjectProperty>