DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Chain resolution and its fuzzyfication Dr. Hashim Habiballa University of Ostrava.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Some Prolog Prolog is a logic programming language
Resolution Proof System for First Order Logic
Inference Rules Universal Instantiation Existential Generalization
Inference in first-order logic Chapter 9. Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Automated Reasoning Systems For first order Predicate Logic.
First Order Logic Resolution
Logic Use mathematical deduction to derive new knowledge.
Propositional Logic Reading: C , C Logic: Outline Propositional Logic Inference in Propositional Logic First-order logic.
Logic.
1 Logical reasoning systems Theorem provers and logic programming languages Production systems Frame systems and semantic networks Description logic systems.
Knowledge Representation Methods
1 Applied Computer Science II Resolution in FOL Luc De Raedt.
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
CSE (c) S. Tanimoto, 2008 Propositional Logic
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Inference in FOL Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 9 Spring 2004.
Inference and Resolution for Problem Solving
Inference in First-Order Logic
Review: forward E { P } { P && E } TF { P && ! E } { P 1 } { P 2 } { P 1 || P 2 } x = E { P } { \exists … }
Artificial Intelligence
Plan for the rest of the quarter TuesdayThursday Week 7ResolutionProof carrying code Week 8No class (Sorin in DC for workshop) Predicate abstraction (Mystery.
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
INFERENCE IN FIRST-ORDER LOGIC IES 503 ARTIFICIAL INTELLIGENCE İPEK SÜĞÜT.
Boolean Satisfiability and SAT Solvers
Empirical Explorations with The Logical Theory Machine: A Case Study in Heuristics by Allen Newell, J. C. Shaw, & H. A. Simon by Allen Newell, J. C. Shaw,
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
UIUC CS 497: Section EA Lecture #3 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Conjunctive normal form: any formula of the predicate calculus can be transformed into a conjunctive normal form. Def. A formula is said to be in conjunctive.
1 Chapter 8 Inference and Resolution for Problem Solving.
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
Logic CL4 Episode 16 0 The language of CL4 The rules of CL4 CL4 as a conservative extension of classical logic The soundness and completeness of CL4 The.
Logical Agents Logic Propositional Logic Summary
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
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.
Unification Algorithm Input: a finite set Σ of simple expressions Output: a mgu for Σ (if Σ is unifiable) 1. Set k = 0 and  0 = . 2. If Σ  k is a singleton,
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.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
9/30/98 Prof. Richard Fikes Inference In First Order Logic Computer Science Department Stanford University CS222 Fall 1998.
Bertram Ludäscher Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Automated Reasoning Early AI explored how to automate several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.
CS6133 Software Specification and Verification
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 18 of 41 Friday, 01 October.
From Hoare Logic to Matching Logic Reachability Grigore Rosu and Andrei Stefanescu University of Illinois, USA.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
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,
Inference in First Order Logic. Outline Reducing first order inference to propositional inference Unification Generalized Modus Ponens Forward and backward.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Of 35 lecture 17: semantic web rules. of 35 ece 627, winter ‘132 logic importance - high-level language for expressing knowledge - high expressive power.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Chapter 7. Propositional and Predicate Logic
Resolution in the Propositional Calculus
Artificial Intelligence
Logic Use mathematical deduction to derive new knowledge.
Search techniques.
Presentation transcript:

DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Chain resolution and its fuzzyfication Dr. Hashim Habiballa University of Ostrava

Introduction Semantic web - logical foundations Description logic First-order logic (FOL) – undecidability, effective Automated Theorem Proving (ATP) Fuzzyfication in the frame of Fuzzy FOL vs. Fuzzy DL

Logical foundations for Semantic Web Specialized knowledge base of DL (FOL)  Specialized inference rules and strategies for DL (FOL) Is native logical framework of SW the only way? (syntactic methods are also effective w.r.t. searching) Logic  Language  transformation Requirement of a good inference engine remains

Description Logic Proved methods and properties of FOL –resolution, tableaux –decidable classes Relatively narrowed quantifier usage (consider FOL vs. PROLOG) Fuzzyfication in the frame of Fuzzy FOL Known resolution strategies for FOL may be used in DL Furthermore exist high-speed techniques for ontologies (e.g. chain resolution)

First-order logic Automated Theorem proving – well studied branch. (theorem proving web site) –high-speed theorem provers based on various techniques –Thousands of Problems for Theorem Provers –CADE ATP System Competition.

First-order logic resolution principle (Handbook of Automated Reasoning) (Resolution Theorem Proving) Resolution strategies –SOS (set of support) –Filtration s. –Orderings

Fuzzyfication (Fuzzy general resolution) Fuzzy Description Logic Special strategies for Fuzzy FOL (Fuzzy DL)  Research framework for IRAFM –Fuzzy Logics for SW –Resolution principles and strategies –Implementation

Chain resolution motivation Tammet, T.: Extending Classical Theorem Proving for the Semantic Web Chain resolution – encapsulation of simple implications (chain clauses - CC) A  B, B  C, … Key problem of ATP = combinatorial explosion (CE) during inference process Chain clauses (even simple) cause CE Ontology is full of chain clauses e.g. person(X)  mammal(X), mammal(X)  animal(X), …

Chain resolution motivation Chain clauses produce potentially enormous number of propositional variations e.g. person(X)  animal(X),  animal(X)   person(X), … Solution lies in encapsulation of variations into boolean matrix  variations are forbidden in a set of resolvents  inference algoritmhs modifications  Significant restriction of CE is obtained

Chain resolution background, explanation Chain clause: A(X 1, …, X n )  B(X 1, …, X n ), A, B - signed predicate symbols (reduced to unary predicate symbols in this presentation) X i - variables Propositional variation C’ of C:C’ is derivable by binary res. from C and set of chain clauses Chain clauses are excluded from set of resolvents and are stored in Chain Box Chain Box: Data structure containing for every key (signed pred. symbol) its chain of pred. symbols derivable by chain clauses from key

Chain resolution example Assume following knowledge and chain box rows: person(X)  mammal(X),mammal(X)  animal(X),horse(X)  mammal(X) Key: person chain: {person, mammal, animal} Key: mammal chain:{mammal, animal} Key:  mammal chain:{  mammal,  person,  horse} The chain box could be implemented as a bit matrix of the size 4*number_of_predicates 2

Chain resolution background, explanation Chain box stores information for A  B: Both of the type A  B and  B   A (A  B   A  B  B   A   B   A) The chain box could be implemented as a bit matrix of the size 4*(number_of_predicates) 2 Of course ontology may contain also complex formulas (not only chain clauses)

Chain resolution example Assume same knowledge as previous: person(X)  mammal(X),mammal(X)  animal(X),horse(X)  mammal(X) (where person(X) = P, mammal(X) = M, horse(X) = H, animal(X) = A) Matrix PP PP PP MM MM MM HH HH HH AA AA AA  P M H A

Chain resolution motivation and algorithm During proof search it is obvious: ­New chain clauses are produced ­Some clauses are typically present ­Chain clauses produce high amount propositional variations The algorithm of chain resolution consists of: ­Moving chain clauses into chain box ­Ordinary resolution, factorisation, subsumption using chain box

Chain resolution building the chain box Moving chain clauses: ­Initialization - key P and  P contain itself ­Removing CC from search space and adding to chain box (recursive function); if unit clause produced, then added into search space ­Every time the chain clauses produced, it is added by the same rule as above ­Unit clause p(x) is produced if key(p) consists of r,  r (p  r and p  r means p is derivable)

Chain resolution using the chain box Resolution with chain box: ­A(t 1, …, t n ), B(u 1, …, u n ) are resolvable literals, iff A(t 1, …, t n ) and A(u 1, …, u n ) are unifiable using standard unification and B =  A or B  chain(  A) (note that chain box is constructed as follows -  A  B   B  A)

Chain resolution using the chain box Factorisation with chain box: ­A(t 1, …, t n ), B(u 1, …, u n ) are literals in two clauses, A(t 1, …, t n ) and A(u 1, …, u n ) are unifiable using standard unification then the resulting literal should be: 1.A(t 1, …, t n ) if A = B 2.A(t 1, …, t n ) if A  chain(B) 3.B(t 1, …, t n ) if B  chain(A) (note that if cond. 2. and 3. hold simultaneously then resulting literal should be like 2. or 3. without any preference)

Chain resolution using the chain box Subsumption (of literals!) with chain box: ­A(t 1, …, t n ) subsumes B(u 1, …, u n ), iff A(t 1, …, t n ) subsumes B(u 1, …, u n ) using standard subsumption and A = B or B  chain(A) Chain resolution procedures significantly reduce proof search for FOL Using it for DL, where ontologies contain typically large amount of simple implications (CC), it brings high- efficient technique for SW Chain resolution is sound and complete

Chain resolution strategies Set of Support (SOS): ­Sets R (knowledge base), Q (query), Q’(new clauses) ­Allows resolution only when at least one premise is from Q or Q’ (derivations from R alone are prohibited) ­In standard resolution it is complete strategy Naive combination with chain resolution: ­Resolution is restricted by SOS, chain clauses are moved from R,Q,Q’, it is allowed to use any clause from chain box ­Naive combination is not complete

Chain resolution strategies Weak combination with SOS: ­Resolution is restricted by SOS ­Chain clauses are moved to chain box only from R ­It is always allowed to use clause from chain box ­R is not allowed chain subsumption with clause from Q or Q’ ­Weak combination is complete Ordering strategies: ­Orderings form modern approach in ATP ­Term based orderings preserve completeness in combination with chain resolution

Chain resolution implementation Chain resolution is implemented for FOL – Gandalf TP: Scheme of ATP: Compilation(analysis – serching for suitable strategy, terminating strategy, first filtering, chain box, final filtering, query – in case of repeated queries)

Perspectives for IRAFM Fuzzyfication of DL – implementation Research on inference strategies (theory, implementation and testing) ­Chain resolution for Fuzzy FOL ­Other strategies for Fuzzy FOL and DL ­Effective inference – fuzzy selection of premises, evolutionary search for optimal selection of premises ­Syntactical means and combination with SW (formal languages, linguistic expressions of fuzzy logic)?