CSE 415 -- (c) S. Tanimoto, 2005 Knowledge Representation 1 Knowledge Representation (Introduction) Knowledge Information Data Knowledge representation:

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
AE1APS Algorithmic Problem Solving John Drake. The island of Knights and Knaves is a fictional island to test peoples ability to reason logically. There.
The Logic of Intelligence Pei Wang Department of Computer and Information Sciences Temple University.
Logic Use mathematical deduction to derive new knowledge.
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
The Engineering Design of Systems: Models and Methods
Knowledge Representation Methods
Knowledge Representation I Suppose I tell you the following... The Duck-Bill Platypus and the Echidna are the only two mammals that lay eggs. Only birds.
CSE (c) S. Tanimoto, 2008 Propositional Logic
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
CSE 311 Foundations of Computing I Lecture 6 Predicate Logic Autumn 2011 CSE 3111.
CSE (c) S. Tanimoto, 2008 Predicate Calculus I 1 Predicate Calculus 1 Motivation Basics Encoding.
CSE (c) S. Tanimoto, 2007 ISA Hierarchies 1 ISA Hierarchies: A Basis for Knowledge Representation with Semantic Networks Outline: The Directed Acyclic.
First order logic (FOL) first order predicate calculus.
Adapted from Discrete Math
Predicates and Quantifiers
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
Unit Unit 04 Relations IT DisiciplineITD1111 Discrete Mathematics & Statistics STDTLP1 Unit 4 Relations.
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Digraphs and Relations Warm Up. The Divisibility Relation Let “|” be the binary relation on N×N such that a|b (“a divides b”) iff there is an n ∈ N such.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 3 September 15, 2009 Mathematical Review Security Policies.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Mathematical Preliminaries
Knowledge Processing 1. Aims of session  Introduce types of reasoning  Deterministic  Propositional logic  Predicate logic.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Fuzzy Inference and Reasoning
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
Chapter Relations and Their Properties
CSE (c) S. Tanimoto, 2008 ISA Hierarchies 1 ISA Hierarchies: A Basis for Knowledge Representation with Semantic Networks Outline: Introduction The.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Artificial Intelligence Knowledge Representation.
Section 9.1. Section Summary Relations and Functions Properties of Relations Reflexive Relations Symmetric and Antisymmetric Relations Transitive Relations.
Lecture 7: Relations Dr Andrew Purkiss-Trew Cancer Research UK Mathematics for Computing.
Review: Discrete Mathematics and Its Applications
Knowledge Representation Techniques
Chapter 8 : Fuzzy Logic.
How do I show that two compound propositions are logically equivalent?
Knowledge Representation
IS 2150 / TEL 2810 Information Security & Privacy
CLASSICAL LOGIC and FUZZY LOGIC
CSE 311 Foundations of Computing I
Quantified Propositions
Logic Use mathematical deduction to derive new knowledge.
IS 2150 / TEL 2810 Introduction to Security
Review: Discrete Mathematics and Its Applications
Horn Clauses and Unification
Horn Clauses and Unification
Reasoning with the Propositional Calculus
Reasoning with the Propositional Calculus
Knowledge Representation (Introduction)
Knowledge Representation I (Propositional Logic)
Mathematical Background
Knowledge Representation (Introduction)
Predicates and Quantifiers
Encoding Knowledge with First Order Predicate Logic
Reasoning with the Propositional Calculus
Reasoning with the Propositional Calculus
Encoding Knowledge with First Order Predicate Logic
Knowledge Representation (Introduction)
Encoding Knowledge with First Order Predicate Logic
IS 2150 / TEL 2810 Introduction to Security
IS 2150 / TEL 2810 Information Security & Privacy
Habib Ullah qamar Mscs(se)
NARS an Artificial General Intelligence Project
Presentation transcript:

CSE (c) S. Tanimoto, 2005 Knowledge Representation 1 Knowledge Representation (Introduction) Knowledge Information Data Knowledge representation: Information representation with support for inference

CSE (c) S. Tanimoto, 2005 Knowledge Representation 2 Procedural vs Declarative Knowledge can be operational: “When you see a grizzly bear, run away fast!” if Condition is true then do Action e.g., production rules. Knowledge can be declarative: “A grizzly bear is a dangerous animal.” predicate(object) e.g., logical statements or relations

CSE (c) S. Tanimoto, 2005 Knowledge Representation 3 Example of Declarative Representation: An “Isa” Hierarchy Living-thing PlantAnimal Bird Fish Aquatic-birdLand-bird Great-blue-heron

CSE (c) S. Tanimoto, 2005 Knowledge Representation 4 Inference with Isa Hierarchies “A great-blue-heron is an aquatic-bird.” Isa(great-blue-heron, aquatic-bird). “An aquatic-bird is a bird.” Isa(acquatic-bird, bird). “Is a great-blue-heron a bird?” Isa(great-blue-heron, bird)? “Isa” represents a relation which has certain properties that support types of inference.

CSE (c) S. Tanimoto, 2005 Knowledge Representation 5 Binary Relations A binary relation R over a domain D is a set of ordered pairs (x,y) where x and y are in D. For example, we could have, D = {a,b,c,d} R = {(a, b), (c, a), (d, a)} If (x, y) is in R, then we write R(x, y) or x R y.

CSE (c) S. Tanimoto, 2005 Knowledge Representation 6 Partial Orders If for each x in D we have x R x, then R is reflexive. If for each x in D and y in D we have x R y and y R x imply x = y, then R is antisymmetric. If for each x in D, y in D, and z in D we have x R y and y R z imply x R z, then R is transitive. If R has all 3 properties, R is a partial order.

CSE (c) S. Tanimoto, 2005 Knowledge Representation 7 Examples of the Partial Order Properties Isa is reflexive: A bear is a bear. -> Isa(bear, bear) Isa is antisymmetric: A bear is a wowie, and a wowie is a bear. Therefore, bear and wowie represent the same things. Isa(bear, wowie) & Isa(wowie, bear) -> bear = wowie Isa is transitive: A grizzly is a bear, and a bear is a mammal. Therefore, a grizzly is a mammal. Isa(grizzly, bear) & Isa(bear, mammal) -> Isa(grizzly, mammal)

CSE (c) S. Tanimoto, 2005 Knowledge Representation 8 Redundant Facts Any fact implied by others via the reflexive, antisymmetric, or transitive properties of a partial order can be considered redundant. Suppose a <= b b <= c c <= b Then a <= c is redundant. a <= a is redundant. b and c could be represented by one name.

CSE (c) S. Tanimoto, 2005 Knowledge Representation 9 Inheritance of Properties via Isa A fox is a mammal. A mammal bears live young Therefore a fox bears live young.

CSE (c) S. Tanimoto, 2005 Knowledge Representation 10 Non-inheritance of Certain Properties A neutron is an atomic particle. There are three types of atomic particles. Therefore there are three types of neutrons (??)

CSE (c) S. Tanimoto, 2005 Knowledge Representation 11 Propositional Logic The propositional calculus is a mathematical system for reasoning about the truth or falsity of statements. The statements are made up from atomic statements using AND, OR, NOT, and their variations. A more powerful representation system is the predicate calculus. It’s an extension of the propositional calculus.

CSE (c) S. Tanimoto, 2005 Knowledge Representation 12 Propositional Logic Examples P: a grizzly is a bear. Q: a bear is a mammal. R: a grizzly is a mammal. P & Q -> R Each proposition symbol represents an atomic statement. Atomic statements can be combined with logical connectives to form compound statements. ~P, P & Q, P v Q, P = Q, P -> Q