AI – CS289 Knowledge Representation Conceptual Graphs 25 th September 2006 Dr Bogdan L. Vrusias

Slides:



Advertisements
Similar presentations
Interval Notation Notes
Advertisements

CS 1150 – Lab #13 – Artificial Intelligence TA – Sanjaya Wijeratne – Web Page -
Semantics (Representing Meaning)
Propositional Logic Reading: C , C Logic: Outline Propositional Logic Inference in Propositional Logic First-order logic.
Language and Cognition Colombo, June 2011 Day 2 Introduction to Linguistic Theory, Part 4.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when.
14th September 2006 Dr Bogdan L. Vrusias
Knowledge Acquisition and Modelling Concept Mapping.
Knowledge Representation
Morphology Chapter 7 Prepared by Alaa Al Mohammadi.
1 Lecture 35 Brief Introduction to Main AI Areas (cont’d) Overview  Lecture Objective: Present the General Ideas on the AI Branches Below  Introduction.
Knowledge in intelligent systems So far, we’ve used relatively specialized, naïve agents. How can we build agents that incorporate knowledge and a memory?
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
Nouns, Verbs, Adjectives, Adverbs.  Structure Classes: ◦ stable – changes little over time; about 1% of words in English; help put structure of sentences.
Knowledge Representation
Propositional Calculus Math Foundations of Computer Science.
Glossing – Lesson 3 Omit English words that do not exist in ASL.
Knowledge Representation
Introduction to Knowledge Representation
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.
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 –
Lectures 5,6 MACHINE LEARNING EXPERT SYSTEMS. Contents Machine learning Knowledge representation Expert systems.
ASPECTS OF LINGUISTIC COMPETENCE 4 SEPT 09, 2013 – DAY 6 Brain & Language LING NSCI Harry Howard Tulane University.
1.- Pigs sit in the mud. 2.- The building is very tall. 3.- I have a pink dress and a purple hat. 4.- The farmer lives on the farm. 5.- Many animals live.
AI – CS289 Fuzzy Logic - Labs Fuzzy Logic – Lab 1 Starting up… 05 th October 2006 Dr Bogdan L. Vrusias
Web Usage Mining for Semantic Web Personalization جینی شیره شعاعی زهرا.
Early Work Masterman: 100 primitive concepts, 15,000 concepts Wilks: Natural Language system using semantic networks Shapiro: Propositional calculus based.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Lectures on Artificial Intelligence – CS435 Conceptual Graphs
Structured Knowledge Chapter 7. 2 Logic Notations Does logic represent well knowledge in structures?
NTUT Writing Week 10 “Reviewing Previous Research”
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Rules, Movement, Ambiguity
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Guiding Inference with Conceptual Graphs Bruce Porter Univ Texas at Austin Peter Clark Boeing Research.
Unit 1: Linear Motion Mrs. Jennings Physics.
Knowledge Representation
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.
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
The purpose is to describe factual information. Brakes There are front and rear brakes which when well adjusted allow you to slow down with fingertip control.
4. Feeling happy. What are the children doing? (p.13)
Knowledge Representation
Artificial Intelligence – CS364 Knowledge Representation Lectures on Artificial Intelligence – CS364 Conceptual Dependency 20 th September 2005 Dr Bogdan.
‘WHO’ = ORANGE = NOUNS CAN INCLUDE: PEOPLE E.G. MAN, BABY, GRANDMA ANIMALS E.G. HORSE, DOG, BUTTERFLY OCCUPATIONS E.G. CLOWN, HAIRDRESSER, DOCTOR PRONOUNS.
Artificial Intelligence Logical Agents Chapter 7.
1 Lectures on Conceptual Graphs Artificial Intelligence (CS 364) Khurshid Ahmad, Professor of Artificial Intelligence.
King Faisal University جامعة الملك فيصل Deanship of E-Learning and Distance Education عمادة التعلم الإلكتروني والتعليم عن بعد [ ] 1 King Faisal University.
Module 5 Other Knowledge Representation Formalisms
Rule-based Reasoning in Semantic Text Analysis
Artificial Intelligence
Conceptual Graphs(1) A CG is a finite, connected, bipartite graph.
Knowledge Representation
Semantics (Representing Meaning)
Chapter 3 Morphology Without grammar, little can be conveyed. Without vocabulary, nothing can be conveyed. (David Wilkins ,1972) Morphology refers to.
Telegraphic speech: two- and three-word utterances
AM2 – Interpreting Linear Relationships
Conceptual Graphs Graph Structure
13th September 2005 Dr Bogdan L. Vrusias
Back to “Serious” Topics…
Weak Slot-and-Filler Structures
Semantic Nets and Frames
ALI JABBER KARAM Presented by :
SUBJECT-VERB AGREEMENT
Visual Programming Languages ICS 539 Icon System Visual Languages & Visual Programming, Chapter 1, Editor Chang, 1990 ICS Department KFUPM Sept. 1,
Presentation transcript:

AI – CS289 Knowledge Representation Conceptual Graphs 25 th September 2006 Dr Bogdan L. Vrusias

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Contents CG Arrow Rules Generalisation and Specialisation Nested Concepts CG Schemas Exercises

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG Arrow Rules An arc is said to belong to a relation but to be attached to a concept. As we mentioned previously a conceptual graph is a bipartite. This simply means that: –there are no arcs between a concept and another concept, –there are no arcs between a relation and another relation. –all arcs either go from a concept to a relation or from a relation to a concept. A conceptual graph may have concepts that are not linked to any relation, but analogically this is not possible for relations. For a conceptual relation with n arcs, the first n-1 arcs have arrows that point toward the circle, and the n-th or last arc (if any!) points away.

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG Arrow Rules There is also special standard language associated with the direction of an arrow. This language can be divided into two groups: –When reading in the direction of the arrows, –When reading against the direction of the arrows. For each group, it also matters whether we are reading an arrow that points towards or away from a relation. When reading in the direction of the arrows: –If the arrow points towards the relation, we often say "has a". –If the arrow points away from the relation, we often say "which is". When reading against the direction of the arrows: –If the arrow points away from the relation, we often say "is a". –If the arrow points towards the relation, we often say "of".

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Generalisation and Specialisation New conceptual graphs may be derived from other canonical graphs either by generalising or specialising by the rules: –copy, restrict, join, and simplify Formation rules are the (generative) grammar of conceptual structures. All deductions and computations on canonical graphs involve some combination of them. Formation rules are not rules of inference; rather templates which are manipulated in order to incorporate new knowledge.

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Generalisation and Specialisation dog agentobject bone eat colour brown location porch animal: "Emma" colour brown Consider the following graphs: g1: g2:

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Generalisation and Specialisation location porch dog: "Emma" colour brown The restriction of g2 (based on g1) is: g3:

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Generalisation and Specialisation location porch dog: "Emma" colour brown The join of g1 and g3 is: g4: agentobject bone eat colour

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Generalisation and Specialisation location porch dog: "Emma" colour brown The simplification of g4 is: g5: agentobject bone eat

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Propositional Concepts Conceptual graphs may include a concept type, proposition, that takes a set of conceptual graphs as its referent. This allows definitions that involve propositions. Propositional concepts are indicated as a box that contains another conceptual graph. The conceptual graphs nested inside a context are the referent of that concept.

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Propositional Concepts Consider the example: "Tom believes that Jane likes pizza" experiencer believe person: "Tom" experiencer likes person: "Jane" object pizza proposition

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Propositional Concepts Modal auxiliaries, for instance can or must, map onto conceptual relations of possibility (PSBL) and obligation (OBLG): The CG for "Tom can go" is: The CG for "Tom must go" is: agent go person: "Tom" PSBL proposition agent go person: "Tom" OBLG proposition

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Propositional Concepts Verb tense and aspect, map to relation nodes like past (PAST) or PROGressive (defined in terms of DURations, SUCCessor or Point-in- TIMe). The CG for "Tom went" is: agent go person: "Tom" PAST proposition

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Nested Concepts A context is represented by a concept with one or more conceptual graphs inside the referent field. A context can have attached conceptual relations, and they also have their own type label. The conceptual graphs nested inside a context are the referent of that concept. There are three types of nested concepts: graph, proposition, and situation: –When a conceptual graph is a referent of a concept of the type GRAPH, it is merely being mentioned; –When a conceptual graph is a referent of concept of type PROPOSITION or SITUATION, it is being used to state a proposition or to describe a situation respectively.

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Nested Concepts E.g.: "Tom believes that Mary wants to marry a footballer" person: "Tom" PTNTEXPRbelieve proposition person: "Mary" PTNTEXPRwant "Mary" PTNT FootballerAGNTmarry situation : co-reference link

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Plural Concepts Plural nouns are represented by the plural referent {*} followed by an optional For example the CG for "Birds singing in a sycamore tree" is: or for "Happy Birthday To You lasts 18 seconds" is:  ("for all" or "every") –E.g. "All living fish are wet" duration sec theme: "Happy Birthday To You" agent Bird: {*} sing in proposition Sycamore Tree attribute wet LivingFish: 

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG and Logic ¬ (Negation "not"): E.g. "The sun is not shining" ¬ [Situation: [Sun: #] <- (Agnt) <- [Shine] ]  (Conjunction "and"): E.g. "There exists a woman who is both beautiful and dangerous" [Proposition: [Woman: *x] -> (Attr) -> [Beautiful] [Woman: *x] -> (Attr) -> [Dangerous] ]  (Disjunction "or"): E.g. "John is either a fool or very clever" ¬ [Situation: ¬ [Situation: [Person: John] -> (Attr) -> [Fool] ] ¬ [Situation: [Person: John]->(Attr)->[Clever]->(Meas)->[Degree: #very] ] ]

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG Resources

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Building CG Schemas The basic structure for representing background knowledge for human-like inference is called the schema. Schema is a pattern derived from past experience that is used for interpreting, planning, and imagining other experiences. A schema for a bus that should not exceed 55km/h and should be limited to carry about 50 passengers: instrate speed:  55Km/h travelbus: *X objagent drive agent driver passenger:  50 cont

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG Schemas Example Consider the type definition graph for BUY shown below: Example from: ENTITYTRANSACTION MONEY GIVECUSTOMERGIVE SELLER OBJ INST PART AGNTSRCE RCPT AGNT

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG Schemas Example Consider the graph "Joe buying a necktie from Hal for $10": Person: JoeBUY Necktie $10Person: Hal OBJ INSTSRCE AGNT

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © CG Schemas Example The type expansion of the graph based on the concept type BUY is shown below: NECTIETRANSACTION $10 GIVECUSTOMER: JoeGIVE SELLER: Hal OBJ INST PART AGNTSRCE RCPT AGNT

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Exercises Say in your own words what the following CGs means: –[Person]<-(Agnt)<-[Run] –[Person: Peter]->(Poss)->[Car]->(Attr)->[Blue] –[Rhino: Otto]->(Chrc)->[Colour: Orange] –[Girl: Silde] (Thme)->[Bike]->(Chrc)->[Color: Yellow]

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Solutions [Person]<-(Agnt)<-[Run] –A Person is the agent of an Act, which is Run. –Running has an agent which is a Person. –A Person is Running. [Person: Peter]->(Poss)->[Car]->(Attr)->[Blue] –Peter has a possession which is a car. This car has an attribute, which is blue. –Blue is an attribute of a Car, which is a possession of a Person, who is Peter. –Peter's car is blue.

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Solutions [Rhino: Otto]->(Chrc)->[Colour: Orange] –Otto the Rhino has a characteristic which is a Colour, Orange. –The Colour Orange is a characteristic of a Rhino, Otto. [Girl: Silde] (Thme)->[Bike]->(Chrc)->[Color: Yellow] –A girl, Silde, is the agent of Ride, and the theme of Ride is a Bike, and the Bike has a Characteristic which is a Colour which is Yellow. –A girl, Silde, is riding a yellow bike. –Silde is riding a yellow bike.

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Exercises Please create the conceptual graph of the following sentences: –"A person is singing a song" –"John is singing" –"Bus number 9 is going to Copenhagen" –"John was singing" –"Romeo marries Juliet"

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Solutions "A person is singing a song" [Person] (Thme)->[Song] "John is singing" [Person: John]<-(Agnt)<-[Sing] "Bus number 9 is going to Copenhagen" [Bus: #9] (Dest)->[City: Copenhagen] "John was singing" (Past)->[Situation: [Person: John]<-(Agnt)<-[Sing] ]

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Solutions "Romeo marries Juliet" [Person: Romeo] (Benf)->[Person: Juliet] [Lover: Romeo] (Benf)->[Lover: Juliet] [Man: Romeo] (Benf)->[Woman: Juliet] but not [Monkey: Romeo] (Benf)->[Gorilla: Juliet]

AI – CS289 Knowledge Representation 25 th September 2006Bogdan L. Vrusias © Closing Questions??? Remarks??? Comments!!! Evaluation!