DR-Prolog: A System for Defeasible Reasoning with Rules and Ontologies on the Semantic Web CS566 – Διαχειριση Γνώσης στο Διαδίκτυο Άνοιξη 2010.

Slides:



Advertisements
Similar presentations
A Web Rules WG Charter Focus Strawman Proposal Version 1.1, April 30, 2005 This Version Prepared by: Benjamin Grosof, Harold Boley, Michael Kifer, and.
Advertisements

Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide.
1 ISWC-2003 Sanibel Island, FL IMG, University of Manchester Jeff Z. Pan 1 and Ian Horrocks 1,2 {pan | 1 Information Management.
Problems Title cfr.Prolog: database of facts, rules, query and solutions.
Commonsense Reasoning and Argumentation 14/15 HC 8 Structured argumentation (1) Henry Prakken March 2, 2015.
The Logic of Intelligence Pei Wang Department of Computer and Information Sciences Temple University.
Ilias Tachmazidis 1,2, Grigoris Antoniou 1,2,3, Giorgos Flouris 2, Spyros Kotoulas 4 1 University of Crete 2 Foundation for Research and Technology, Hellas.
Argumentation Logics Lecture 5: Argumentation with structured arguments (1) argument structure Henry Prakken Chongqing June 2, 2010.
Ontologies Reasoning Components Agents Simulations Default Reasoning and Negation As Failure in General Logic Programming Jacques Robin.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
Logic.
The International RuleML Symposium on Rule Interchange and Applications Local and Distributed Defeasible Reasoning in Multi-Context Systems Antonis Bikakis,
Relative Expressiveness of Defeasible Logics II Michael Maher.
Cs774 (Prasad)L7Negation1 Negation by Failure
CPSC 322 Introduction to Artificial Intelligence September 15, 2004.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Proof System HY-566. Proof layer Next layer of SW is logic and proof layers. – allow the user to state any logical principles, – computer can to infer.
Using answer set programming to answer complex queries Chitta Baral (joint work with Michael Gelfond and Richard Scherl) Arizona State University Tempe,
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.
Argumentation Logics Lecture 6: Argumentation with structured arguments (2) Attack, defeat, preferences Henry Prakken Chongqing June 3, 2010.
The Semantic Web – WEEK 8: Proof in FOL continued The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse] You are here!
KNOWLEDGE REPRESENTATION, REASONING AND DECLARATIVE PROBLEM SOLVING Chitta Baral Arizona State University Tempe, AZ
0 1 Todays Topics Resolution – top down and bottom up j-DREW BU procedure Subsumption – change to procedure Infinite Loops RuleML input – Prolog output.
Chapter 5 Non monoticic rules Based on slides from Grigoris Antoniou and Frank van Harmelen.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
Propositional Logic Reasoning correctly computationally Chapter 7 or 8.
1. Motivation Knowledge in the Semantic Web must be shared and modularly organised. The semantics of the modular ERDF framework has been defined model.
Knowledge Interchange Format Michael Gruninger National Institute of Standards and Technology
Defeasible Security Policy Composition for Web Services Adam J. Lee, Jodie P. Boyer *, Lars E. Olson, and Carl A. Gunter University of Illinois at Urbana-Champaign.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
1 CENTRIA, Dept. Informática da Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal. 2 Institute of Computer Science,
Knowledge representation
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
Learning by Answer Sets Chiaki Sakama Wakayama University, Japan Presented at AAAI Spring Symposium on Answer Set Programming, March 2001.
Computer Science Department UoC. Outline Emerald Framework Overview Communication pattern Software Requirements Setup sequence Cs566 project objective.
Why Use A Travel Agent?. Why Use a Travel Agent?  Planning a trip today can be confusing and time consuming.  A travel agent not only arranges the various.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
Computer Science Department UoC. Outline Project Teams Key Points description Suggested Task Delegation Files Needed & previous work.
June 14, 2004DIP Meeting, Lausanne Service Discovery Using Transaction Logic Reasoning Michael Kifer.
Ontology Summit 2015 Track C Report-back Summit Synthesis Session 1, 19 Feb 2015.
Semantic Web - an introduction By Daniel Wu (danielwujr)
From POSL to d-POSL: Making the Positional-Slotted Language Defeasible Advisors: Nick Bassiliades, Efstratios Kontopoulos Instructor: Dr. Harold Boley.
Rules, RIF and RuleML.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
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.
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
Conclusions Presenter: Manolis Koubarakis Extended Semantic Web Conference 2012.
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
Dr. Bhavani Thuraisingham September 18, 2006 Building Trustworthy Semantic Webs Lecture #9: Logic and Inference Rules.
The International RuleML Symposium on Rule Interchange and Applications Visualization of Proofs in Defeasible Logic Ioannis Avguleas 1, Katerina Gkirtzou.
Towards the Adaptive Semantic Web Peter Dolog Nicola Henze Wolfgang Nejdl Michael Sintek.
OWL, DL and Rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
OASIS LegalRuleML RuleML2013, Seattle 12th July. LegalRuleML TC Monica Palmirani, CIRSFID, UniBO Guido Governatori, NICTA, Australia Harold Boley, NRC.
Belief dynamics and defeasible argumentation in rational agents M. A. Falappa - A. J. García G. R. Simari Artificial Intelligence Research and Development.
Chapter 8A Semantic Web Primer 1 Chapter 8 Conclusion and Outlook Grigoris Antoniou Frank van Harmelen.
OWL, DL and rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
Why Use A Travel Agent?.
OWL, DL and Rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
Limitations of First-Order Logic
Temporal Extensions to Defeasible Logic
Using Rules with Ontologies in the Semantic Web
Rules, RIF and RuleML.
Ontology.
CPSC 322 Introduction to Artificial Intelligence
Back to “Serious” Topics…
Ontology.
Prof. Bhavani Thuraisingham The University of Texas at Dallas
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

DR-Prolog: A System for Defeasible Reasoning with Rules and Ontologies on the Semantic Web CS566 – Διαχειριση Γνώσης στο Διαδίκτυο Άνοιξη 2010

21/6/20152 Defeasible logics are rule-based, without disjunction Classical negation is used in the heads and bodies of rules. Rules may support conflicting conclusions The logics are skeptical in the sense that conflicting rules do not fire. Thus consistency is preserved. Priorities on rules may be used to resolve some conflicts among rules They have linear computational complexity. Defeasible Logic: Basic Characteristics

21/6/20153 Defeasible Logic – Syntax (1/2) A defeasible theory D is a triple (F,R,>), where F is a finite set of facts, R a finite set of rules, and > a superiority relation on R. There are two kinds of rules (fuller versions of defeasible logics include also defeaters): strict rules, defeasible rules Strict rules: A  p Whenever the premises are indisputable then so is the conclusion.  penguin(X)  bird(X) Defeasible rules: A  p They can be defeated by contrary evidence.  bird(X)  fly(X)

21/6/20154 Defeasible Logic – Syntax (2/2) Superiority relations A superiority relation on R is an acyclic relation > on R. When r 1 > r 2, then r 1 is called superior to r 2, and r 2 inferior to r 1. This expresses that r 1 may override r 2.  Example: r: bird(X)  flies(X) r’: penguin(X)  ¬flies(X) r’ > r

21/6/20155 DR-Prolog Features DR-Prolog is a rule system for the Web that: reasons both with classical and non-monotonic rules handles priorities between rules reasons with RDF data and RDFS/OWL ontologies translates rule theories into Prolog using the well- founded semantics complies with the Semantic Web standards (e.g. RuleML) has low computational complexity

21/6/20156 System Architecture

21/6/20157 Translation of Defeasible Theories (1/3) The translation of a defeasible theory D into a logic program P(D) has a certain goal: to show that p is defeasibly provable in D  p is included in the Well-Founded Model of P(D) The translation is based on the use of a metaprogram which simulates the proof theory of defeasible logic

21/6/20158 Translation of Defeasible Theories (2/3) For a defeasible theory D = (F,R,>), where F is the set of the facts, R is the set of the rules, and > is the set of the superiority relations in the theory, we add facts according to the following guidelines: fact(p) for each p  F strict(r i, p,[q 1,…,q n ]) for each rule r i : q 1,…,q n  p  R defeasible(r i,p,[q 1,…,q n ]) for each rule r i : q 1,…,q n  p  R sup(r,s) for each pair of rules such that r>s

21/6/20159 Translation of Defeasible Theories (3/3) Element of the dl theoryLP element negated literal ~p ~(p) dl facts p fact(p). dl strict rules r: q 1,q 2,…,q n → p strict(r,p,[q 1,…,q n ]). dl defeasible rules r: q 1,…,q n  p defeasible(r,p,[q 1,…,q n ]). priority on rules r>s sup(r,s).

21/6/ Prolog Metaprogram (1/3) Class of rules in a defeasible theory supportive_rule(Name,Head,Body):- strict(Name,Head,Body). supportive_rule(Name,Head,Body):- defeasible(Name,Head,Body). Definite provability definitely(X):- fact(X). definitely(X):- strict(R,X,[Y 1,Y 2,…,Y n ]), definitely(Y 1 ), definitely(Y 2 ), …, definitely(Y n ).

21/6/ Prolog Metaprogram (2/3) Defeasible provability defeasibly(X):- definitely(X). defeasibly(X):- supportive_rule(R, X, [Y 1,Y 2,…,Y n ]), defeasibly(Y 1 ), defeasibly(Y 2 ), …, defeasibly(Y n ), sk_not(overruled(R,X)), sk_not(definitely(¬X)).

21/6/ Prolog Metaprogram (3/3) Overruled(R,X) overruled(R,X):- supportive_rule(S, ¬X, [Y 1,Y 2,…,Y n ]), defeasibly(Y 1 ), defeasibly(Y 2 ), …, defeasibly(Y n ), sk_not(defeated(S, ¬X)). Defeated(S,X) defeated(S,X):- supportive_rule(T, ¬X, [Y 1,Y 2,…,Y n ]), defeasibly(Y 1 ), defeasibly(Y 2 ), …, defeasibly(Y n ), sup(T, S).

21/6/ An Application Scenario Adam visits a Web Travel Agency and states his requirements for the trip he plans to make. Adam wants  to depart from Athens and considers that the hotel at the place of vacation must offer breakfast.  either the existence of a swimming pool at the hotel to relax all the day, or a car equipped with A/C, to make daily excursions at the island.  if there is no parking area at the hotel, the car is useless  if the tickets for the transportation to the island are not included in the travel package, the customer is not willing to accept it

21/6/ Adam’s Requirements in DL r 1 : from(X,athens), includesResort(X,Y), breakfast(Y,true), swimmingPool(Y,true) => accept(X). r 2 : from(X,athens), includesResort(X,Y), breakfast(Y,true),includesService(X,Z),hasVehicle(S,W), vehicleAC(W,true) => accept(X). r 3 : includesResort(X,Y),parking(Y,false) => ~accept(X). r 4 : ~includesTransportation(X,Z) => ~accept(X). r 1 > r 3. r 4 > r 1. r 4 > r 2. r 3 > r 2.

21/6/ Adam’s Requirements in Prolog defeasible(r1,accept(X),[from(X,athens), includesResort(X,Y),breakfast(Y,true), swimmingPool(Y,true)]). defeasible(r2,accept(X),[from(X,athens), includesResort(X,Y),breakfast(Y,true), includesService(X,Z),hasVehicle(Z,W), vehicleAC(W,true)]). defeasible(r3,~(accept(X)),[includesResort(X,Y), parking(Y,false)]). defeasible(r4,~(accept(X)), [~(includesTransportation(X,Y))]). sup(r1,r3). sup(r4,r1). sup(r4,r2). sup(r3,r2).

21/6/ Knowledge Base (facts) in Prolog fact(from(‘IT1’,athens)). fact(to(‘IT1’,crete)). fact(includesResort(‘IT1’,’CretaMareRoyal’). fact(breakfast(‘CretaMareRoyal’,true). fact(swimmingPool(‘CretaMareRoyal’,true). fact(includesTransportation(‘IT1’,’Aegean’). fact(from(‘IT2’,athens)). fact(to(‘IT2’,crete)). fact(includesResort(‘IT2’,’Atlantis’). fact(breakfast(‘Atlantis’,true). fact(swimmingPool(‘Atlantis’,false). fact(includesTransportation(‘IT2’,’Aegean’). …

21/6/ Queries ?- defeasibly(accept(‘IT2’)). no ?- defeasibly(accept(X)). X=IT1; no

21/6/ DR-Prolog Web Environment

21/6/ DR-Prolog Web Environment

21/6/ DR-Prolog Web Environment

21/6/ DR-Prolog Web Environment

21/6/ DR-Prolog Web Environment

21/6/ DR-Prolog Web Environment

21/6/ DR-Prolog Web Environment

21/6/ :- Thank You!