RDF Semantics by Patrick Hayes W3C Recommendation

Similar documents
RDF Semantics A graph-based approach

Seman&cs)of)RDF) )S) RDF)seman&cs)1)Goals)

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

A Fuzzy Semantics for the Resource Description Framework

Unit 2 RDF Formal Semantics in Detail

CS Knowledge Representation and Reasoning (for the Semantic Web)

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

Web Science & Technologies University of Koblenz Landau, Germany. RDF Schema. Steffen Staab. Semantic Web

Semantic Web Technologies: RDF + RDFS

Knowledge Representation for the Semantic Web

Resource Description Framework (RDF)

XML and Semantic Web Technologies. III. Semantic Web / 1. Ressource Description Framework (RDF)

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037

The Resource Description Framework and its Schema

RDF Schema. Mario Arrigoni Neri

RDF Schema Sebastian Rudolph

RDF and RDF Schema. Resource Description Framework

RDF Schema Sebastian Rudolph

SEMANTIC WEB 05 RDF SCHEMA MODELLING SEMANTICS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

LECTURE 09 RDF: SCHEMA - AN INTRODUCTION

Chapter 3. RDF Schema

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

An RDF-based Distributed Expert System

RDF Schema. Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA

Open Geospatial Consortium Inc.

RDF(S) Resource Description Framework (Schema)

RDF and RDF Schema. Raúl García Castro, Óscar Corcho. Boris

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Applications and Technologies on top of XML. Semantic Web - RDF. Extensible Markup Language (XML) Revisited. Outline

Semantic Web Services and OOP toward Unified Services

Semantic Web Technologies

Logical reconstruction of RDF and ontology languages

11 The Semantic Web. Knowledge-Based Systems and Deductive Databases Knowledge Representation Knowledge Representation

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

Web Science & Technologies University of Koblenz Landau, Germany RDF. Steffen Staab. Semantic Web

Semantic Web Engineering

Semantic Web OWL. Dieter Fensel and Federico Facca

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

Chapter 2 Technical Background. Materializing the Web of Linked Data

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91

Building Blocks of Linked Data

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa

Introduction to the Semantic Web. Alberto Fernández University Rey Juan Carlos

The Logic of the Semantic Web. Enrico Franconi Free University of Bozen-Bolzano, Italy

RDFS. Suresh Manandhar* & Dimitar Kazakov

ONTOLOGIES. Schema languages, metadata languages, modeling languages, ontologies...

Today s Plan. INF3580 Semantic Technologies Spring Model-theoretic semantics, a quick recap. Outline

Big Data 14. Graph Databases

Materializing the Web of Linked Data

A Fuzzy RDF Semantics to Represent Trust Metadata

A Deductive System for Annotated RDFS

Semantic Web Modeling Languages Part I: RDF

Semistructured Data Management Part 3 (Towards the) Semantic Web

KNOWLEDGE GRAPHS. Lecture 3: Modelling in RDF/Introduction to SPARQL. TU Dresden, 30th Oct Markus Krötzsch Knowledge-Based Systems

XML-Based Syntax of RDF

RDF /RDF-S Providing Framework Support to OWL Ontologies

Semantic Web Technologies: Web Ontology Language

RDF Quality Extension for OpenRefine

Opus: University of Bath Online Publication Store

Web Ontology Language (OWL)

Department of Electrical Engineering and Computer Science, Iwate University.

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

An RDF Storage and Query Framework with Flexible Inference Strategy

6. RDFS Modeling Patterns Semantic Web

The Semantic Web RDF, RDF Schema, and OWL (Part 2)

INFO216: Advanced Modelling

Knowledge Management with the WWW

Semantic Web Test

INF3580/4580 Semantic Technologies Spring 2017

2. RDF Semantic Web Basics Semantic Web

Integrating RDF into Hypergraph-Graph (HG(2)) Data Structure

Semantic Web and Linked Data

Making BioPAX SPARQL

INF3580/4580 Semantic Technologies Spring 2017

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

Part II. Representation of Meta-Information

Developing markup metaschemas to support interoperation among resources with different markup schemas

INF3580 Semantic Technologies Spring 2012

Resource Description Framework (RDF) Nicholas Gibbins and Nigel Shadbolt

F. Farazi Department of Information Engineering and Computer Science, University of Trento, Trento, Italy

Semantic Web Knowledge Representation in the Web Context. CS 431 March 24, 2008 Carl Lagoze Cornell University

Linguaggi Logiche e Tecnologie per la Gestione Semantica dei testi

RDF. Mario Arrigoni Neri

Introduction to Ontologies

ONTLOLOGY LANGUAGE :+RDFS+ SCHEMA

Deep integration of Python with Semantic Web technologies

KDI RDF. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

A Relaxed Approach to RDF Querying

Transforming Data from into DataPile RDF Structure into RDF

RDF. Resource Description Framework

Ontological Modeling: Part 2

RDF. Charlie Abela Department of Artificial Intelligence

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

Web 2.0 Lecture 8: Resource Description Framework

Metamodels for RDF Schema and OWL

Transcription:

RDF Semantics by Patrick Hayes W3C Recommendation http://www.w3.org/tr/rdf-mt/ Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial http://tw.rpi.edu/wiki/index.php/rdf_and_owl_semantics

A Layer Cake of Languages OWL2 OWL (RDFS 3.0) RDF(S) You Are Here

Outline What is Semantics? RDF: Syntax RDF Graph and Simple Entailment RDF Interpretation RDFS Interpretation

What is Semantics Syntax Semant ics Inferen ce Logic Merriam-Webster: the study of meanings Wikipedia: the study of meaning in communication.

What is Semantics? Intensional Meaning TW Students are Students with affiliation to the Tetherless World Group Extensional Meaning TW Students are the set {Jiao, Ankesh, Jesse, }

Model Theory Used to link intensional meaning and extensional meaning Alfred Tarski 1901-1983 Picure source: wikipedia Model theory assumes that the language refers to a 'world', and describes the minimal conditions that a world must satisfyin order to assign an appropriate meaning for every expression in the language. --RDF Semantics

Model: an Example Expression: TW Students are Students with affiliation to the Tetherless World Group A Model:

A Few Jargons Interpretation An interpretation is a world with each symbol and each expression assigned an extension. Model An model of a logic theory is an interpretation of the theory that satisfies all constraints specified by the theory Consistency A logic theory is consistent if it has a model. Satisfiability A symbol or expression x is satisfiable w.r.t. a logic theory K if there is a model of K with x sextension not empty. Entailment A logic theory K entails another logical theory K if every model of K is a model of K

Outline What is Semantics? RDF: Syntax RDF Graph and Simple Entailment RDF Interpretation RDFS Interpretation

RDF Family RDFS Vocabularyary RDFS Interpretation RDF Vocabulary RDF Interpretation RDF Graph Simple Interpretation Syntax Semantics

Not Covered in the Talk Blank Node (b-node) Literals (Datatypes) Containers Collections Reification Annotation Entailment rules (rule inference)

RDF: Triple and Graph Triple: (subject, property, object) UB U UBL (Url, Blank node, Literal) e.g., (Jim, is-a, Professor) e.g., (Jim, has-surname, Hendler ) not covered e.g.,(jim, has-pet, _:x) not covered Jim is-a has-surname has-pet Professor Hendler Graph: A set of triples

Outline What is Semantics? RDF: Syntax RDF Graph and Simple Entailment RDF Interpretation RDFS Interpretation

Simple Interpretation A simple interpretation I of a vocabulary V is defined by: 1. A non-empty set IRof resources, called the domain or universe of I. 2. A set IP, called the set of propertiesof I. 3. A mapping IEXTfrom IPinto the powersetof IR x IR i.e. the set of sets of pairs <x,y> with x and y in IR. 4. A mapping ISfrom URI references in V into (IR union IP) 5. A mapping ILfrom typed literals in V into IR. 6. A distinguished subset LVof IR, called the set of literal values, which contains all the plain literals in V We do not consider RDF vocabulary (e.g., rdf:type), yet.

Simple Interpretation V IS IP IR IEXT

Simple Interpretation Example V={a, b, c} Picture courtesy of RDF Semantics (Figure 1)

Simple Semantic Conditions if E is a URI reference in V then I(E) = IS(E) if E is a ground triple s p o. then I(E) = true if s, p and o are in V, I(p) is in IP and <I(s),I(o)> is in IEXT(I(p)) otherwise I(E)= false. if E is a ground RDF graph then I(E) = false if I(E') = false for some triple E' in E, otherwise I(E) =true if E is a plain literal "aaa" in V then I(E) = aaa if E is a plain literal "aaa"@tttin V then I(E) = <aaa, ttt> if E is a typed literal in V then I(E) = IL(E) If E is a blank node and A(E) is defined then [I+A](E) = A(E) If E is an RDF graph then I(E) = true if [I+A'](E) = true for some mapping A' from blank(e) to IR, otherwise I(E)= false

Note to Simple Interpreation IP may not be in IR A property (an element in IP) and its extension (mapping by IEXT) are separated. Thus avoids paradox like the barber paradox (A barber shaves only those men who do not shave themselves.)

Outline What is Semantics? RDF: Syntax RDF Graph and Simple Entailment RDF Interpretation RDFS Interpretation

RDF Vocabulary (rdfv) rdf:type rdf:property rdf:xmlliteral rdf:nil rdf:list rdf:statement rdf:subject rdf:predicate rdf:object rdf:first rdf:restrdf:seqrdf:bagrdf:altrdf:_1 rdf:_2... rdf:value

RDF Semantic Conditions x is in IP if and only if <x, I(rdf:Property)> is in IEXT(I(rdf:type)) Thus, RDF properties (IP) must be resources (IR) in the universe. (rdf:type rdf:type rdf:property) is always true More conditions for literals

RDF Interpretation Example Vocabulary: rdfv + V={a,b,c} Picture courtesy of RDF Semantics (Figure 2)

Outline What is Semantics? RDF: Syntax RDF Graph and Simple Entailment RDF Interpretation RDFS Interpretation

RDFS Vocabulary (rdfsv) rdfs:domain rdfs:range rdfs:resource rdfs:class rdfs:subclassof rdfs:subpropertyof rdfs:literal rdfs:datatype rdfs:member rdfs:container rdfs:containermembershipproperty rdfs:comment rdfs:seealso rdfs:isdefinedby rdfs:label

RDFS Semantic Conditions On classes x is in ICEXT(y) if and only if <x,y> is in IEXT(I(rdf:type)) IC = ICEXT(I(rdfs:Class)) IR = ICEXT(I(rdfs:Resource)) LV = ICEXT(I(rdfs:Literal)) If x is in IC then <x, I(rdfs:Resource)> is in IEXT(I(rdfs:subClassOf)) If <x,y> is in IEXT(I(rdfs:subClassOf)) then x and y are in IC and ICEXT(x) is a subset of ICEXT(y) IEXT(I(rdfs:subClassOf)) is transitive and reflexive on IC

RDFS Semantic Conditions On properties If <x,y> is in IEXT(I(rdfs:domain)) and <u,v> is in IEXT(x) then u is in ICEXT(y) If <x,y> is in IEXT(I(rdfs:range)) and <u,v> is in IEXT(x) then v is in ICEXT(y) IEXT(I(rdfs:subPropertyOf)) is transitive and reflexive on IP If <x,y> is in IEXT(I(rdfs:subPropertyOf)) then x and y are in IP and IEXT(x) is a subset of IEXT(y) More for container and literals

RDFS Axiomatic triples Domains rdf:type rdfs:domain rdfs:resource. rdfs:domain rdfs:domain rdf:property. rdfs:range rdfs:domain rdf:property. rdfs:subpropertyof rdfs:domain rdf:property. rdfs:subclassof rdfs:domain rdfs:class.

RDFS Axiomatic triples Ranges rdf:type rdfs:range rdfs:class. rdfs:domain rdfs:range rdfs:class. rdfs:range rdfs:range rdfs:class. rdfs:subpropertyof rdfs:range rdf:property. rdfs:subclassof rdfs:range rdfs:class. More for container, reification, literal, and annotation

RDFS-Valid Triples rdfs:resource rdf:type rdfs:class. rdfs:class rdf:type rdfs:class. rdf:property rdf:type rdfs:class. rdfs:domain rdf:type rdf:property. rdfs:range rdf:type rdf:property. rdfs:subpropertyof rdf:type rdf:property. rdfs:subclassof rdf:type rdf:property.

Conclusions Model Theory gives semantics to RDF(S) RDF and RDFS vocabularies pose semantic constraints on interpretations RDF: type, Property RDFS: domain, range, Resource, Class, subclassof subpropertyof Will see OWL 1 and OWL 2 extensions to RDF(S) in the future

More on RDF Semantics Herman J. ter Horst -Completeness, decidability and complexity of entailment for RDF Schema and a semantic extension involving the OWL vocabulary. In J. Web Sem. 3(2-3):79-115, 2005. Jos de Bruijn, Stijn Heymans -Logical Foundations of (e)rdf(s): Complexity and Reasoning. In ISWC/ASWC pp. 86-99, 2007. Jeff Z. Pan, Ian Horrocks -RDFS(FA) and RDF MT: Two Semantics for RDFS. In International Semantic Web Conference pp. 30-46, 2003.