Structured Knowledge Chapter 7. 2 Logic Notations Does logic represent well knowledge in structures?

Slides:



Advertisements
Similar presentations
Semantics (Representing Meaning)
Advertisements

REPRESENTAÇÃO DO CONHECIMENTO Terças – 13 hs – sala 512 RDC.
Semantic Networks and Frames
Knowledge Representation
Knowledge Representation
So What Does it All Mean? Geospatial Semantics and Ontologies Dr Kristin Stock.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Ontology From Wikipedia, the free encyclopedia In philosophy, ontology (from the Greek oν, genitive oντος: of being (part. of εiναι: to be) and –λογία:
Semantic Nets, Frames, World Representation. Knowledge Representation as a medium for human expression An intelligent system must have KRs that can be.
For Friday Finish chapter 10 No homework (get started on program 2)
Lecture 10: Semantic Network
Knowledge Representation
 Contrary to the beliefs of early workers in AI, experience has shown that Intelligent Systems cannot achieve anything useful unless they contain a large.
Artificial Intelligence Lecture No. 12 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Existential Graphs: Beta Introduction to Logic. Alpha Review: Symbolization ‘P’ ‘not P’ ‘P and Q’ ‘P or Q’ ‘if P then Q’ F EG PP PP P  Q P  Q P 
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
Semantics of a Propositional Network Stuart C. Shapiro Department of Computer Science & Engineering Center for MultiSource Information Fusion.
Alpha: Symbolization and Inference Bram van Heuveln Minds and Machines Lab RPI.
Knowledge Representation
1 Semantic Web Semantic Web DL Relationships with other Formalisms Habib Rostami.
Frames and semantic networks, page 1 CSI 4106, Winter 2005 A brief look at semantic networks A semantic network is an irregular graph that has concepts.
Knowledge Representation Semantic Network dan Frame.
TM CG Notes Latest: Outline Big Picture architecture Topic Maps – CG – Notio Notes – Amine Notes – CharGer Notes – Prolog – Analogy –
AI – CS289 Knowledge Representation Conceptual Graphs 25 th September 2006 Dr Bogdan L. Vrusias
For Friday Exam 1. For Monday No reading Take home portion of exam due.
CSE PredLogic 1 Knowledge Representation with Logic: First Order Predicate Calculus Outline –Introduction to First Order Predicate Calculus (FOPC)
Chapter 2: The Representation of Knowledge Expert Systems: Principles and Programming, Fourth Edition Original by Course Technology Modified by Ramin Halavati.
Alternative representations: Semantic networks
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Early Work Masterman: 100 primitive concepts, 15,000 concepts Wilks: Natural Language system using semantic networks Shapiro: Propositional calculus based.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
Lectures on Artificial Intelligence – CS435 Conceptual Graphs
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Existential Graphs Intermediate Logic. Existential Graphs A graphical logic system developed by C.S. Peirce almost 100 years ago. Peirce studied semiotics:
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Semantic Nets, Frames, World Representation CS – W February, 2004.
1 Knowledge Representation (continue). 2 Knowledge Representation Logic isn’t the only method of representing knowledge. There are other methods which.
Ch. 12 – Knowledge Representation Supplemental slides for CSE 327 Prof. Jeff Heflin.
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001.
Knowledge Representation
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
Propositional Logic Predicate Logic
1 Logic Notations Frege’s Begriffsschrift (concept writing) : assert P not P if P then Q for every x, P(x) P P Q P P(x) x.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
For Friday Read Chapter 11, sections 1 and 2 Homework: –Chapter 10, exercises 1 and 5.
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
Knowledge Representation
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
CSE (c) S. Tanimoto, 2008 ISA Hierarchies 1 ISA Hierarchies: A Basis for Knowledge Representation with Semantic Networks Outline: Introduction The.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Reasoning Systems For Categories By Franklyn O. Reasoning Systems For Categories Categories are the primary building blocks of any large-scale knowledge.
1 Frame Theory A vague paradigm - to organize knowledge in high-level structures “A Framework for Representing Knowledge” - Minsky, 1974 Knowledge is encoded.
The Existential Graphs Project Rensselaer Reasoning Group September 12, 2001.
Knowledge Representation
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Knowledge Representation Lecture 2 out of 5. Last Week Intelligence needs knowledge We need to represent this knowledge in a way a computer can process.
Module 5 Other Knowledge Representation Formalisms
Artificial Intelligence
Conceptual Graphs(1) A CG is a finite, connected, bipartite graph.
Knowledge Representation
Ontology From Wikipedia, the free encyclopedia
Weak Slot-and-Filler Structures
Semantic Nets and Frames
Habib Ullah qamar Mscs(se)
Presentation transcript:

Structured Knowledge Chapter 7

2 Logic Notations Does logic represent well knowledge in structures?

3 Logic Notations Frege’s Begriffsschrift (concept writing) : assert P not P if P then Q for every x, P(x) P P Q P P(x) x

4 Logic Notations Frege’s Begriffsschrift (concept writing) : “Every ball is red” “Some ball is red” red(x) x ball(x) red(x) x ball(x)

5 Logic Notations Algebraic notation - Peirce, 1883: Universal quantifier:  x P x Existential quantifier:  x P x

6 Logic Notations Algebraic notation - Peirce, 1883: “Every ball is red”:  x (ball x —  red x ) “Some ball is red”:  x (ball x red x )

7 Logic Notations Peano’s and later notation: “Every ball is red”: (  x)(ball(x)  red(x)) “Some ball is red”: (  x)(ball(x)  red(x))

8 Logic Notations Existential graphs - Peirce, 1897: Existential quantifier: a link structure of bars, called line of identity, represents  Conjunction: the juxtaposition of two graphs represents  Negation: an oval enclosure represents ~

9 Logic Notations “If a farmer owns a donkey, then he beats it”: farmerownsdonkey beats

10 Logic Notations EG’s rules of inferences: Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted.

11 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) is valid

12 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) is valid r p s q p qr s

13 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted.

14 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted. r p s q

15 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted. r p s q r p s q r p

16 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted. r p s q r p r p s q r p q

17 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted. r p s q p q s q r r p s q r

18 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) Erasure: in a positive context, any graph may be erased. Insertion: in a negative context, any graph may be inserted. Iteration: a copy of a graph may be written in the same context or any nested context. Deiteration: any graph may be erased if a copy of its occurs in the same context or a containing context. Double negation: two negations with nothing between them may be erased or inserted. r p s q p q s q r r p s q r s

19 Existential Graphs Prove: ((p  r)  (q  s))  ((p q)  (r s)) r p s q r p s q r p r p s q r p q r p s q s q r r p s q r s

20 Existential Graphs  -graphs: propositional logic  -graphs: first-order logic  -graphs: high-order and modal logic

21 Semantic Nets Since the late 1950s dozens of different versions of semantic networks have been proposed, with various terminologies and notations. The main ideas: For representing knowledge in structures The meaning of a concept comes from the ways it is connected to other concepts Labelled nodes representing concepts are connected by labelled arcs representing relations

22 Semantic Nets Mammal Person Owen Nose RedLiverpool isa instance has-part uniform color team person(Owen)  instance(Owen, Person) team(Owen, Liverpool)

23 Semantic Nets John H1H2 height Bill height greater-than 1.80 value

24 Semantic Nets Johng Give agent Book b instance object “John gives Mary a book” Mary beneficiary give(John, Mary, book)

25 Frames A vague paradigm - to organize knowledge in high- level structures “A Framework for Representing Knowledge” - Minsky, 1974 Knowledge is encoded in packets, called frames (single frames in a film) Frame name + slots

26 Frames Animals Alive Flies T F Birds Legs Flies 2 T Mammals Legs 4 Penguins Flies F CatsBats Legs Flies 2 T Opus Name Friend Opus Bill Name Friend Bill Pat Name Pat instance isa

27 Frames Hybrid systems: Frame component: to define terminologies (predicates and terms) Predicate calculus component: to describe individual objects and rules

28 Conceptual Graphs Sowa, J.F Conceptual Structures: Information Processing in Mind and Machine. CG = a combination of Perice’s EGs and semantic networks.

29 Conceptual Graphs 1968: term paper to Marvin Minsky at Harvard. 1970's: seriously working on CGs 1976: first paper on CGs : meeting with Norman Foo, finding Peirce’s EGs 1984: the book coming out CG homepage:

30 Simple Conceptual Graphs CAT: tunaMAT: *On 12 conceptrelationconcept type (class) relation type individual referentgeneric referent

31 Ontology Ontology: the study of "being" or existence An ontology = "A catalog of types of things that are assumed to exist in a domain of interest" (Sowa, 2000) An ontology = "The arrangement of kinds of things into types and categories with a well-defined structure" (Passin 2004)

32 Ontology top-level categories domain-specific

33 Ontology Being Substance Accident Property Relation Inherence Directedness MovementIntermediacyQuantityQuality Aristotle's categories Containment Activity Passivity HavingSituated SpatialTemporal

34 Ontology Geographical-Feature AreaLine On-LandOn-Water Road Border Mountain Terrain Block Geographical categories Railroad Country Wetland Point Power-Line River Heliport Town Dam Bridge Airstrip

35 Ontology Relation

36 Ontology Relation

37 Ontology ANIMAL FOOD Eat PERSON: johnCAKE: * Eat

38 CG Projection PERSON: johnPERSON: *Has-Relative 12 PERSON: johnWOMAN: maryHas-Wife 12

39 Nested Conceptual Graphs It is not true that cat Tuna is on a mat. CAT: tunaMAT: * On Neg CAT: tunaMAT: * On 

40 Nested Conceptual Graphs Every cat is on a mat. CAT: *MAT: * On  CAT: *  coreference link

41 Nested Conceptual Graphs Julian could not fly to Mars. PERSON: julianPLANET: mars Fly-To  Poss Past

42 Nested Conceptual Graphs Tom believes that Mary wants to marry a sailor. PERSON: julianPLANET: mars Fly-To  Poss Past

43 Exercises Reading: Sowa, J.F Knowledge Representation: Logical, Philosophical, and Computational Foundations (Section 1.1: history of logic). Way, E.C Conceptual Graphs – Past, Present, and Future. Procs. of ICCS'94.