Semantic Nets and Frames

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

Artificial Intelligence 4. Knowledge Representation
© C. Kemke Knowledge Representation 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Frame-based expert systems
Knowledge Representation
Frame-Based Expert Systems
Frame Based Expert System
© Negnevitsky, Pearson Education, Introduction, or what is a frame? Introduction, or what is a frame? Frames as a knowledge representation technique.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Representations One of the major distinctions between ordinary software and AI is the need to represent domain knowledge (or other forms of worldly knowledge)
Knowledge Engineering
Concepts and Categories. Functions of Concepts By dividing the world into classes of things to decrease the amount of information we need to learn, perceive,
Knowing Semantic memory.
Cognitive Processes PSY 334 Chapter 5 – Meaning-Based Knowledge Representation July 24, 2003.
Data and Knowledge Representation Lecture 6 Qing Zeng, Ph.D.
Knowledge Representation
Frame-based expert systems
Cognitive Psychology, 2 nd Ed. Chapter 8 Semantic Memory.
UML Class Diagrams: Basic Concepts. Objects –The purpose of class modeling is to describe objects. –An object is a concept, abstraction or thing that.
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.
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 LECTURE 2 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence Knowledge Representation.
Modeling system requirements. Purpose of Models Models help an analyst clarify and refine a design. Models help simplify the complexity of information.
Compare and contrast the following terms, giving specific examples of how these should be considered when teachers design classroom activities: The Information.
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.
Semantic Nets, Frames, World Representation CS – W February, 2004.
Cognitive Processes PSY 334 Chapter 5 – Meaning-Based Knowledge Representation.
Knowledge Representation
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
Lecture 2: Review of Object Orientation. © Lethbridge/La ganière 2005 Chapter 2: Review of Object Orientation What is Object Orientation? Procedural.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
 Description of Inheritance  Base Class Object  Subclass, Subtype, and Substitutability  Forms of Inheritance  Modifiers and Inheritance  The Benefits.
Artificial Intelligence Knowledge Representation.
Knowledge Representation
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Definition and Technologies Knowledge Representation.
Module 5 Other Knowledge Representation Formalisms
Artificial Intelligence 4. Knowledge Representation
Data and Knowledge Representation Lecture 6
Knowledge Representation
Knowledge Representation Techniques
Artificial Intelligence
Enhanced Entity-Relationship (EER) Model
The Enhanced Entity- Relationship (EER) Model
OOP - Object Oriented Programming
The Enhanced Entity- Relationship (EER) Model
Class Diagrams.
Knowledge Representation
The Representation of Knowledge 1 Session 3
Artificial Intelligence
Knowledge Representation
The Entity-Relationship Model
Knowledge Representation
Knowledge Representation
CEN3722 Human Computer Interaction Knowledge and Mental Models
Computer Programming.
UML Class Diagrams: Basic Concepts
The Object-Oriented Thought Process Chapter 07
Object-Oriented Knowledge Representation
KNOWLEDGE REPRESENTATION
AN INTRODUCTION TO COMPUTER GRAPHICS Subject: Computer Graphics Lecture No: 01 Batch: 16BS(Information Technology)
Weak Slot-and-Filler Structures
Information Networks: State of the Art
Knowledge Representation
Structured Knowledge Representation
CGS 2545: Database Concepts Summer 2006
Presentation transcript:

Semantic Nets and Frames SEG 7450

Semantic Nets A semantic network A proposition A semantic net a classic AI representation technique used for propositional information a propositional net A proposition a statement that is either true or false A semantic net a labeled, directed graph The structure of a semantic net is shown graphically in terms of nodes and the arcs connecting them. Nodes are sometimes referred to as objects arcs as links or edges The links are used to express relationships Nodes are to represent physical objects, concepts, or situation SEG 7450

SEG 7450

Semantic Nets Two types of commonly used links are IS-A, and A-KIND-OF IS-A means "is an instance of' and refers to a specific member of a class A class is related to the mathematical concept of a set in that it refers to a group of objects For example, {3, eggs, blue, tires, art} SEG 7450

SEG 7450

Semantic Nets The link AKO is used here to relate one class to another AKO relates generic nodes to generic nodes while the IS-A relates an instance or individual to a generic class The more general class that an AKO arrow points to is called a superclass AKO points from a subclass to a class The objects in a class have one or more attributes in common Each attribute has a value The combination of attribute and value is a property For example, a blimp has attributes of size, weight, shape, and color. The value of the shape attribute is ellipsoidal SEG 7450

Schemata Semantic nets have limitations such as the lack of link name standard In AI, the term schema (plural schemas or schemata) is used to describe a more complex knowledge structure than the semantic net For example, the acts of eating and drinking are pleasurable sensorimotor schemata that involve coordinating information from the senses with the required motor (muscle) movements to eat and drink Another type of schema is the concept schema by which we represent concepts. For example, we all have stereotypes in our minds of concepts a stereotype of an animal might be a dog to many people SEG 7450

Schemata A conceptual schema is an abstraction in which specific objects are classified by their general properties The conceptual schema of a real apple will include general properties of apples such as sizes, colors. tastes, uses, and so forth Schemas have internal structure to their nodes while semantic nets do not SEG 7450

Frames One type of schema that has been used in many AI applications is the frame Another type of schema is the script, a time-ordered sequence of frames frames are useful for simulating commonsense knowledge, which is a very difficult area for computers to master While semantic nets are basically a two-dimensional representation of knowledge, frames add a third dimension by allowing nodes to have structures SEG 7450

Frames The basic characteristic of a frame is that it represents related knowledge about a narrow subject that has much default knowledge A frame system would be a good choice for describing a mechanical device, for example a car The frame contrasts with the semantic net, which is generally used for broad knowledge representation Just as with semantic nets, there are no standards for defining frame-based systems A frame is analogous to a record structure, corresponding to the fields and values of a record are the slots and slot fillers of a frame A frame is basically a group of slots and fillers that defines a stereotypical object SEG 7450

Frames The car is the object, the slot name is the attribute, and the filler is the value SEG 7450

Frames By using frames in the filler slots and inheritance, very powerful knowledge representation systems can be built. frame-based expert systems are very useful for representing causal knowledge because their information is organized by cause and effect Frames are generally designed to represent either generic or specific knowledge The slots may also contain procedures attached to the slots, called procedural attachments The if-needed type is executed when a filler value is needed but none are initially present or the default value is not suitable Defaults are often used to represent commonsense knowledge SEG 7450

Frames SEG 7450

Frames Slot fillers may also contain relations, The if-added type is run for procedures to be executed when a value is to be added to a slot An if-removal type is run whenever a value is to be removed from a slot Slot fillers may also contain relations, e.g. a-kind-of and is-a relations Figure 2.11 is a specific frame because it is an instance of the car frame SEG 7450

Frames SEG 7450

Frames SEG 7450

Frames Frame systems are designed so that more generic frames are at the top of the hierarchy Frames attempt to model real-world objects by using generic knowledge for the majority of an object's attributes and specific knowledge for special cases The object that has all of the typical characteristics is called a prototype Frames may also be classified by their applications A situational frame contains knowledge about what to expect in a given situation An action frame contains slots that specify the actions to be performed in a given situation The combination of situational and action frames can be used to describe cause-and-effect relationships in the form of causal knowledge frames SEG 7450