CPSC 322 Introduction to Artificial Intelligence November 3, 2004.

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

6 The Big Research Process And A Problem-Solving Model.
6 The Big.
LING 388: Language and Computers Sandiway Fong Lecture 5: 9/8.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Birds.
Knowledge Representation
Knowledge Representation
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
Representations One of the major distinctions between ordinary software and AI is the need to represent domain knowledge (or other forms of worldly knowledge)
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
Markov Logic Networks Instructor: Pedro Domingos.
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
 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.
A Brief History of Artificial Intelligence
CPSC 322 Introduction to Artificial Intelligence September 15, 2004.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
CPSC 322 Introduction to Artificial Intelligence October 29, 2004.
CPSC 322 Introduction to Artificial Intelligence October 13, 2004.
9.012 Brain and Cognitive Sciences II Part VIII: Intro to Language & Psycholinguistics - Dr. Ted Gibson.
CPSC 322 Introduction to Artificial Intelligence September 20, 2004.
Natural Categories Hierarchical organization of categories –Superordinate (e.g., furniture) –Basic-level (e.g., chair) –Subordinate (e.g., armchair) Rosch.
CSE 574: Artificial Intelligence II Statistical Relational Learning Instructor: Pedro Domingos.
CPSC 322 Introduction to Artificial Intelligence November 29, 2004.
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Penguins: The Odd Bird Out 5 th Grade. Penguins! Class – Aves Family –Spheniscidae – Penguins are the only animals in the Spheniscidae family Species.
Sepandar Sepehr McMaster University November 2008
Semantic Networks The idea behind a semantic network is that knowledge is often best understood as a set of concepts that are related to one another. The.
Lecture 10 – Semantic Networks 1 Two questions about knowledge of the world 1.How are concepts stored? We have already considered prototype and other models.
University of Malta CSA3080: Lecture 9 © Chris Staff 1 of 13 CSA3080: Adaptive Hypertext Systems I Dr. Christopher Staff Department.
Εισαγωγή στη Μουσική Πληροφορική Περίληψη: Μάθημα 1 και 2 Christina Anagnostopoulou Οι διαφάνειες αυτές είναι στα Αγγλικά.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
Artificial Intelligence Introductory Lecture Jennifer J. Burg Department of Mathematics and Computer Science.
Penguins.  Flightless bird found in the ocean  Distantly related to the albatross  Have been around for at least 55 billion years Albatross-Galapagos.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
Words from the Fry List. set put end dies.
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence Knowledge Representation.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Reading Comprehension and Vocabulary Development November 3, 2005.
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.
Artificial Intelligence: Natural Language
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001.
Knowledge Representation
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
1 Introduction to WG syntax Richard Hudson Joensuu November 2010 Word-word relations are concepts.
Flightless Birds By :: SarahJean. Background Flightless birds have more feathers than other birds. Flightless birds have smaller bones in their wings.
Knowledge Representation
Module 5 Other Knowledge Representation Formalisms
Knowledge Representation Techniques
Artificial Intelligence
Penguins By Gabriella.
Chapter 5: Representing Knowledge
Knowledge Representation
Knowledge Representation
STATE SPACE REPRESENTATION
Survey of Knowledge Base Content
KNOWLEDGE REPRESENTATION
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Weak Slot-and-Filler Structures
Are you a Treasure Seeker?
Using the terms below, label and color the emperor penguin.
Presentation transcript:

CPSC 322 Introduction to Artificial Intelligence November 3, 2004

Representing Knowledge Here are some general software engineering questions you may want to ask before building AI systems: What exactly is the activity that you want from this system you’re going to create to solve some complex problem? What does your system need to know in order to perform that activity? How are you going to encode or represent that knowledge inside your system? (e.g., What will the language of the symbols be? What will the symbols map to?) How will your system know which piece(s) of knowledge to use at a given time, and how will it get at that knowledge without looking at all the knowledge? Once the system finds the appropriate knowledge, how will it use the knowledge? Most of the questions have something to do with knowledge

As an example... Let’s say you’re asked to build a system to understand simple stories John and Mary went to McDonald’s. John ordered a Big Mac and fries. Mary had a Quarter Pounder. John put the trash in the wastebasket. They went home. What exactly is the activity that you want from this system you’re going to create to solve some complex problem?

As an example... Answer questions Paraphrase the story Construct some internal representation that shows not only what was explicitly stated but also what can reasonably be inferred

As an example... Let’s say you’re asked to build a system to understand simple stories John and Mary went to McDonald’s. John ordered a Big Mac and fries. Mary had a Quarter Pounder. John put the trash in the wastebasket. They went home. What does your system need to know in order to perform that activity?

As an example... Language syntax The meanings of words The meanings of sentences (clauses) Commonly-held background knowledge (e.g., what objects and events can you reasonably expect in the McDonald’s domain? the more general fast-food restaurant domain?)

As an example... Let’s say you’re asked to build a system to understand simple stories John and Mary went to McDonald’s. John ordered a Big Mac and fries. Mary had a Quarter Pounder. John put the trash in the wastebasket. They went home. How are you going to encode or represent that knowledge inside your system? (e.g., What will the language of the symbols be? What will the symbols map to?)

As an example... Syntax as grammar rules: sentence(T0,T2,s(NP,VP)) <- nounphrase(T0,T1,NP) & verbphrase(T1,T2,VP). nounphrase(T0,T3,np(DET,NOUN,PP)) <- determiner(T0,T1,DET) & noun(T1,T2,NOUN) & prepositionalphrase(T2,T3,PP). nounphrase(T0,T1,np(NAME)) <- name(T0,T1,NAME). prepositionalphrase(T,T,[]). prepositionalphrase(T0,T2,pp(PREP,NP)) <- preposition(T0,T1,PREP) & nounphrase(T1,T2,NP). verbphrase(T0,T3,vp(VERB,NP,PP)) <- verb(T0,T1,VERB) & nounphrase(T1,T2,NP) & prepositionalphrase(T2,T3,PP).

As an example... Syntax as grammar rules: determiner(T,T,[]). determiner([a|T],T,a). determiner([the|T],T,the). name([john|T],T,john). name([mary|T],T,mary). noun([mcdonalds|T],T,mcdonalds). noun([bigmac|T],T,bigmac). noun([fries|T],T,fries). noun([quarterpounder|T],T,quarterpounder). noun([trash|T],T,trash). noun([wastebasket|T],T,wastebasket). verb([went|T],T,went). verb([ordered|T],T,ordered). verb([had|T],T,had). verb([put|T],T,put). preposition([to|T],T,to). preposition([in|T],T,in).

As an example... Syntax as grammar rules: cilog: ask sentence([john,ordered,a,bigmac],X,Y). Answer: sentence([john, ordered, a, bigmac], [], s(np(john), vp(ordered, np(a, bigmac, []), []))). Runtime since last report: 0 secs. [ok,more,how,help]: |: ok.

As an example... Word meanings as collections of attributes and relations to other words -- consider the dictionary: dog: any of a large and varied group of domesticated animals related to the fox, wolf, and jackal chihuahua: any of an ancient Mexican breed of very small dog with large, pointed ears bird: any of a class of warm-blooded, two-legged, egg-laying vertebrates with feathers and wings penguin: any of an order of flight-less birds found in the Southern Hemisphere, having webbed feet and paddle-like flippers for swimming and diving ostrich: a large, swift-running bird of Africa and the Near East; the largest and most powerful of living birds; it has a long neck, long legs, two toes on each foot, and small useless wings canary: a small yellow songbird of the finch family, native to the Canary Islands

As an example... Graphically, it looks like this (the bird part, at least): vertebrate ^ | is-a | | has-part | / wings | / reproduction | / egg-laying | / body-temp | / warm-blooded bird--< no. of legs ^ ^ ^ \ / | \ \ covering is-a / | \ \ feathers / | \ \ movement color / | \ \ flight yellow canary | \ size / | is-a \ is-a small -----/ | \ movement | ostrich run movement | \ size swim penguin \ big

As an example... In CILOG, it might look like this (though there are other formats you could use): prop(bird, is_a, vertebrate). prop(bird, has_part, wings). prop(bird, reproduction, egg_laying). prop(bird, body_temp, warm_blooded). prop(bird, no_of_legs, 2). prop(bird, covering, feathers). prop(bird, movement, flight). prop(ostrich, is_a, bird). prop(ostrich, movement, run). prop(ostrich, size, big). prop(penguin, is_a, bird). prop(penguin, movement, swim). prop(canary, is_a, bird). prop(canary, size, small). prop(canary, color, yellow).

As an example... In CILOG, it might look like this (though there are other formats you could use): prop(bigmac, is_a, hamburger). prop(bigmac, has_part, special_sauce). :

As an example... In CILOG, it might look like this (though there are other formats you could use): prop(bigmac, is_a, hamburger). prop is just a predicate invented in the book. Short for property(?) -- it’s not magic

As an example... In CILOG, it might look like this (though there are other formats you could use): prop(bigmac, is_a, hamburger). object-attribute-value representation object is a node name attribute is an arc label value is a node name the graph is called a semantic network or a relational network the real “meaning” is as much in the arc labels as in the nodes, if not more so

As an example... Don’t trust the dictionary to be endlessly helpful: rock: a large mass of stone stone: the hard, solid, nonmetallic mineral matter that rock is composed of

Other places to find relational networks Relational databases Cognitive psychology The Internet (Mapquest, Six Degrees of Kevin Bacon, the Web itself) Popular media