CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Introduction to description logic: Single column QL  The ALC family of.
OWL - DL. DL System A knowledge base (KB) comprises two components, the TBox and the ABox The TBox introduces the terminology, i.e., the vocabulary of.
Biointelligence Lab School of Computer Sci. & Eng.
Lecture 11: Datalog Tuesday, February 6, Outline Datalog syntax Examples Semantics: –Minimal model –Least fixpoint –They are equivalent Naive evaluation.
Logic.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Inference and Resolution for Problem Solving
Propositional Logic Reasoning correctly computationally Chapter 7 or 8.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Tableau Algorithm.
CSE-291: Ontologies in Data & Process Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies.
Notes on DL Reasoning Shawn Bowers April, 2004.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE COS302 MICHAEL L. LITTMAN FALL 2001 Satisfiability.
- r r Saturation-Based Decision Procedures and Complexity Analysis Yevgeny Kazakov R. 615 Applications Add semantic markup to a.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
The Bernays-Schönfinkel Fragment of First-Order Autoepistemic Logic Peter Baumgartner MPI Informatik, Saarbrücken.
Topics in artificial intelligence 1/1 Dr hab. inż. Joanna Józefowska, prof. PP Reasoning and search techniques.
An Introduction to Description Logics (chapter 2 of DLHB)
CSE S. Tanimoto Horn Clauses and Unification 1 Horn Clauses and Unification Propositional Logic Clauses Resolution Predicate Logic Horn Clauses.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 28– Interpretation; Herbrand Interpertation 30 th Sept, 2010.
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.
Logic Logic can be traced back to Aristotle, and more recently to Frege who introduced predicate logic as a language for representing and reasoning about.
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,
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.
Knowledge Representation in Description Logic. 1. Introduction Description logic denotes a family of knowledge representation formalisms that model the.
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.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
LDK R Logics for Data and Knowledge Representation ClassL (part 2): Reasoning with a TBox 1.
CSE (c) S. Tanimoto, 2008 Predicate Calculus II 1 Predicate Calculus 2 Outline: Unification: definitions, algorithm Formal interpretations and satisfiability.
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.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Chain resolution and its fuzzyfication Dr. Hashim Habiballa University of Ostrava.
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
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.
Knowledge Repn. & Reasoning Lec #11+13: Frame Systems and Description Logics UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2011 Adina Magda Florea
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Chapter 8 Relational Database Design. 2 Relational Database Design: Goals n Reduce data redundancy (undesirable replication of data values) n Minimize.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
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.
Introduction to Logic for Artificial Intelligence Lecture 2
Logics for Data and Knowledge Representation
Horn Clauses and Unification
Lecture 2 Propositional Logic
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Horn Clauses and Unification
Horn Clauses and Unification
Horn Clauses and Unification
Horn Clauses and Unification
A Tutorial Summary of Description Logic and Hybrid Rules
Logics for Data and Knowledge Representation
Presentation transcript:

CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration Spring 2003 Bertram Ludäscher Tableaux calculus II, introduction to the LeanTAP prover Example: Reasoning about concepts with LeanTAP Definitorial terminologies, terminological cycles BREAK Q&A to Assignments

CSE-291: Ontologies in Data Integration (Semantic) Tableaux Rules A branch is closed if it contains complementary formulasA branch is closed if it contains complementary formulas A tableaux is closed if every branch is closedA tableaux is closed if every branch is closed t arbitrary c new (  ) rule for F = A  B(  ) rule for F = A  B (  ) rule for F = A  B(  ) rule for F = A  B (  ) rule for F =  x: A(X,...)(  ) rule for F =  x: A(X,...) –substitute a  -variable X with an arbitrary term t (  ) rules for F =  x: A(X,...)(  ) rules for F =  x: A(X,...) –substitute a  -variable X with a new constant c

CSE-291: Ontologies in Data Integration FO Tableaux Calculus Theorem (Soundness, Completeness of Tableaux calculus): Let A 1,..., A k and F be first-order logic sentences. (Recall: a sentence is a closed formula, i.e., has no free variables ) Then the following are equivalent: 1.A 1,..., A k |= F 2.A 1 ...  A k  F is unsatisfiable (inconsistent) 3.There is a closed tableaux for {A 1,..., A k,  F}

CSE-291: Ontologies in Data Integration Example Revisited Initial Example in FO logicInitial Example in FO logic How can we prove it in the Tableaux Calculus?How can we prove it in the Tableaux Calculus? (Assumption)

CSE-291: Ontologies in Data Integration Partially closed tableaux [Becker&Haehnle, Automatisches Beweisen, 2001]

CSE-291: Ontologies in Data Integration Description Logic Revisited a whole family of DLs is obtained by addinga whole family of DLs is obtained by adding –full existential quantification  R.C –union –... Source: [F. Baader, W. Nutt. Basic Description Logics. Description Logic Handbook, Cambridge University Press, 2002]. Basic description logic Basic description logic

CSE-291: Ontologies in Data Integration... Reasoning with the Family... concept definition: MyConcept  DL-formulaconcept definition: MyConcept  DL-formula concept inclusion: MyConcept  DL-formulaconcept inclusion: MyConcept  DL-formula finite set of definitions is a terminology or TBox if for every atomic concept A there is at most one axiom whose lhs is Afinite set of definitions is a terminology or TBox if for every atomic concept A there is at most one axiom whose lhs is A

CSE-291: Ontologies in Data Integration Definitorial Terminologies In a Tbox T we distinguish: primitive concepts (occurring only on rhs) and defined concepts (occurring on lhs)In a Tbox T we distinguish: primitive concepts (occurring only on rhs) and defined concepts (occurring on lhs) T is definitorial if every interpretation of primitive concepts yields exactly one model of T (and thus for the defined concepts)T is definitorial if every interpretation of primitive concepts yields exactly one model of T (and thus for the defined concepts)  meaning of defined concepts is fixed once the primitive concepts are interpreted ! A directly uses B in T if B appears in the rhs of the definition of AA directly uses B in T if B appears in the rhs of the definition of A A uses B is the transitive closure of ‘directly uses’A uses B is the transitive closure of ‘directly uses’ T is cyclic if A uses A for some A; else acyclicT is cyclic if A uses A for some A; else acyclic One can show: If T is acyclic then T is definitorial What about this one? What about this one?

CSE-291: Ontologies in Data Integration Expansion of Terminologies For acyclic T we can “unfold” concept definitions until every defined concepts is specified in terms of primitive concepts onlyFor acyclic T we can “unfold” concept definitions until every defined concepts is specified in terms of primitive concepts only  the expansion of a Tbox T Example:Example:

CSE-291: Ontologies in Data Integration Reasoning in the Tableaux calculus Tbox Expansion From this We want to show this In First-order (LeanTap) syntax

CSE-291: Ontologies in Data Integration LeanTap Demo

CSE-291: Ontologies in Data Integration Computing the Negation Normal Form LeanTap Tableaux Prover:LeanTap Tableaux Prover: –{Axioms} & –( Theorem ) –  FO formula –  formula in NNF –  attempt to close tableaux

CSE-291: Ontologies in Data Integration The Sound and Complete LeanTap Tableaux Prover

CSE-291: Ontologies in Data Integration How LeanTAP works (1) select A; put B in unexpanded list(1) select A; put B in unexpanded list (3) split branch; creates two new goals(3) split branch; creates two new goals (6) create new instance  (X1) from  (X) formula, add X1 to free vars; or backtrack if varlimit is reached(6) create new instance  (X1) from  (X) formula, add X1 to free vars; or backtrack if varlimit is reached (11) close branch for literals; recurse(11) close branch for literals; recurse

CSE-291: Ontologies in Data Integration The Sound and Complete LeanTap Tableaux Prover

CSE-291: Ontologies in Data Integration Reasoning in Database Mediation View expansion in Global-as-View mediation is similar to this concept expansionView expansion in Global-as-View mediation is similar to this concept expansion –uncle(X, Y) :- parent(X, Z), brother(Z, Y) ; parent(X, Z), brother_in_law(Z, Y). –aunt(X, Y) :- parent(X, Z), sister(Z, Y) ; parent(X, Z), sister_in_law(Z, Y). –parent(X, Y) :- father(X, Y) ; mother(X, Y). –brother_in_law(X, Y) :- sister(X, Z), spouse(Z, Y) ; spouse(X, Z), brother(Z, Y).... Goal: find a “query plan” that expresses the derived relation uncle/2 in terms of only base relations (father/2, mother/2,..)Goal: find a “query plan” that expresses the derived relation uncle/2 in terms of only base relations (father/2, mother/2,..)

CSE-291: Ontologies in Data Integration Querying vs. Reasoning Querying:Querying: –given a DB instance I (= logic interpretation), evaluate a query expression (e.g. SQL, FO formula, Prolog program,...) –boolean query: check if I |=  (i.e., if I is a model of  ) –(ternary) query: { (X, Y, Z) | I |=  (X,Y,Z) } => check happyFathers in a given database Reasoning:Reasoning: –check if I |=  implies I |=  for all databases I, –i.e., if  =>  –undecidable for FO, F-logic, etc. –Descriptions Logics are decidable fragments  concept subsumption, concept hierarchy, classification  semantic tableaux, resolution, specialized algorithms

CSE-291: Ontologies in Data Integration Mediator Demo: query/view rewriting (aka planning) is reasoning!

CSE-291: Ontologies in Data Integration Querying (a database) is formula evaluation (aka running the query)