Knowledge Representation Semantic Network dan Frame.

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Semantic Networks and Frames
Alternate Representational Methods CS 531: LUMS Lahore Dr. M M Awais Frames Graphical Representation: Semantic Nets.
Knowledge Representation
Knowledge Representation
Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations.
Modeling Main issues: What do we want to build How do we write this down ©2008 John Wiley & Sons Ltd. vliet.
Frame-Based Expert Systems
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
Introduction to Databases
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)
CS 484 – Artificial Intelligence
Intelligent systems Lecture 6 Rules, Semantic nets.
14th September 2006 Dr Bogdan L. Vrusias
Knowledge Representation
Knowledge Engineering
Artificial Intelligence Lecture No. 12 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department Lecture 6 Knowledge Representation Non-Formal Method.
Natural Categories Hierarchical organization of categories –Superordinate (e.g., furniture) –Basic-level (e.g., chair) –Subordinate (e.g., armchair) Rosch.
1 Chapter 3 Knowledge Representation. 2 Chapter 3 Contents l The need for a good representation l Semantic nets l Inheritance l Frames l Object oriented.
Chapter 14 (Web): Object-Oriented Data Modeling
1 Chapter 3 Knowledge Representation. 2 Chapter 3 Contents l The need for a good representation l Semantic nets l Inheritance l Frames l Object oriented.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Completeness February 27, 2006 Geog 458: Map Sources and Errors.
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
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.
Knowledge Representation Techniques Lecture Module - 15.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Artificial Intelligence LECTURE 2 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
Structured Knowledge Chapter 7. 2 Logic Notations Does logic represent well knowledge in structures?
@Anupam Basu Frames Lecture Basu What is a Frame? A frame is a prototype of a concept –Denoting the attributes of the concept –The class of.
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
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.
Knowledge Representation
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
1 Chapter 3 Knowledge Representation. 2 Chapter 3 Contents l The need for a good representation l Semantic nets l Inheritance l Frames l Object oriented.
Reasoning Systems For Categories By Franklyn O. Reasoning Systems For Categories Categories are the primary building blocks of any large-scale knowledge.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Definition and Technologies Knowledge Representation.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Module 5 Other Knowledge Representation Formalisms
Knowledge Representation
Artificial Intelligence
Main issues: • What do we want to build • How do we write this down
Knowledge Representation
ARTIFICIAL INTELLIGENCE
Artificial Intelligence (CS 370D)
Knowledge Representation
Issues in Knowledge Representation
Knowledge Representation and Inference
ARTIFICIAL INTELLIGENCE
KNOWLEDGE REPRESENTATION
Weak Slot-and-Filler Structures
Knowledge Representation
Semantic Nets and Frames
DATA MODELS.
Subject : Artificial Intelligence
Presentation transcript:

Knowledge Representation Semantic Network dan Frame

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 meaning of a concept is defined by its relationship to other concepts. A semantic network consists of a set of nodes that are connected by labeled arcs. The nodes represent concepts and the arcs represent relations between concepts.

Common Semantic Relations There is no standard set of relations for semantic networks, but the following relations are very common: INSTANCE: X is an INSTANCE of Y if X is a specific example of the general concept Y. Example: Elvis is an INSTANCE of Human ISA: X ISA Y if X is a subset of the more general concept Y. Example: sparrow ISA bird HASPART: X HASPART Y if the concept Y is a part of the concept X. (Or this can be any other property) Example: sparrow HASPART tail

Inheritance Inheritance is a key concept in semantic networks and can be represented naturally by following ISA links. In general, if concept X has property P, then all concepts that are a subset of X should also have property P. But exceptions are pervasive in the real world! In practice, inherited properties are usually treated as default values. If a node has a direct link that contradicts an inherited property, then the default is overridden.

Multiple Inheritance Multiple inheritance allows an object to inherit properties from multiple concepts. Multiple inheritance can sometimes allow an object to inherit conflicting properties. Conflicts are potentially unavoidable, so conflict resolution strategies are needed.

dogdog dog ANIMAL My-Friends

Representing Events “Jack kidnapped Billy on August 5” Kidnapping Event Kidnap1 perpetrator: Jack victim: Billy date: August 5

Representing predicates score(Mavs, Bulls, ) Game Instance: Game17 hometeam: Mavs Visiting team: Bulls Score:

Representing Relations KarlJohn height height Height1greater-than height2

Frames A frame represents an entity as a set of slots (attributes) and associated values. Each slot may have constraints that describe legal values that the slot can take. A frame can represent a specific entity, or a general concept. Frames are implicitly associated with one another because the value of a slot can be another frame.

Mammal NBA_BASKETBALL_PLAYER isa: ANIMALisa: ADULTMALE *haspart: HAIR cardinality: 400 *breathes: AIR *height: > 6' *salary: > $200,000 HUMAN MICHAELJORDAN isa: MAMMAL instance: NBABASKETBALLPLAYER cardinality: 6 million height: 6'9'' *haspart: LEGS(2) ADULTMALE JOHNSTOCKTON isa: HUMAN instance: NBABASKETBALLPLAYER cardinality: 2 million height: 6'1'' *gender: male An asterisk (*) means that the slot can be inherited.

Demons One of the main advantages of frames is the ability to include demons to compute slot values. A demon is a function that computes the value of a slot on demand. HUMAN isa: (MAMMAL) mortal: (yes :inheritable yes) cardinality: (6 million :inheritable no) age: (:inheritable yes :demon compute_age) MARY int Compute_Age (frame) instance: HUMAN return(today- (query birthday slot)); gender: FEMALE birthday: 11/04/60

Features of Frame Representations Frames can support values more naturally than semantic nets (e.g. the value 25) Frames can be easily implemented using object-oriented programming techniques. Demons allow for arbitrary functions to be embedded in a representation. But a price is paid in terms of efficiency, generality, and modularity! Inheritance can be easily controlled.