Non-Monotonic Reasoning for the Semantic Web. Bertino, Provetti & Salvetti, AGP03 Bertino, Provetti, Salvetti Non-Monotonic Reasoning for the Semantic.

Slides:



Advertisements
Similar presentations
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Advertisements

Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
Introduction to Truth Maintenance Systems A Truth Maintenance System (TMS) is a PS module responsible for: 1.Enforcing logical relations among beliefs.
Logic Programming Automated Reasoning in practice.
Justification-based TMSs (JTMS) JTMS utilizes 3 types of nodes, where each node is associated with an assertion: 1.Premises. Their justifications (provided.
Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
Logic Use mathematical deduction to derive new knowledge.
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Knowledge Representation and Reasoning  Representação do Conhecimento e Raciocínio Computacional José Júlio Alferes and Carlos Viegas Damásio.
Knowledge Representation
BIRDS FLY. is a bird Birds fly Tweety is a bird Tweety flies DEFEASIBLE NON-MONOTONIC PRESUMPTIVE?
Everything You Need to Know (since the midterm). Diagnosis Abductive diagnosis: a minimal set of (positive and negative) assumptions that entails the.
For Friday Finish chapter 10 No homework (get started on program 2)
Cs774 (Prasad)L7Negation1 Negation by Failure
Ontologies and the Semantic Web by Ian Horrocks presented by Thomas Packer 1.
1 Reasoning in Uncertain Situations 8a 8.0Introduction 8.1Logic-Based Abductive Inference 8.2Abduction: Alternatives to Logic 8.3The Stochastic Approach.
CPSC 322 Introduction to Artificial Intelligence September 20, 2004.
A Preliminary Study on Reasoning About Causes Pedro Cabalar AI Lab., Dept. of Computer Science University of Corunna, SPAIN.
Semantic Web Tools for Authoring and Using Analysis Results Richard Fikes Robert McCool Deborah McGuinness Sheila McIlraith Jessica Jenkins Knowledge Systems.
Auto-Epistemic Logic Proposed by Moore (1985) Contemplates reflection on self knowledge (auto-epistemic) Allows for representing knowledge not just about.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
Integrating DLs with Logic Programming Boris Motik, University of Manchester Joint work with Riccardo Rosati, University of Rome.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
1 CENTRIA, Dept. Informática da Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal. 2 Institute of Computer Science,
Logics for Data and Knowledge Representation
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Rules, RIF and RuleML.
Semantically Processing The Semantic Web Presented by: Kunal Patel Dr. Gopal Gupta UNIVERSITY OF TEXAS AT DALLAS.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
Uncertainty in AI. Birds can fly, right? Seems like common sense knowledge.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
A Preferential Tableau for Circumscriptive ALCO RR 2009 Stephan Grimm Pascal Hitzler.
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Dr. Bhavani Thuraisingham September 18, 2006 Building Trustworthy Semantic Webs Lecture #9: Logic and Inference Rules.
1 The Semantic Web Jonathan Jackson GCUU Master’s Seminar Spring 2005.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Towards the Adaptive Semantic Web Peter Dolog Nicola Henze Wolfgang Nejdl Michael Sintek.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
Common Sense Inference Let’s distinguish between: Mathematical inference about common sense situations Example: Formalize theory of behavior of liquids.
Artificial Intelligence Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Propositional Logic: Logical Agents (Part I)
Limitations of First-Order Logic
Symbolic Reasoning under uncertainty
Chapter 7: Beyond Definite Knowledge
Rules, RIF and RuleML.
Semantics of Datalog With Negation
Logical Agents Chapter 7.
Logic Use mathematical deduction to derive new knowledge.
CS 270 Math Foundations of CS
Local Closed World Reasoning in the Semantic Web
Answer Set Programming
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

Non-Monotonic Reasoning for the Semantic Web

Bertino, Provetti & Salvetti, AGP03 Bertino, Provetti, Salvetti Non-Monotonic Reasoning for the Semantic Web AGP03, pag. 2Agenda  Default reasoning  Closed World Assumption  Belief vs truth  A possible non-monotonic Semantic Web  Different semantics for rdf:type  Results  Unique Name Assumption (the names problem)

Bertino, Provetti & Salvetti, AGP03 Semantic Web “The Semantic Web is not a Web of documents, but a Web of relations between resources denoting real world objects, i.e., objects such as people, places and events.” - (Guha, McCool, Miller)

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 4 A modern Semantic Network Tree of Porphyry, as drawn by Peter of Spain (1329)

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 5 Semantic Web =? Semantic Network  Yes/No... Maybe  Semantic Network introduced few years later the Peano’s work for First Order Logic (Peirce 1882)  FOL =? Semantic Networks  DAML-OIL  FOL (KSL, Stanford 2001)

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 6 Knowledge Base  We want to describe the world using RDF assertions (Subject, Predicate, Object)  RDF does not have inference, yet a description- logic semantics is available (Horrocks et al.)  RDF assertions can be seen as equivalent to facts: –triple(”subject”,”predicate”,”object”).  We can translate DAML-OIL to LP/ASP

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 7 An RDF assertion triple(“ “ “Ale”). <rdf:RDF xmlns:rdf=" xmlns:example=" Ale Ale

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 8 Why rules and inference?  Rules are a compact way to describe the world  Inference is the formal mechanism for passing from facts and rules to new facts  We need inference if we want to use rules to describe in a compact way our domain

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 9 Why default reasoning?  “Any classification of the world has exceptions.”  Default rules are a way to deal with exceptions  If  is true and we can assume , we can believe  –If there is a proof for  and there is no proof of  we can believe in 

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 10 Example of a default rules  “Normally Swedish people are pale unless they are skiers”. swedish :  skier pale pale :- swedish, not skier. :- pale, n_pale.  It is consistent assuming that you are  skier if there is no proof that you are a skier

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 11 …and the inference?  we admit contraddiction, swedish is pale (from inference) and swedish is tanned for a fact: she lives in ski resort the whole year.  The default reasoning consider pale as a belief and tanned a truth, therefore there is no contraddiction

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 12 Stable Models and ASP  capture maximal consistent sets of beliefs (Gelfond & Lifschitz 1991)  Anwer Set Programming is the confluence of Deductive Database and Logic Programming  DATALOG with negation and negation as failure  Big difference between “the train is not coming” and “I do not have a proof that the train is coming”  In the SW provability is an issue.

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 13 Negation as failure and CWA  The negation as failure, used in a default rule to produce a beleif is based on the CWA  CWA: “everything that does not have a formal proof is false”  We think that the truth of things relevant for our reasoning is captured in the KB

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 14 Can we rely on CWA for the SW?  NO  We cannot make inference on the whole Web  Do two agents need to reason on the whole Web?  NO  Can they define their world?  YES  They can declare which “pages” are relevant

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 15 All together!  We want to do default reasoning because is compact way to dealt with exceptions in classification  Default rules are good candidates  We need negation as failure  Negation as failure needs CWA  We introduce a Local CWA for the Web

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 16 rdf:type and rdfs:subClassOf  rdf:type is monotonic, it means that if we say that B is a rdfs:subClassOf A and x is rdf:type B we can infer that x is rdf:type of A  however, any system of classification sooner or later fails due to exceptions  Idea: transform rdf:type into its non monotonic version

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 17 some new knowledge arrives  rdf:type is monotonic, it means that if we say that B is a rdfs:subClassOf A and x is rdf:type B we can infer that x is rdf:type of A  Here we have made an implicit inference  Now we discover that x is rdf:type of C and C is daml:complementOf A  x is, not A and A... This is really bad!!!

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 18 Does it happen?  YES  Do you know Pingu? (Minsky, McCarthy)  “Normally birds fly”  “Penguins rdfs:subClassOf Birds”  “Penguins do not fly!”  “Magic is a magic Penguin that flies!”  “Pingu is a Penguin”

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 19 Flying, in RDF triple(S, "rdfs:subClassOf", O) :- d(S), d(O), d(B), d(C), triple(S, "rdfs:subClassOf", B), triple(B, "rdfs:subClassOf", O), not cannotBeSubClassOf(S,O). cannotBeSubClassOf(X,C) :- d(X), d(C), d(A), triple(X, "rdfs:subClassOf", A), triple(A, "daml:complementOf", C). triple(S, "rdf:type", O) :- d(S), d(C), d(B), d(O), triple(S, "rdf:type", B), triple(B, "rdfs:subClassOf", O), not cannotBeTypeOf(S,O). cannotBeTypeOf(X,C) :- d(X), d(C), d(A), triple(X, "rdf:type", A), triple(A, "daml:complementOf", C).

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 20 Two consistent s-models Answer: 1 Stable Model: type("magic","Flying") type("pingu","Flying") type("magic","Penguin") type("pingu","Penguin") type("magic","Bird") type("pingu","Bird") subClassOf("Bird","Flying") subClassOf("Penguin","n_Flying") subClassOf("Penguin","Bird") Answer: 2 Stable Model: type("magic","Flying") type("pingu","n_Flying") type("magic","Penguin") type("pingu","Penguin") type("magic","Bird") type("pingu","Bird") subClassOf("Bird","Flying") subClassOf("Penguin","n_Flying") subClassOf("Penguin","Bird")

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 21 An explicit semantics in ASP triple(S,Super,O) :- d(S), d(Super), d(O), d(Son), triple(Son, "rdfs:subPropertyOf", Super), triple(S, Son, O). q p

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 22Results  Using the LCWA we can use the negation as failure for the SW  with negation as failure we can do default reasoning  We can discover alternative interpretations of our knowledge  ASP inference engines, e.g., smodels can do that

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 23 Is the CWA the only assumption?  NO  The Unique Names Assumption (UNA) is normally used in logic programming  Can we rely on that in the Semantic Web?  Yes/No... Maybe  Maybe No!  No!

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 24 Towards ontology/schema integration? “How many people have written an ontology with a resource named student?”

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 25 Is there a solution?  The problem of schema or ontology integration is an open, maybe unsolvable problem  Do we hope in Darwin?  Is there a cooperative way to build ontologies?  Is Linux a good example?  Reintroducing names is stupid!

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 26Conclusions  A non monotonic semantic for RDF is needed for capturing an environment, the Web, that is not monotonic  W3C semantics for RDF is monotonic, the Web ain’t  Default and ASP are a possible practical solution  LCWA is a must  A different way to build ontologies has to be found

Bertino, Provetti & Salvetti, AGP03 Franco Salvetti Non-Monotonic Reasoning for the Semantic Web University of Colorado at Boulder 15, August HP Lab, pag. 27Acknowledgments  S. McIlraith (Stanford University)  R. King (Univerity of Colorado at Boulder)  B. Burg (HP Lab)

Non-Monotonic Reasoning for the Semantic Web questions…

thank you