Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Slides:



Advertisements
Similar presentations
1 Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms Inference in propositional.
Advertisements

1
Chapter 7 System Models.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Programming Language Concepts
Knowledge Representation using First-Order Logic CS 271: Fall 2007 Instructor: Padhraic Smyth.
Break Time Remaining 10:00.
Turing Machines.
PP Test Review Sections 6-1 to 6-6
Bellwork Do the following problem on a ½ sheet of paper and turn in.
XML and Databases Exercise Session 3 (courtesy of Ghislain Fourny/ETH)
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 Decision Procedures An algorithmic point of view Equality Logic and Uninterpreted Functions.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Joint work with Andre Lieutier Dassault Systemes Domain Theory and Differential Calculus Abbas Edalat Imperial College Oxford.
CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Introduction to description logic: Single column QL  The ALC family of.
Knowledge Representation and Reasoning using Description Logic Presenter Shamima Mithun.
Chapter 6: ER – Entity Relationship Diagram
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.
Query Answering for OWL-DL with Rules Boris Motik Ulrike Sattler Rudi Studer.
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Analyzing Genes and Genomes
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 View Design and Integration.
Essential Cell Biology
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Energy Generation in Mitochondria and Chlorplasts
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
The Pumping Lemma for CFL’s
1 Programming Languages (CS 550) Mini Language Interpreter Jeremy R. Johnson.
An Introduction to Description Logics
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
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.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
An Introduction to Description Logics (chapter 2 of DLHB)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
Logics for Data and Knowledge Representation Exercises: DL.
LDK R Logics for Data and Knowledge Representation Description Logics (ALC)
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.
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.
LDK R Logics for Data and Knowledge Representation ClassL (part 2): Reasoning with a TBox 1.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
ece 627 intelligent web: ontology and beyond
Knowledge Repn. & Reasoning Lec #11+13: Frame Systems and Description Logics UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2011 Adina Magda Florea
Of 29 lecture 15: description logic - introduction.
CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
LDK R Logics for Data and Knowledge Representation Description Logics.
ece 720 intelligent web: ontology and beyond
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Description Logics.
Logics for Data and Knowledge Representation
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Introduction Motivation for Description Logic (DL) DL and First Order Logic (FOL) What is Description Logic? DL Architecture Reasoning Structures Applications of DL March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation Any area with information overload. Where amount of declarative information to be processed manually exceeds that of human abilities. Even if a large number of resources could be found, it would take an impractical number of human hours to process. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation Need for greater push for standardization of terminologies: Semantic Web Health Services Bio-informatics March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation We would like to model complex concepts using modern modeling structures. OWL, Web Ontology Language, is a computer processible syntax for expressive Description Logic. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation Propositional Logic (PL) has well defined operators and axioms creating atomic formulas. LHS and RHS Equivalences, such as: Commutativity ϕ ∨ ψ Ξ Ψ ∨ϕ Tautology ϕ ∨Τ Τ Unsatisfiability ϕ ∧   Implication ϕ -> ψ  ϕ ∨ ψ March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation We can already do a lot with PL But … No access to the structure of atomic statements. Consider Statements Mary is female John is male Mary and John are siblings Consider Propositions Mary-is-female John-is-male Mary-and-John-are-siblings March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation First Order Logic (FOL) The language of Predicate Logic Atomic formulas are sets of predicates interpreted as relations between elements of a domain. Consider Predicates Female (Mary) Male (John) Siblings (Mary, John) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Motivation Predicate Logic and FOL allows for formulas, arguments, free and bounded variables, and constants. Allows for literals, atomic formulas (relations), and negation. Well formed formulas, truth connectives, quantifiers over bounded variables. Quantifiers: Existential x. ϕ Ξ For some x, ϕ is true Universal x. ϕ For all x, ϕ is true March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic Motivation Represent relationships between objects. More complex relationships can be defined in terms of more basic relationships or objects. Woman Ξ Person Π Female Man Person Π Woman verses Woman-is-a-Person-who-is-a-Female Man-is-a-Person-who-is-not-a-Woman March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic … and First Order Logic Description Logic (DL) is derived from FOL. DL Relationships are limited to 1-argument predicates called concepts and 2-argument predicates called roles. FOL Predicates DL Relationships Description unary  concepts Woman( x ) binary roles Woman( x ).hasChild( y , x ) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic … and First Order Logic Concept C and its translation π(C)(x) are equivalent in the interpretation I = (ΔI, . I ) and all a  ΔI , where Δ is the domain, and I is the interpretation. Consider: a  CI iff I |= π(C)(a). a is an instance of an interpretation of WOMAN iff a FOL translation of this concept is true for "a" in the interpretation. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic … and First Order Logic Translation of roles in FOL takes the form of a predicate with two arguments. Roles relate two concepts to each other. Roles cannot occur by themselves; only as a part of a complex concept. This puts restrictions on syntax of FOL formulas that are allowed. Important to guarantee decidability and good computational properties of DLs. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic … and First Order Logic Translations require mappings on two variables : π(x) and π(y) πx(R:C) = y:R(y; x) ∧ πy(C) Mother(x) is true iff x truth values match those of the definition of Woman with some y a child. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic … and First Order Logic Unary Concept translations Binary Role translation Description Logic First Order Logic πx(A)  A(x) πx(C Π D) πx(C) ∧ πx(D) πx(C  D) πx(C) ∨ πx(D) πx(R.C) y.R(x; y) ∧ πy(C) πx( R.C) y.R(x; y)  πy(C) Description Logic First Order Logic πy(A)  A(y) πy(C Π D) πy(C) ∧ πy(D) πy(C  D) πy(C) ∨ πy(D) πy(R.C)  y.R(y, x) ∧ πx(C) πy(R.C)  y.R(y, x)  πx(C) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic … and First Order Logic Counting Quantifier translations Some x with at least n y’s A simple existential quantifier is insufficient: Description Logic First Order Logic πx(≥ n R)   ≥n y.R(x, y) πx(≤ n R)  ≤n y.R(x, y) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic What is Description Logic? Sub-language of First Order Logic Model hierarchical and complex relationships. Collection of these statements is called TBox. Man Ξ Person Π Woman Father (Person Π Woman) Π hasChild:Person Father Ξ (Man) Π hasChild:Person March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic What is Description Logic? The TBox is known as an ONTOLOGY (from Greek: science of beings, or science of things that exist). Ontology used to be a sub-discipline of philosophy. It is now at forefront of real world applications. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic What is Description Logic? Models systems which are complex through size and cyclic definitions. “Man who has Only Sons” (Mos) Mos Ξ Man Π hasChild.Man “Man who has Only Male Offspring” (Momo) Momo Ξ Man Π hasChild.Momo March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic What is Description Logic? DL handles cyclic definitions through fixpoints Least fixpoint is the lowest x value where f(x) = x Greatest fixpoint is the greatest x value where f(x) = x Halting depends on the domain of x Example: a binary tree’s least-point are the nodes with only terminal nodes at the branches. BinaryTree Ξ Tree Π (≤ 2 has-branch) Π (has-branch.BinaryTree) BinaryEndTree Tree Π (≤ 2 has-branch) Π (has-branch.BinaryTree) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic What is Description Logic? DL has variable-free syntax variables are implicitly understood There can be only two of them: x or y, but they can be reused. DL concepts denote sets of individuals. For concept C, and translation I. a  CI iff I |= π(C)(a). March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture Basic description language AL AL = attribute language A and B are atomic concepts C and D are concept descriptions R represents atomic roles Other Languages in this family are extensions of AL. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture Basic description language AL C, D  A atomic concept Τ universal concept  bottom concept A atomic negation C Π D intersection  R. value restriction  R.Τ Limited existential quantification March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture Atomic Concepts and Roles Person Π Female Person who is not a female Person Π hasChild.Τ Person with at least 1 child Person Π hasChild. Person with no children Person Π hasChild.Female Person with at least one daughter Person Π hasChild.Female Person with only daughters Mother  Father Person who is a Parent March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture Limited to two-variable structures. Handles acyclic, as well as cyclic statements. Acyclic: LHS has no terms which appear in RHS Mos Ξ Man Π hasChild.Man Cyclic: LHS has a term which appears in RHS Momo Ξ Man Π hasChild.Momo March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture DL defines statements by stating assertions about a subject using its vocabulary. Type of statements which make up a DL Ontology are the ABox and the TBox formalisms. TBox = terminology used in a domain. ABox = assertions which make statements about particular object instances in that domain, using the terminology in TBox. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture Knowledgebase TBox Description Language Reasoning ABox Application Programs Rules March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic DL Architecture TBox Father Ξ Man Π hasChild.Person Mother Woman Π hasChild.Person MotherWithoutDaughter Mother Π hasChild.¬Woman ABox MotherWithoutDaughter(MARY) Father(PETER) hasChild(MARY, PETER) hasChild(PETER, HARRY) hasChild(MARY, PAUL) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Reasoning Structures DL Knowledgebase stores more then definitions and assertions. DL contains implicit knowledge which can be made explicit through inferences. Inferences are made through a set of rules of inference. TBox contains these statement. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Reasoning Structures Modeling a domain requires defining a terminology, say T, which satisfies all previously defined statements about that domain. Any new interpretation must satisfy the axioms of T, and result in a non-empty set of concepts. Otherwise it is unsatisfiable. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Reasoning Structures Satisfiability: A concept C is satisfiable with respect to T if there exists a model I of T such that CI is nonempty: I |= C Subsumption: A concept C is subsumed by a concept D with respect to T if CI  DI for every model I of T: C T D T |= (C D) |Π |Π March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Reasoning Structures Subsumption con’t LHS is subsumed by the more general terms in RHS: Mother Woman Father Man Brunch Meal Sport Car Vehicle |Π |Π |Π |Π March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Description Logic Reasoning Structures Equivalence: Two concepts C and D are equivalent if C subsumes D and D subsumes C, with respect to T if CI = DI for every model I of T: [ C ΞT D and T |= C Ξ D ] [ C D and D C ] |Π |Π Disjointness: Two concepts C and D are disjoint with respect to T if: CI  DI =  March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL Different extensions to AL-languages. ALU Union (C  D) I ALε Full existential quantification R.C ALN Number restrictions ≥ n R and ≤ n R ALFL- Non-atomic negation A AL in combination with U, ε, N, and FL- form 8 languages which are pairwise non-equivalent. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL The special extension ALUε , represented by ALC, describe a commonly used language with axioms for union and existential quantification. The ALC extension is the basis for SHOIN, which in turn is the basis for the Web Ontology Language OWL OWL is formally recommended by the World Wide Web Consortium, W3C. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL OWL is a markup language given the tasks of providing syntax used to model ontologies on the web. The Semantic Web is an attempt to organize the plethora of information available on the internet March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL On the web, instead of showing all available links and infinite levels of sub-topics, a high level “description” is given. Description identifies the subject of the content on the web. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL Cyclic self-referenced nodes are contained within a higher level concept. Bound by fixpoints. This abstraction inherited from DL ensures satisfiability in the system. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL OWL Example: “Daugther” (misspelling preserved) <owl:Class rdf:ID="Daugther"> <owl:equivalentClass> <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:ID="Child"/> <owl:Class rdf:ID="Woman"/> </owl:intersectionOf> </owl:Class> </owl:equivalentClass> <owl:disjointWith> <owl:Class rdf:ID="Son"/> </owl:disjointWith> - http://protege.cim3.net/file/pub/ontologies/family.swrl.owl/family.swrl.owl March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL OWL Example: “Daugther” (misspelling preserved) <owl:Class rdf:ID="Daugther"> <owl:equivalentClass> <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:ID="Child"/> <owl:Class rdf:ID="Woman"/> </owl:intersectionOf> </owl:Class> </owl:equivalentClass> <owl:disjointWith> <owl:Class rdf:ID="Son"/> </owl:disjointWith> Daugther Ξ Child Π Woman Daugther Π Son  - http://protege.cim3.net/file/pub/ontologies/family.swrl.owl/family.swrl.owl March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL Description Logic can be analyzed for satisfiability with Theorem Provers (Prover9 / Vampire / Otter) Tableau Calculus Tableaux Calculus is a decision procedure solving the problem of satisafiability. If a formula is satisfiable, the procedure will constructively exhibit a model of the formula. March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL Tableau Calculus con’t The basic idea is to incrementally build the model by looking at the formula, by decomposing it in a top/down fashion. The procedure exhaustively looks at all the possibilities, so that it can eventually prove that no model could be found for unsatisfiable formulas. Unsatifiable formula contains a contradiction such as: p(a) Π p(a) March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic Applications of DL Closed vs Open World Semantics Connections to external databases require database schema mappings. Communicating TBoxes need to be mapped in order for the data in ABoxes to be meaningful. Closed systems represent internal databases where no mappings are required. A complete theory in a closed system may not be complete in an open world semantic March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic References Enrico Franconi, DESCRIPTION LOGICS - Tutorial Course Information, Faculty of Computer Science, Free University of Bozen-Bolzano, Italy; http://www.inf.unibz.it/~franconi/dl/course/ Franz Baader, Diego Calvanese, Deborah L. McGuinness, Daniele Nardi, Peter F. Patel-Schneider (Eds.): The Description Logic Handbook: Theory, Implementation, and Applications. Cambridge University Press 2003 Christine Golbreich, A SWRL/OWL Demo Ontology About Family Relationships, OWL Ontologies, ProtegeOntologiesLibrary; http://protege.cim3.net/file/pub/ontologies/family.swrl.owl/family.swrl.owl March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science

Bart Gajderowicz, Ryerson University, Dept. of Computer Science Description Logic The End Thank you Q & A Bart Gajderowicz bgajdero@ryerson.ca www.scs.ryerson.ca/~bgajdero March-03-09 Bart Gajderowicz, Ryerson University, Dept. of Computer Science