Knowledge Representation and Reasoning using PowerLoom Presenter Shamima Mithun.

Slides:



Advertisements
Similar presentations
Knowledge Representation using First-Order Logic
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Modal Logic with Variable Modalities & its Applications to Querying Knowledge Bases Evgeny Zolin The University of Manchester
Artificial Intelligence Description Logics - Background and Motivation for DL Relation between DL and FOPL (extensional Semantics) Example.
Artificial Intelligence Description Logics see references last slide.
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.
USCISIUSCISI Using Time in Loom Thomas A. Russ USC Information Sciences Institute.
Logic.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio LECTURE 4: Semantic Networks and Description Logics.
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.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
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.
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
LDK R Logics for Data and Knowledge Representation Description Logics as query language.
1 Relational Algebra and Calculus Chapter 4. 2 Relational Query Languages  Query languages: Allow manipulation and retrieval of data from a database.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Knowledge representation
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.
Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK
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.
Pattern-directed inference systems
Logical Agents Logic Propositional Logic Summary
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.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
1 Relational Algebra and Calculas Chapter 4, Part A.
Semantic Nets, Frames, World Representation CS – W February, 2004.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
ece 627 intelligent web: ontology and beyond
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
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
Of 29 lecture 15: description logic - introduction.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
Knowledge Representation and Inference Dr Nicholas Gibbins 32/3019.
Artificial Intelligence Logical Agents Chapter 7.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
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
Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun.
ece 720 intelligent web: ontology and beyond
Introduction to Description Logics
EA C461 – Artificial Intelligence Logical Agent
Logics for Data and Knowledge Representation
Logical Agents Chapter 7.
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
CS 416 Artificial Intelligence
Predicates and Quantifiers
Logics for Data and Knowledge Representation
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Representations & Reasoning Systems (RRS) (2.2)
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Logical Agents Prof. Dr. Widodo Budiharto 2018
Presentation transcript:

Knowledge Representation and Reasoning using PowerLoom Presenter Shamima Mithun

Overview Introduction Terminology and Propositions PowerLoom Knowledge Base (KB) Construction Process Reasoning in PowerLoom KB Constructions and Query using PowerLoom Conclusion

Introduction PowerLoom is a Description Logics system. is a highly expressive language for knowledge representation. is the successor to the Loom knowledge representation system. uses a fully expressive, logic-based representation language (a variant of KIF). provides language and environment to develop intelligent applications [1].

Introduction (contd.) uses a Prolog-style backward chainer as its inference engine [1]. is not a complete theorem prover, but it can handle complex rules, negation, subsumption, and restricted forms of higher order reasoning. handles recursive rules without the risk of infinite recursion. ::= │ │ │… ::= (not ) │(and *) │…

T-Box & A-Box Knowledge base comprises two components  The T-Box introduces terminologies (concept, role/relation). Concepts: denote sets of individuals (e.g. person). Relations: denote binary relations between individuals (e.g. is_married_to).  The A-Box asserts on the constants. Two kinds of assertions:  Concept assertion, e.g. person (Mary), person (Peter).  Role assertion, e.g. is_married_to (Peter, Mary).

Terminology and Propositions In PowerLoom KB represents physical or virtual world. Term are KB objects that models real world entities. Every term must have distinct name (e.g. person). Terms are categorized or related to one another by object called relations. “A proposition is a logical sentence that has an associated truth value” (e.g. John is a person).

PowerLoom KB Construction Process PowerLoom KB is constructed by  first defining the terminology (concepts and relations) for a domain.  then asserting additional rules and facts about that domain.  fact can be asserted and later retracted, so the answers returned by the queries may change over time.

PowerLoom Commands Defines concept, relation, function and rules using defconcept, defrelation, deffunction, defrule. Add/Remove facts from KB with assert and retract Query KB ask, retrieve Note: Relations should be defined before they are used within association and queries.

More on syntactic construct Adopt a prefix notation (similar to KIF). For example, (=(+ 2 3)5) Construct complex sentence from simpler forms using the logical connectives and, or, not,,+, =>, <=, and the quantifiers exists and forall.

In PowerLoom concepts and instances of concept are organized hierarchically. Knowledge inherits down the hierarchy from parent to children. Fix Furniture and Movable Furniture inherit all facts asserted on their parent Furniture. Door, Window, Chair, and Sofa also inherit facts from their parents but they do not have access facts asserted to their siblings. PowerLoom KB Organization Furniture Fix Furniture Movable Furniture DoorWindowChairSofa

Reasoning in PowerLoom A reasoner, PowerLoom’s description classifier, uses technology derived from the Loom classifier[1]. Classifier computes the subsumption relation between concepts using their description. Subsumption Subsumption is typically written as C  D. Determining subsumption is the problem of checking whether the concept denoted by D (the subsumer) is considered more general than the one denoted by C (the subsumee), e.g. student  person.

Reasoning in PowerLoom (contd.) Satisfiability During modeling a domain we construct terminology (by defining new concepts). The new concept could not be contradictory with defined concepts.

Building and Querying KB using PowerLoom

Model Domain Color Fixed- Furniture Movable- Furniture Age Size Big Small GreenRedNewOld IS-A DoorWindowChairSofa

Define Concept |=(defconcept furniture) |c| FURNITURE |= (defconcept movable-furniture (?f furniture)) |c| MOVABLE-FURNITURE |= (defconcept fixed-furniture (?f furniture)) |c| FIXED-FURNITURE |=(defconcept chair (?f movable-furniture)) |c| CHAIR |= (defconcept sofa (?f movable-furniture)) |c| SOFA

Define Concept (contd.) |= (defconcept window (?ff fixed-furniture)) |c| WINDOW |= (defconcept door (?ff fixed-furniture)) |c| DOOR |= (defconcept age (?a) : (member-of ?a (setof new old))) |c| AGE |= (defconcept color (?c) : (member-of ?c (setof green red blue))) |c| COLOR |= (defconcept size (?s) : (member-of ?s (setof small big))) |c| SIZE

Model Domain Color Fixed- Furniture Movable- Furniture Age Size Big Small GreenRedNewOld IS-A DoorWindowChairSofa has-color has-age has-size

Define Relation |= (defrelation has-age ((?f furniture) (?a age))) |r| HAS-AGE |= (defrelation has-color ((?f furniture) (?c color))) ) |r| HAS-COLOR |= (defrelation has-size ((?f furniture) (?s size))) |r| HAS-SIZE

Model Domain Color Fixed- Furniture Movable- Furniture Age Size has-size has-age has-color Big Small GreenRedNewOld IS-A DoorWindowChairSofa

Value Assertion |= (assert(has-size chair big)) |P|(HAS_SIZE CHAIR BIG) |= (assert(has-color sofa red)) |P|(HAS_COLOR SOFA RED) |= (assert(has-age chair new)) |P|(HAS_AGE CHAIR NEW) |= (assert(has-age door old)) |P|(HAS_AGE DOOR OLD) |= (assert(has-color window green)) |P|(HAS_COLOR WINDOW GREEN)

Query the KB: Ask |= (ask (has-size chair big)) TRUE |= (ask (has-age door new)) FALSE |= (ask (has-color door red)) UNKNOWN

Query the KB: Retrieve & Retract |= (retrieve all (furniture ?x)) There are 4 solutions: #1: ?X=CHAIR #2: ?X=SOFA #3: ?X=WINDOW 4: ?X=DOOR |=(retrieve (has-color sofa ?x)) There is 1 solution so far: #1: ?X=RED |= (retract (has-color sofa red)) |P?|(HAS-COLOR SOFA RED) |= (retrieve (has-color sofa ?x)) No solutions.

Others |= (all-facts-of chair) (|P|(CONCEPT CHAIR) |P|(HAS-SIZE CHAIR BIG) |P|(HAS-AGE CHAIR NEW) |P|(FORALL (?x1)(<= (MOVABLE-FURNITURE ?x1) (CHAIR ?x1))) |P|(FURNITURE CHAIR)

Conclusion PowerLoom is a very expressive language which assists to develop intelligent applications. Even though its backward chainer is not completely implemented it can handle most of the inference rules as well as recursive rules. It provides API for easy integration with programs in Java, C++, and Lisp.

References PowerLoom Homepage Daniele Nardi and Ronald J. Brachman. An introduction to Description Logics. In Baader, Calvanese, McGuinnes Nardi and Patel-Schneider, (eds). The Description Logics Handbook, chapter 1. Cambridge University Press, Franz Baader and Werner Nutt. Basic Description Logics. In Baader, Calvanese, McGuinnes Nardi and Patel-Schneider, (eds). The Description Logics Handbook, chapter 2. Cambridge University Press, 2003.

Thanks