Chapter 3 RDF and RDFS Semantics. Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using.

Slides:



Advertisements
Similar presentations
Three Theses of Representation in the Semantic Web
Advertisements

RDF Schema – Syntax and Intuition
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
1 Semantic Web Technologies: The foundation for future enterprise systems Okech Odhiambo Knowledge Systems Research Group Strathmore University.
Dr. Alexandra I. Cristea RDF.
Ontologies in the Semantic Web: Logics, Languages and more… Pavel Klinov.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
1 Introduction to Semantic Web with XML RDF Dickson K.W. Chiu PhD, SMIEEE Text: Antoniou & van Harmelen: A Semantic Web PrimerA Semantic Web Primer (Chapter.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
RDF, RDFS making the Web a better place Ir. Richard Vdovjak, MTD.
Cornell CS 502 Resource Description Framework Building the Semantic Web CS 502 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Resource Description Framework (RDF)
RDF Semantics by Patrick Hayes W3C Recommendation Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial.
Chapter 3 RDF Schema.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
© Copyright 2008 STI INNSBRUCK OWL: The Web Ontology Language Semantic Web Lecture Lecture VII – xx 2009 Dieter.
Logics for Data and Knowledge Representation
© Copyright 2008 STI INNSBRUCK RDF and RDF Schema Semantic Web Lecture Lecture III – xx 2009 Dieter Fensel Slides.
1 Object-Orientation in Ontology Date: April 30, 2007 Byunggul Koh Taeksu Kim.
OWL 2 in use. OWL 2 OWL 2 is a knowledge representation language, designed to formulate, exchange and reason with knowledge about a domain of interest.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
Part I: Set Constructs. RDF Schema (RDFS) RDF does not provide mechanisms to define domain classes and properties RDFS is a vocabulary that provides many.
INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development” Lecture 11 (part 2): MDI I, Part II: Semantic Web.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
Part II. Property domain and range restriction RDFS allows us to put restriction on the properties by specifying their domain and range, providing the.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Of 35 lecture 5: rdf schema. of 35 RDF and RDF Schema basic ideas ece 627, winter ‘132 RDF is about graphs – it creates a graph structure to represent.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
ELW2009, Jenova SWCLOS: A Semantic Web Processor on CLOS Advanced Discussion Seiji Koide National Institute of Informatics.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
RDF/RDFS Tutorial. Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about.
Practical RDF Ch.4 Specialized RDF Relationships: Reification, Containers, and Collections Kim, Jong-Nam SNU OOPSLA Lab. August 12, 2004.
OWL Full Semantics -- RDF-Compatible Model-Theoretic Semantics by Peter F. Patel-Schneider, Patrick Hayes and Ian Horrocks W3C Recommendation, 2004
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
Of 38 lecture 6: rdf – axiomatic semantics and query.
ece 627 intelligent web: ontology and beyond
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Formal Semantics Purpose: formalize correct reasoning.
An Optimization Technique for RDFS Inference using the Application Order of RDFS Entailment Rules Kisung Kim, Taewhi Lee
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
Linked Data & Semantic Web Technology The Semantic Web Part 5. Resource Description Framework (2) Dr. Myungjin Lee.
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Semantics of RDF(S) and OWL Ivan Herman, W3C (Last update: 28 Sep 2007) Ivan Herman.
Service-Oriented Computing: Semantics, Processes, Agents
An Overview of Ontology and Its Applications
RDF(S) Access Initiative Glossary of Terms
An Introduction to RDF Schema
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Chapter 3 RDF Schema.
Service-Oriented Computing: Semantics, Processes, Agents
Service-Oriented Computing: Semantics, Processes, Agents
Some Other Useful Features of RDF
ece 720 intelligent web: ontology and beyond
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
RDF & RDF Schema Machine Understandable Metadata for the Web
Chapter 3 RDF and RDFS Semantics
Semantic Web Basics (cont.)
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Chapter 3 RDF and RDFS Semantics

Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using axiomatically – relating it to another representation, e.g., first order logic, for which a semantic model exists – May result in an executable semantics Semantics can be given by RDF Model Theory (MT)

RDF/RDFS “Liberality” No distinction between classes and instances (individuals) Properties can themselves have properties No distinction between language constructors and ontology vocabulary, so constructors can be applied to themselves/each other

Semantics and model theories Ontology/KR languages aim to model (part of) world Terms in language correspond to entities in world MT defines relationship between syntax and interpretations – Can be many interpretations (models) of one piece of syntax – Models supposed to be analogue of (part of) world e.g., elements of model correspond to objects in world – Formal relationship between syntax and models structure of models reflect relationships specified in syntax – Inference (e.g., subsumption) defined in terms of MT e.g., T ² A v B iff in every model of T, ext(A) µ ext(B)

Set Based Model Theory Many logics (including standard FOL) use a model theory based on Zermelo-Frankel set theory The domain of discourse (i.e., the part of the world being modelled) is represented as a set (often referred as  ) Objects in the world are interpreted as elements of  – Classes/concepts (unary predicates) are subsets of  – Properties/roles (binary predicates) are subsets of   (i.e.,  2 ) – Ternary predicates are subsets of  3, etc. The sub-class relationship between classes can be interpreted as set inclusion Doesn’t work for RDF, because in RDF a class (set) can be a member (element) of another class (set) – In Z-F set theory, elements of classes are atomic (no structure)

Set Based Model Theory Example World Interpretation Daisy isA Cow Cow kindOf Animal Mary isA Person Person kindOf Animal Z123ABC isA Car  {,…}     a b Model Mary drives Z123ABC

Set Based Model Theory Example Formally, the vocabulary is the set of names we use in our model of (part of) the world {Daisy, Cow, Animal, Mary, Person, Z123ABC, Car, drives, …} An interpretation I is a tuple h , ¢ I i –  is the domain (a set) – ¢ I is a mapping that maps Names of objects to elements of  Names of unary predicates (classes/concepts) to subsets of  Names of binary predicates (properties/roles) to subsets of    And so on for higher arity predicates (if any)

RDF has “non-standard” semantics to deal with this Semantics given by RDF Model Theory (MT) In RDF MT, an interpretation I of a vocabulary V is: – IR, a non-empty set of resources (corresponds to  ) – IS, a mapping from V into IR (corresponds to ¢ I ) – IP, a distinguished subset of IR (the properties) – A vocabulary element v  V is a property iff IS(v)  IP – IEXT, a mapping from IP into the powerset of IR  IR – I.e., property elements mapped to subsets of IR  IR – IL, a mapping from typed literals into IR RDF Semantics

Example RDF Simple Interpretation

RDF Imposes semantic conditions on interpretations, e.g.: – x is in IP iff is in IEXT(I(rdf:type)) All RDF interpretations must satisfy certain axiomatic triples, e.g.: – rdf:type rdf:type rdf:Property – rdf:subject rdf:type rdf:Property – rdf:predicate rdf:type rdf:Property – rdf:object rdf:type rdf:Property – rdf:first rdf:type rdf:Property – rdf:rest rdf:type rdf:Property – rdf:value rdf:type rdf:Property –…–… RDF Semantic Conditions

Example RDF Interpretation

RDFS simply adds semantic conditions and axiomatic triples that give meaning to schema vocabulary Class interpretation ICEXT simply induced by rdf:type, i.e.: – x is in ICEXT(y) if and only if is in IEXT(IS(rdf:type)) Other semantic conditions include: – If is in IEXT(IS(rdfs:domain)) and is in IEXT(x) then u is in ICEXT(y) – If is in IEXT(IS(rdfs:subClassOf)) then x and y are in IC and ICEXT(x) is a subset of ICEXT(y) – IEXT(IS(rdfs:subClassOf)) is transitive and reflexive on IC Axiomatic triples include: – rdf:type rdfs:domain rdfs:Resource – rdfs:domain rdfs:domain rdf:Property RDFS Semantics

RDFS Interpretation Example If RDFS graph includes triples Interpretation conditions imply existence of triples …

RDFS Axioms Another way to define the semantics of RDF and RDFS is to give axioms that relate it to well understood representation, such as FOL, that has a formal semantics. A benefit of this approach is that the axioms may provide the basis of an “executable semantics” For a list of FOL axioms (in N3) defining RDFS vocabulary, see

RDFS Inference Rules {?S ?P ?O} => {?P a rdf:Property}. {?P rdfs:domain ?C. ?S ?P ?O} => {?S a ?C}. {?P rdfs:range ?C. ?S ?P ?O} => {?O a ?C}. {?S ?P ?O} => {?S a rdfs:Resource. ?O a rdfs:Resource}. {?Q rdfs:subPropertyOf ?R. ?P rdfs:subPropertyOf ?Q} => {?P rdfs:subPropertyOf ?R}. rdfs:subPropertyOf ?R. ?S ?P ?O} => {?S ?R ?O}. {?C a rdfs:Class} => {?C rdfs:subClassOf rdfs:Resource}. {?A rdfs:subClassOf ?B. ?S a ?A} => {?S a ?B}. {?B rdfs:subClassOf ?C. ?A rdfs:subClassOf ?B} => {?A rdfs:subClassOf ?C}. {?X a rdfs:ContainerMembershipProperty} => {?X rdfs:subPropertyOf rdfs:member}. {?X a rdfs:Datatype} => {?X rdfs:subClassOf rdfs:Literal}.

RDFS Classes rdf:Alt rdfs:subClassOf rdfs:Container. rdf:Bag rdfs:subClassOf rdfs:Container. rdfs:ContainerMembershipProperty rdfs:subClassOf rdf:Property. rdfs:Datatype rdfs:subClassOf rdfs:Class. rdf:Seq rdfs:subClassOf rdfs:Container. rdf:XMLLiteral rdfs:subClassOf rdfs:Literal; a rdfs:Datatype.

RDFS Properties rdfs:label rdfs:domain rdfs:Resource; rdfs:range rdfs:Literal. rdfs:comment rdfs:domain rdfs:Resource; rdfs:range rdfs:Literal. rdfs:seeAlso rdfs:domain rdfs:Resource; rdfs:range rdfs:Resource. rdfs:isDefinedBy rdfs:domain rdfs:Resource; rdfs:range rdfs:Resource; rdfs:subPropertyOf rdfs:seeAlso. -- rdfs:domain rdfs:domain rdf:Property; rdfs:range rdfs:Class. rdfs:range rdfs:domain rdf:Property; rdfs:range rdfs:Class. -- rdf:first rdfs:domain rdf:List; rdfs:range rdfs:Resource. rdf:rest rdfs:domain rdf:List; rdfs:range rdf:List. rdfs:member rdfs:domain rdfs:Container; rdfs:range rdfs:Resource. -- rdfs:subClassOf rdfs:domain rdfs:Class; rdfs:range rdfs:Class. rdfs:subPropertyOf rdfs:domain rdf:Property; rdfs:range rdf:Property. -- rdf:subject rdfs:domain rdf:Statement; rdfs:range rdfs:Resource. rdf:object rdfs:domain rdf:Statement; rdfs:range rdfs:Resource. rdf:predicate rdfs:domain rdf:Statement; rdfs:range rdf:Property. -- rdf:type rdfs:domain rdfs:Resource; rdfs:range rdfs:Class. rdf:value rdfs:domain rdfs:Resource; rdfs:range rdfs:Resource.

RDFS individuals rdfs:first a owl:FunctionalProperty. rdfs:rest a owl:FunctionalProperty rdf:nil a rdf:List.

Problems with RDFS RDFS too weak to describe resources in sufficient detail – No localised range and domain constraints Can’t say that the range of hasChild is person when applied to persons and elephant when applied to elephants – No existence/cardinality constraints Can’t say that all instances of person have a mother that is also a person, or that persons have exactly 2 parents – No transitive, inverse or symmetrical properties Can’t say that isPartOf is a transitive property, that hasPart is the inverse of isPartOf or that touches is symmetrical –…–… Difficult to provide reasoning support – No “native” reasoners for non-standard semantics – Possible to reason via FO axiomatisation

Conclusions RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using axiomatically – relating it to another representation, e.g., first order logic, for which a semantic model exists – May result in an executable semantics Semantics can be given by RDF Model Theory (MT)