Automated Deduction Techniques for Knowledge Representation Applications Peter Baumgartner Max-Planck-Institute for Informatics.

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

Combining Description Logic, Autoepistemic Logic and Logic Programming Peter Baumgartner Max-Planck-Institute for Computer Science, Saarbrücken.
Query Answering based on Standard and Extended Modal Logic Evgeny Zolin The University of Manchester
Modal Logic with Variable Modalities & its Applications to Querying Knowledge Bases Evgeny Zolin The University of Manchester
The 20th International Conference on Software Engineering and Knowledge Engineering (SEKE2008) Department of Electrical and Computer Engineering
Query Answering for OWL-DL with Rules Boris Motik Ulrike Sattler Rudi Studer.
Cs7120 (Prasad)L22-MetaPgm1 Meta-Programming
Logic Programming Automated Reasoning in practice.
Automated Reasoning Systems For first order Predicate Logic.
We have seen that we can use Generalized Modus Ponens (GMP) combined with search to see if a fact is entailed from a Knowledge Base. Unfortunately, there.
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
Logic Programming Infrastructure for Inferences on FrameNet Peter Baumgartner MPI Informatik, Saarbrücken Aljoscha Burchardt Universitaet des Saarlandes,
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
1 Introduction to Computability Theory Lecture12: Decidable Languages Prof. Amos Israeli.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Existential Graphs and Davis-Putnam April 3, 2002 Bram van Heuveln Department of Cognitive Science.
DL systems DL and the Web Ilie Savga
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
Knowledge Mediation in the WWW based on Labelled DAGs with Attached Constraints Jutta Eusterbrock WebTechnology GmbH.
Integrating DLs with Logic Programming Boris Motik, University of Manchester Joint work with Riccardo Rosati, University of Rome.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Applying Belief Change to Ontology Evolution PhD Student Computer Science Department University of Crete Giorgos Flouris Research Assistant.
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
1 Inference Rules and Proofs (Z); Program Specification and Verification Inference Rules and Proofs (Z); Program Specification and Verification.
The Bernays-Schönfinkel Fragment of First-Order Autoepistemic Logic Peter Baumgartner MPI Informatik, Saarbrücken.
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Resolution principle, Description Logic and Fuzzy Description Logic Hashim Habiballa University of.
Using Several Ontologies for Describing Audio-Visual Documents: A Case Study in the Medical Domain Sunday 29 th of May, 2005 Antoine Isaac 1 & Raphaël.
LDK R Logics for Data and Knowledge Representation Description Logics (ALC)
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
1 Features as Constraints Rafael AccorsiUniv. Freiburg Carlos ArecesUniv. Amsterdam Wiet BoumaKPN Research Maarten de RijkeUniv. Amsterdam.
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
9/30/98 Prof. Richard Fikes Inference In First Order Logic Computer Science Department Stanford University CS222 Fall 1998.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
OilEd An Introduction to OilEd Sean Bechhofer. Topics we will discuss Basic OilEd use –Defining Classes, Properties and Individuals in an Ontology –This.
Automated Reasoning Systems For first order Predicate Logic.
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Chain resolution and its fuzzyfication Dr. Hashim Habiballa University of Ostrava.
ece 627 intelligent web: ontology and beyond
CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
Fabian M. SuchanekPPSWR Automated Reasoning Support for FOL Ontologies 1 presented at the 4 th Workshop on Principles and Practice of Semantic Web.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
On Abductive Equivalence Katsumi Inoue National Institute of Informatics Chiaki Sakama Wakayama University MBR
Certifying and Synthesizing Membership Equational Proofs Patrick Lincoln (SRI) joint work with Steven Eker (SRI), Jose Meseguer (Urbana) and Grigore Rosu.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Rule-based Reasoning in Semantic Text Analysis
Knowledge Representation and Reasoning
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 20
Knowledge Representation I (Propositional Logic)
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Model Generation Theorem Proving for First-Order Logic Ontologies
Presentation transcript:

Automated Deduction Techniques for Knowledge Representation Applications Peter Baumgartner Max-Planck-Institute for Informatics

Automated Deduction Techniques for Knowledge Representation Applications2 The Big Picture Ontologies - OWL DL (Tambis, Wine, Galen) - First-Order (SUMO/MILO, OpenCyc) - FrameNet Rules (SWRL) Data (ABox) Knowledge Base Tasks - TBox: (Un)satisfiability,Subsumption - ABox: Instance, Retrieve - General entailment tasks Theorem provers for: - Classical FO (ME: Darwin) - FO with Default Negation (Hyper Tableaux: KRHyper) Reasoning Robust Reasoning Services? - Issues: undecidable logic, model computation, equality, size - Approach: transformation of KB tailored to exploit prover features

Automated Deduction Techniques for Knowledge Representation Applications3 Contents Transforming the knowledge base for reasoning –Transformation of OWL to clause logic: about equality –Treating equality –Blocking Theorem proving –KRHyper model generation prover –Experimental evaluation Rules: an application for reasoning on FrameNet

Automated Deduction Techniques for Knowledge Representation Applications4 We use the WonderWeb OWL API to get FO Syntax first Then apply standard clause normalform trafo (except for "blocking") Equality comes in, e.g., for –nominals ("oneOf") –cardinality restrictions -> Need an (efficient) way to treat equality Transformation of OWL to Clause Logic Whit e L o i re v 8 ma d e F rom G rape : S a uv i gnon t C h en i n t Pi no tWhit e L o i re ( x ) ^ ma d e F rom G rape ( x, y ) ) y = S a uv i gnon _ y = C h en i n _ y = Pi no t C a ti on v· 4h as C h arge C a ti on ( x ) ^ h as C h arge ( x, x 1 ) ^ ¢¢¢ ^ h as C h arge ( x, x 5 ) ) x 1 = x 2 _ x 1 = x 3 _ ¢¢¢ _ x 4 = x 5

Automated Deduction Techniques for Knowledge Representation Applications5 Equality Option1: use equality axioms But substitution axioms - cumbersome Option 2: use a (resolution) prover with built-in equality But how to extract a model from a failed resolution proof? We focus on systems for model generation Option 3: Transform equality away a la Brand's transformation Problem: Brand's Transformation is not "efficient enough" Solution: Use a suitable, modified Brand transformation x = y ) f( x ) = f( y )

Automated Deduction Techniques for Knowledge Representation Applications6 Brand's Transformation Revisited Extension of Brand's Method: UNA for constants (optional) Modified Flattening A clause is flatt iff all proper subterms are constants or variables Our Transformation - modified flattening - add equivalence relation axioms for = - add predicate substitution axioms It works much better in practice! Add : ( a = b ) f ora lldiff eren t cons t an t s a an d bP ( y ) Ã P ( x ), x = y

Automated Deduction Techniques for Knowledge Representation Applications7 Blocking Problem: Termination in case of satisfiable input Specifically: cyclic definitions in TBox Example from Tambis KB: Solution: Learn from blocking technique from description logics "Re-use" previously introduced individual to satisfy exist-quantifier Here: encode search for model with finite dom ain in clause logic: Issue: Make it work fast: don't be too ambitious on speculating TBox A u t h ore dCh ap t er C o ll ec t i on B oo k 9h as A u t h or 9h as P ar t Try this first a C( a ) ^ d om ( a ) a C( P ( A ( a ))) ^ P ( A ( a )) = aa C( P ( A ( a ))) ^ d om ( P ( A ( a )))

Automated Deduction Techniques for Knowledge Representation Applications8 KRHyper Semantics Classical predicate logic (refutational complete) Stable models of normal programs (with transformation) Possible models for disjunctive programs (with transformation) Efficient Implementation (in Ocaml): Transitive closure of facts -> facts: KRHyper: 17 sec, 63 Mb Otter (pos. hyperres)37 min, 124 Mb Compiling SATCHMO: 2:14 h, 271 Mb smodels: - - User manual Proof tree output

Automated Deduction Techniques for Knowledge Representation Applications9 Computing Models with KRHyper - Disjunctive logic programs - Stratified default negation a. (1) b ; c :- a. (2) a ; d :- c. (3) false :- a,b. (4) {} ² (1) {a,b} ² (4) a bc {a} ² (2) a X X {a,c} ² (1)-(4) a bc X e :- c, not d. (5) e - Variant for predicate logic - Extensions: minimal models, abduction, default negation

Automated Deduction Techniques for Knowledge Representation Applications10 Experimental Evaluation OWL Test Cases

Automated Deduction Techniques for Knowledge Representation Applications11 Realistically Sized Ontologies Tambis –About chemical structures, functions, processes, etc within a cell –345 concepts,107 roles –KRHyper: 2 sec per subsumption test Wine –Wine and food ontology, from the OWL test suite –346 concepts, 16 roles, 150 GCIs, ABox –KRHyper: 80 sec / 3 sec per negative / positive subsumption test Galen Common Reference Model –Medical teminology ontology –big: concepts, relations, 400 GCIs, transitivity –KRHyper: 5 sec per subsumption test OpenCyc – (simple) rules. Darwin: 60 sec for satisfiability

Automated Deduction Techniques for Knowledge Representation Applications12 Rules Adding logic programming style rules is currently discussed in the Semantic Web context (SWRL and many others) Example: Cannot be expressed in description logics Adding rules to the input language is trivial in approaches that transform ontologies to clause logic Problem: can simulate Role-Value maps, leading to undecidability Rationale of doing it nethertheless: –Better have only a semi-decision procedure than nothing –In many cases have termination nethertheless (with blocking) –Really useful in some applications H ome W or k er ( x ) Ã w or k ( x, y ) ^ li v e ( x, z ) ^ l oc ( y, w ) ^ l oc ( z, w )

Automated Deduction Techniques for Knowledge Representation Applications13 From Natural Language Text To Frame Representation Frame Representation Com GT Buyer: BMW Seller: BA Goods: Rover Money: unknown Linguistic Method BMW Rover BA Rover BuySell Com GT FrameNet 550 Frames 7000 Lex Units Deduction System Text BMW bought Rover from BA Logic Work in Colaboration with Computer Linguistics Department (Prof. Pinkal)

Automated Deduction Techniques for Knowledge Representation Applications14 Transfer of Role Fillers The plane manufacturer has from Great Britain the order for 25 transport planes received. Task: Fill in the missing elements of „Request“ frame (Slide by Gerd Fliedner)

Automated Deduction Techniques for Knowledge Representation Applications15 Transfer of Role Fillers receive target: „received“ donor: „Great Britain“ recipient: manufacturer1 theme: request1 receive1: The plane manufacturer has from Great Britain the order for 25 transport planes received. request target: „order“ speaker: addressee: message: „transport plane“ request1: Parsing gives partially filled FrameNet frame instances of „receive“ and „request“:  Transfer of role fillers done so far manually  Can be done automatically. By „model generation“ „Great Britain“ manufacturer

Automated Deduction Techniques for Knowledge Representation Applications16 Transfer of Role Fillers by Rules speaker(Request, Donor) :- receive(Receive), donor(Receive, Donor), theme(Receive, Request), request(Request). receive(receive1). donor(receive1, „Great Britain“). theme(receive1,request1). request(request1). receive target: „received“ donor: „Great Britain“ recipient: manufacturer1 theme: request1 receive1: request target: „order“ speaker: addressee: message: „transport plane“ „Great Britain“ request1: FactsRules

Automated Deduction Techniques for Knowledge Representation Applications17 Exploiting Nonmonotonic Negation: Default Values Insert default value as a role filler in absence of specific information receive target: „received“ donor: „Great Britain“ recipient: manufacturer1 theme: request1 receive1: request target: „order“ speaker: addressee: message: „transport plane“ „Great Britain“ request1: Should transfer "donor" role filler only if "speaker" is not already filled: default_request_speaker(Request, Donor) :- receive(Receive), donor(Receive, Donor), theme(Receive, Request), request(Request).

Automated Deduction Techniques for Knowledge Representation Applications18 Default Values Insert default value as a role filler in absence of specific information Example: In Stock Market context use default "share" for "goods" role of "buy": default_buy_goods(Buy, "share") :- ' Buy is an event in a stock market context'. Example: Disjunctive (uncertain) information Linguistic analysis is uncertain whether "Rover" or "Chrysler" was bought: default_buy_goods(buy1,"Rover"). default_buy_goods(buy1,"Chrysler"). This amounts to two models, representing the uncertainty They can be analyzed further

Automated Deduction Techniques for Knowledge Representation Applications19 Default Value – General Transformation Choice to fill with default value or not: goods(F,R) :- not not_goods(F,R), buy(F), default_buy_goods(F,R). not_goods(F,R) :- not goods(F,R), buy(F), default_buy_goods(F,R). Case of waiving default value: false :- buy(F), default_buy_goods(F,R1), goods(F,R1), goods(F,R2), not equal(R1,R2). equal(X,X). Technique: a :- not not_a. not_a :- not a. has two stable models: one where a is true and one where a is false Require at least one filler for role: false :- buy(F), not some_buy_goods(F). Role is filled: some_buy_goods(F) :- buy(F), goods(F,R).

Automated Deduction Techniques for Knowledge Representation Applications20 Conclusions Objective: "robust" reasoning support beyond description logics Method –FO theorem prover, specifically model generation paradigm –Tailor translation to capitalize on prover features –Exploit nonmonotonic features (for KB with FO semantics!) Practice –Experimental evaluation on OWL test suite "promising" –Need more experiments with e.g. OpenCyc and FrameNet