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

Slides:



Advertisements
Similar presentations
Rule-Based Deduction Systems
Advertisements

Knowledge & Reasoning Logical Reasoning: to have a computer automatically perform deduction or prove theorems Knowledge Representations: modern ways of.
Semantics (Representing Meaning)
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:
Semiotics and Ontologies. Ontologies contain categories, lexicons contain word senses, terminologies contain terms, directories contain addresses, catalogs.
For Friday Finish chapter 10 No homework (get started on program 2)
14th September 2006 Dr Bogdan L. Vrusias
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio LECTURE 4: Semantic Networks and Description Logics.
Lecture 10: Semantic Network
Knowledge Representation
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.
Data and Knowledge Representation Lecture 6 Qing Zeng, Ph.D.
Knowledge Representation
Predicates and Quantifiers
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.
Lectures on Artificial Intelligence – CS289 Conceptual Graphs
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
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
February 2009Fabian Shirokov Semantic Web and how the Cultural Heritage domain can use it.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Inference Graphs: A Roadmap Daniel R. Schlegel and Stuart C. Department of Computer Science and Engineering L A – Logic of Arbitrary.
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
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
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
Structured Knowledge Chapter 7. 2 Logic Notations Does logic represent well knowledge in structures?
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.
A Java implementation of Peirce’s Existential Graphs
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.
INDUCTIVE LOGIC DEDUCTION= DRAWING OUT IMPLICIT “KNOWLEDGE” OR CLAIMS FROM PREMISES. INDUCTION= EXPANDING “KNOWLEDGE” BY TESTING TRUTH OF THE PREMISES.
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
Propositional Logic Predicate Logic
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
Knowledge Representation
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.
The Existential Graphs Project Rensselaer Reasoning Group September 12, 2001.
Knowledge Representation
Chapter 1 Logic and proofs
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
Data and Knowledge Representation Lecture 6
Artificial Intelligence
Conceptual Graphs(1) A CG is a finite, connected, bipartite graph.
Knowledge Representation
Ontology From Wikipedia, the free encyclopedia
Conceptual Graphs Graph Structure
Weak Slot-and-Filler Structures
Semantic Nets and Frames
Predicates and Quantifiers
Habib Ullah qamar Mscs(se)
Presentation transcript:

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

2 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)

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

4 Logic Notations Algebraic notation - Peirce, 1883: Every ball is red:  x (ball x —< red x ) Some ball is red:  x (ball x red x )

5 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))

6 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 

7 Existential Graphs If a farmer owns a donkey, then he beats it: farmerownsdonkey beats

8 Existential Graphs 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.

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

10 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.

11 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

12 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

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. r p s q r p r p s q r p q

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 p q s q r r p s q r

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 p q s q r r p s q r s

16 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

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

18 Semantic Networks 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

19 Semantic Networks Mammal Person Owen Nose RedLiverpool isa instance has-part uniform color team

20 Semantic Networks John H1H2 height Bill height greater-than 1.80 value

21 Semantic Networks Dog db isa Bite assailant Mail-carrier m isa victim The dog bit the mail carrier

22 Semantic Networks Dog db isa Bite assailant Mail-carrier m isa victim Every dog has bitten a mail-carrier g GS isaform 

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

24 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 1984: the book coming out CG homepage:

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

26 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)

27 Ontology top-level categories domain-specific

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

29 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

30 Ontology Relation

31 Ontology ANIMAL FOOD Eat

32 Ontology ANIMAL FOOD Eat PERSON: johnCAKE: * Eat

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

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

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

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

37 Nested Conceptual Graphs SAILOR: * Marry Want Believe PERSON: mary PERSON: tom PERSON:* Tom believes that Mary wants to marry a sailor.

38 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.