LDK R Logics for Data and Knowledge Representation Description Logics as query language.

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

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
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
Justification-based TMSs (JTMS) JTMS utilizes 3 types of nodes, where each node is associated with an assertion: 1.Premises. Their justifications (provided.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio LECTURE 4: Semantic Networks and Description Logics.
Approximate Inference Techniques and Their Applications to the Semantic Web Perry Groot IPA Fall days, 26 November 2004.
LDK R Logics for Data and Knowledge Representation Description Logics: tableaux.
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
FiRE Fuzzy Reasoning Engine Nikolaos Simou National Technical University of Athens.
Description Logics Franz Baader, Ian Horrocks, Ulrike Sattler Presented By Jahan Ara Arju Muhammad Nazmus Sakib CSCE
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Tableau Algorithm.
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
Logics for Data and Knowledge Representation Exercises: Modeling Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
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)
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 Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Description Logics (ALC)
LDK R Logics for Data and Knowledge Representation Description Logics.
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
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.
Logics for Data and Knowledge Representation Exercises: ClassL Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese.
A Preferential Tableau for Circumscriptive ALCO RR 2009 Stephan Grimm Pascal Hitzler.
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
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
1 Instance Store Database Support for Reasoning over Individuals S Bechhofer, I Horrocks, D Turi. Instance Store - Database Support for Reasoning over.
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.
Logics for Data and Knowledge Representation Exercises: DL.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
LDK R Logics for Data and Knowledge Representation Description Logics.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Updating TBoxes in DL-Lite
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Description Logics.
Logics for Data and Knowledge Representation
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
Logics for Data and Knowledge Representation
Presentation transcript:

LDK R Logics for Data and Knowledge Representation Description Logics as query language

Outline  From Databases to DL  From ER diagrams to DL  Answering Queries in DL via instance checking  Answering Queries in DL via instance retrieval: tableaux  Answering Queries in DL via graphical representation 2

Limitations of databases w.r.t. DL 3 NameRoleNationalitySupervises FaustoProfessorItalianRui StudentChineseBisu StudentIndian- Employee  No negation  No disjunction  Ambiguous support for incomplete information (null values)  The database represents a single model.  Hence, inference is just model checking.

Defining a TBox and ABox for a database 4 NameRoleNationalitySupervises FaustoProfessorItalianRui StudentChineseBisu StudentIndian- ABox = {Professor(Fausto), Student(Rui), Student(Bisu), Nationality(Fausto, Italian), Nationality (Rui, Chinese), Nationality (Bisu, Indian), Supervises(Fausto, Rui), Supervises(Rui, Bisu)} Employee IndividualClass Attribute Relation TBox = {Professor ⊑ Employee, Student ⊑ Employee}

Defining DL theories for ER diagrams 5  An ER conceptual schema can be expressed as a DL theory  The models of the DL theory correspond to the legal database states of the ER schema.  Reasoning services, such as satisfiability of a schema or of a logical implication, can be performed by the corresponding DL theory.  A DL theory allows for a greater expressivity than the original ER schema, in terms of full disjunction and negation and entity definitions by means of both necessary and sufficient conditions.

Define a DL theory for the ER diagram 6 TBox = { Person ⊑ Manager ⊔ Employee, Manager ⊑ Person ⊓  Employee, Employee ⊑ Person ⊓ ∃ income -1.Dollar-quantity ⊓ ∃ location -1.City Dollar-quantity ⊑ Quantity City ⊑ ∃ is-part -1.Region }

DL as query language  We can think to a database as a DL theory with one model  ABox services are generally applied to resolve a query  Complexity may go up to CO-NP complete 7 TBox = {} ABox = {Child(John, Mary), Female(Mary)} NL Query: Who are the individuals having only female children? DL Query: T, A ⊨ ∀ Child.Female Answer: {John}

How to use ABox Reasoning Services 8 ABox ServiceDescriptionQuery Instance retrievalGiven a concept C, retrieve all the instances a which satisfy C w.r.t. the ABox A. A ⊨ C Instance checkingCheck whether an assertion C(a) is entailed by the ABox, i.e. check whether a belongs to C. A ⊨ C(a) A ⊨ R(a,b) NOTE: this means that before answering we need to expand the ABox (w.r.t. the TBox) and reason on the identified model

RECALL: Reasoning via expansion of the ABox  Reasoning services over an ABox w.r.t. an acyclic TBox can be reduced to checking an expanded ABox.  We define the expansion of an ABox A with respect to T as the ABox A’ that is obtained from A by replacing each concept assertion C(a) with the assertion C’(a), with C’ the expansion of C with respect to T.  A is consistent with respect to T iff its expansion A’ is consistent  A is consistent iff A is satisfiable, i.e. non contradictory. 9

Answering Queries via instance checking (I) TBox = {Horse ⊑ Animal, Mule ⊑ Animal} ABox = {Horse(Furia), Parent(Speedy, Furia)} NL Query: Is Furia an animal? DL Query: T, A ⊨ Animal(Furia) YES, in fact the ABox can be expanded as follows: ABox = {Horse(Furia), Animal(Furia), Parent(Speedy, Furia)} 10

Answering Queries via instance checking (II) TBox = {Horse ⊑ Animal ⊓  Mule, Mule ⊑ Animal} ABox = {Horse(Furia), Parent(Speedy, Furia)} NL Query: Is Furia a mule? DL Query: T, A ⊨ Animal(Furia) NO, in fact the ABox can be expanded as follows: ABox = {Horse(Furia), Animal(Furia),  Mule(Furia), Parent(Speedy, Furia)} 11

Answering Queries via instance checking (III) TBox = {Horse ⊑ Animal, Mule ⊑ Animal} ABox = {Horse(Furia), Parent(Speedy, Furia)} NL Query: Is Furia a mule? DL Query: T, A ⊨ Mule(Furia) NO (BY CLOSED WORLD ASSUMPTION), in fact the ABox can be expanded as follows: ABox = {Horse(Furia), Animal(Furia), Parent(Speedy, Furia)} If we drop closed world assumption the answer should be I DO NOT KNOW 12

Answering Queries via instance retrieval: Tableaux (I) TBox = {Horse ⊑ Animal, Mule ⊑ Animal} ABox = {Horse(Speedy), Horse(Furia), Parent(Speedy, Furia)} NL Query: Is there any animal which is not both a horse and a mule, and is parent of a horse? DL Query: T, A ⊨ ∃ Parent.Horse ⊓  (Horse ⊓ Mule) i.e. is the formula satifiable? 13

Answering Queries via instance retrieval: Tableaux (I) TBox = {Horse ⊑ Animal, Mule ⊑ Animal} ABox = {Horse(Speedy), Horse(Furia), Parent(Speedy, Furia)} Is ∃ Parent.Horse ⊓  (Horse ⊓ Mule) satifiable? ⊓ -rule A’ = { ∃ Parent.Horse(x),  (Horse ⊓ Mule)(x)} ∃ -rule A’ = {Horse(Furia), Parent(Speedy, Furia), (  Horse ⊔  Mule)(x)} ⊔ -rule A’ = {Horse(Furia), Parent(Speedy, Furia),  Horse(Speedy)} inconsistent or A’ = {Horse(Furia), Parent(Speedy, Furia),  Mule(Speedy)} consistent 14

Answering Queries via graph reasoning 15 NL Query: Does John have a female friend loving a not female? DL Query:  ⊨ ∃ FRIEND.(Female ⊓ ( ∃ LOVES.  Female))(john)

Answering Queries via graph reasoning 16 NL Query: Does John have a female friend loving a male? DL Query:  1 ⊨ ∃ FRIEND.(Female ⊓ ( ∃ LOVES.Male))(john)

Provide the answer for the queries 17   ⊨ ENROLLED(Mary, cs221)  ⊨ Grad(peter)  ⊨ Grad(Susan)  ⊨ ∃ ENROLLED.Grad (ee282)  ⊨ ∀ TEACHES. IntermediateCourse(bob)  ⊨ Grad ⊓ ∃ TEACHES. ⊤  ⊨ Student ⊓ ∀ ENROLLED. ⊤