74.419 Artificial Intelligence Description Logics see references last slide.

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

First-Order Logic Chapter 8.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
LAOS: Layered WWW AHS Authoring Model and their corresponding Algebraic Operators Dr. Alexandra Cristea
Artificial Intelligence Description Logics - Background and Motivation for DL Relation between DL and FOPL (extensional Semantics) Example.
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.
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.
An Introduction to Description Logics
Semantics Static semantics Dynamic semantics attribute grammars
ICE1341 Programming Languages Spring 2005 Lecture #6 Lecture #6 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
First Order Logic Resolution
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
Knowledge Representation
Knowledge Representation and Reasoning using PowerLoom Presenter Shamima Mithun.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
USCISIUSCISI Tuning for Performance Outline of talk: Classifier Performance Recognizer Performance Performance Tips CLOS Instances and the Backchainer.
USCISIUSCISI Frequently Asked Questions Why Don’t Instances Get Recognized? Use of “:all” Use of “:for-all” Compiling Loom Code Combining Number Restrictions.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Natural Language Processing  First-Order Predicate Logic - Predicates  Short Introduction to Description Logics  PowerLoom.
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
USCISIUSCISI Loom: Basic Concepts Thomas A. Russ USC Information Sciences Institute.
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.
ANHAI DOAN ALON HALEVY ZACHARY IVES Chapter 12: Ontologies and Knowledge Representation PRINCIPLES OF DATA INTEGRATION.
Ontology Alignment/Matching Prafulla Palwe. Agenda ► Introduction  Being serious about the semantic web  Living with heterogeneity  Heterogeneity problem.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
CSE-291: Ontologies in Data & Process Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
MATH 224 – Discrete Mathematics
Inference Graphs: A Roadmap Daniel R. Schlegel and Stuart C. Department of Computer Science and Engineering L A – Logic of Arbitrary.
USCISIUSCISI Background Description Logic Systems Thomas Russ.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
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)
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.
USCISIUSCISI Basic Introduction to Loom Thomas A. Russ USC Information Sciences Institute.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
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.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
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.
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
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
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Of 29 lecture 15: description logic - introduction.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Knowledge Representation and Inference Dr Nicholas Gibbins 32/3019.
Definition and Technologies Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Semantic Web Foundations
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
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.
Logics for Data and Knowledge Representation
Presentation transcript:

Artificial Intelligence Description Logics see references last slide

Description Logics Background and Motivation for DL Relation between DL and FOPL (extensional Semantics) Example Definitions The horrible truth of DL T-Box, A-Box LOOM

Description Logics - Background Prevent flaws of Semantic Networks; provide clear semantics of nodes and links Derived from Inheritance Hierarchies (IS-A hierarchies; taxonomies; terminologies) and Frame Systems  Concepts, Roles, Features Series of KR Languages starting with KL-ONE, later KL-TWO, LOOM, CLASSIC,... Relate to FOPL via extensional semantics Applied e.g. in Semantic Web Languages (DAML+OIL)

Description Logics - Overview DL provide language constructs to define concepts. Concepts are interpreted as sets of individuals (extensional semantics). Concept definitions are linear expressions, combining concepts, roles, etc. to express constraints on the fillers of the concept. The IS-A hierarchy is reflected in the subsumption relation (super-class–sub-class relation), interpreted through set-inclusion.

Description Logic Notation The examples on the following slides are based on Ian Horrocks' and Ulrike Sattler's notation for Description Logic (see references at the end of the presentation). A conversion of these examples into PowerLoom notation is given on the last slides.

Description Logics – Basic Elements Concepts Roles Features / Attributes Definition of concepts e.g. father  (AND (Parent Man)), Biped  (AND (Animal (exactly 2 has-legs Legs))) Primary / Atomic Concepts and Roles (not completely defined) Individual Concepts (define singletons) Instances (entities)

Description Logics – Principles Concepts correspond to unary predicates or sets Roles correspond to binary predicates / relations Features correspond to functions Concept-Definitions constrain filler-sets composed of concepts, roles, role restrictions using AND, OR, min-number, max-number etc. (Human (AND (Animal Biped Featherless))

Concept Definitions - Example (defconcept Person primary-concept) I (Person)  D (defrole gender atomic-role) I (gender)  D  D (defconcept Parent (AND Person (  has-child.Person)) I (Parent)  I (Person)  {x  D |  y: (x,y)  I (has-child)  y  I (Person) } (defconcept Man (AND Person (  gender.Male)) I (Man)  I (Person)  {x  D |  y: (x,y)  I( gender)  y  I (Male)}

Basic Architecture and Functions T-Box – terminological knowledge (definition of concepts) A-Box – assertional knowledge (statements about instances, concrete objects) Classification - insert concept into hierarchy based on it's description / definition TELL – insert knowledge into KB, e.g. define new concept or assert instance info ASK – querying KB,e.g. ask about existence of instance

T-Box Example T-Box (Concept Definitions) ( defconcept Person) (defrelation has-child :domain Person :range Person) (defconcept Male) (defconcept Person-with-Sons :is (:and Person (:at-least 1 has-child Male))) (defconcept Person-with-Two-Sons :is (and Person (:exactly 2 has-child Male)))

A-Box Example A-Box (Assertions, Statements ) (tell (Person Fred)) (tell (has-child Fred Sandy)) (tell (Male Sandy))

Example KB (defconcept Person) (defrelation has-child :domain Person :range Person) (defconcept Male) (defconcept Person-with-Sons :is (:and Person (:at-least 1 has-child Male))) (defconcept Person-with-Two-Sons :is (and Person (:exactly 2 has-child Male))) (tell (Person Fred)) (tell (has-child Fred Sandy)) (tell (Male Sandy))

Example Reasoning (defconcept Person) (defrelation has-child :domain Person :range Person) (defconcept Male) (defconcept Person-with-Sons :is (:and Person (:at-least 1 has-child Male)))... (tell (Person Fred)) (tell (has-child Fred Sandy)) (tell (Male Sandy)) Conclude: (Person-with-Sons Fred)

LOOM - Program: Definitions > (defconcept air-base :is-primitive (and Military-Installation (exactly 1 name) (at-least 1 runway-length) (exactly 1 service-branch))) |C|AIR-BASE > (defrelation name :range string) |R|NAME > (defrelation runway-length :domain air-base :range number) |R|RUNWAY-LENGTH

LOOM - Program: tell > (tellm (create ab-1 air-base) (name ab-1 "Atlanta NAS") (runway-length ab ))) Recognition changes at agent time 1: entry: AB-1 |C|MILITARY-INSTALLATION entry: AB-1 |C|AIR-BASE > (tellm (create ab-2 air-base) (name ab-2 "Mainland NAS") (runway-length ab )) Recognition changes at agent time 2: entry: AB-2 |C|MILITARY-INSTALLATION entry: AB-2 |C|AIR-BASE inferred

LOOM - Program: retrieve > (retrieve ?p (air-base ?p)) ( |I| AB-1 |I| AB-2 ) > (retrieve ?p (and (air-base ?p) (for-some (?l) (and (runway-length ?p ?l) (> ?l 10000))))) ( |I| AB-1 ) Instances AB-1, AB-2 Instance AB-1

Loom Classifier One main task and purpose of Description Logics is to provide Classification algorithms, to insert newly defined concepts into the hierarchy, ensuring the correctness and consistency of the subsumption relation. The LOOM Classifier uses a graph-like representation of definitions, which are firstly formulated as predicate expressions. Classification in LOOM is based on structural comparison of two graphs, and involves reasoning and inference mechanisms, like elaboration.

Definition At-Least-One-Son At-Least-One-Son defines the set of all persons that have at least one son: (defrelation At-Least-One-Son (?p) :iff-def (and (Person ?p) (>= (cardinality (setof (?c) (son ?p ?c))) 1))

Definition More-Sons-Than-Daughters More-Sons-Than-Daughters defines the set of persons that have more sons than daughters: (defrelation More-Sons-Than-Daughters (?pp) :iff-def (and (Person ?pp) (> (cardinality (setof (?b) (son ?pp ?b))) (cardinality (setof (?g) (daughter ?pp ?g))) )) )

Structural Subsumption The PC classifier can prove that At-Least-One-Son subsumes More-Sons-Than-Daughters, i.e. it will classify More-Sons-Than-Daughters below At-Least- One-Son. The PC classifier employs a structural subsumption test. Roughly speaking, to prove that a description A subsumes a description B, a structural subsumption prover attempts to demonstrate that for every structural “component” in (the internal representation for) the definition of A there exists a “corresponding component” in (the internal representation for) the definition of B.

Graph Representation The PC classifier parses definitions phrased in the prefix predicate calculus into graph-based structures. All subsequent reasoning involves operations on these graphs. Each of these graphs represents a set expression, consisting of a list of domain variables and a set membership test (the definition). A node can represent a variable, a constant, or another set expression. A predicate applied to a list of terms is represented by a (hyper) edge connecting the nodes corresponding to the terms in the list, together with a pointer to the node that corresponds to the predicate. Nodes representing skolem variables are introduced to represent function terms. Variables other than domain variables are assumed to be existentially quantified. This graph representation eliminates the use of (or need for) universal quantifiers.

Transformation 1: At-Least-One-Son The At-Least-One-Son relation defined above is associated with a graph [1] representing the following set: (setof (?p) (and (Person ?p) (>= (cardinality (setof (?c) (son ?p ?c))) 1)

Transformation 2: At-Least-One-Son Use set-of expressions and skolemization: (setof (?p) (exists (?s1 ?card1) (and (Person ?p) (= ?s1 (setof (?c) (son ?p ?c))) (cardinality ?s1 ?card1) (>= ?card1 1)))) number of sons of person ?p set of sons of person ?p

Transformation: More-Sons-Than-Daughters Here is the “graph” [2] for More-Sons-Than-Daughters: (setof (?pp) (exists (?s2 ?s3 ?card2 ?card3) (and (Person ?pp) (= ?s2 (setof (?b) (son ?pp ?b))) (= ?s3 (setof (?g) (daughter ?pp ?g))) (cardinality ?s2 ?card2) (cardinality ?s3 ?card3) (> ?card2 ?card3)))) more sons than daughters

Structural Mapping and Substitution To prove that At-Least-One-Son subsumes More- Sons-Than-Daughters, we look for a substitution mapping nodes in [1] to nodes in [2] such that for each edge in the graph [1] there is a corresponding edge in the graph [2]. The correct substitution σ is ?p ⇒ σ ?pp; ?s1 ⇒ σ ?s2; ?card1 ⇒ σ ?card2 except that there is a problem - no edge in graph [2] corresponds to the edge (>= ?card1 1) in graph [1]. set of sonsnumber of sons

Elaboration However, a constraint representing the missing edge (>= ?card2 1) is logically derivable from the existing constraints/edges present in graph [2] The addition of this missing edge would result in a set expression logically equivalent to the expression [2]. Using a process we call “elaboration”, the PC classifier applies forward chaining rules to augment each graph with edges that logically follow from the existence of other edges already present in the graph. A graph is elaborated by applying elaboration rules (see Tables on following slides) repeatedly until no additional structure can be produced.

Result for Sons-and-Daughters In the case of graph [2], the following edges would be added during elaboration: (Integer ?card2), (>= ?card2 0), (Integer ?card3), (>= ?card3 0), (>= ?card2 1) This last edge represents our “missing edge”. It is derived from the fact that ?card3 is non-negative, ?card2 is strictly greater than ?card3, hence greater than zero, and that ?card2 is an integer.

Inequality Rules

Cardinality Rules

Contained-in and Other Rules

PowerLoom Notation A conversion of the DL examples given in the notes into PowerLoom notation is following on the next slides.

Examples in PowerLoom (PL) Notation Slide 6: father  (AND (Parent Man)) PL: (defconcept father (and (Parent Man))) Biped  (AND (Animal (exactly 2 has-legs Legs))) PL: (defconcept Biped (and (Animal (exactly 2 has-legs Legs)))) Slide 7: (Human (AND (Animal Biped Featherless)) PL: (defconcept Human (AND (Animal Biped Featherless)))

Examples in PowerLoom (PL) Notation Slide 8: (defconcept Parent (AND Person (  has-child.Person)) PL: (defconcept Parent (?p) (and (?p Person) ((?p has-child):-> (?c Person)))) Note: has-child has to be defined beforehand. (defconcept Man (AND Person (  gender.Male)) PL: (defconcept Man (?m) (and (?m Person) ((?m gender):-> (Male)))) Gender has to be defined beforehand.

References Description Logic Home Page, J. Heinsohn et al.: An Empirical Analysis of Terminological Representation Systems, Artificial Intelligence 68(2): , heinsohn-etal-aij-94.pdf J. Heinsohn et al.: An Empirical Analysis of Terminological Representation Systems, Artificial Intelligence 68(2): , heinsohn-etal-aij-94.pdf LOOM Home Page, HOME.html LOOM Home Page, HOME.html Robert M. MacGregor: A Description Classifier for the Predicate Calculus. Proc. Twelfth National Conference on Artificial Intelligence, (AAAI 94), pp , Robert M. MacGregor: A Description Classifier for the Predicate Calculus. Proc. Twelfth National Conference on Artificial Intelligence, (AAAI 94), pp , Ian Horrocks and Ulrike Sattler, DL Presentations, Ian Horrocks and Ulrike Sattler, DL Presentations,