Frame-Based Representation Frame: stereotypical knowledge knowledge of some concept. Bird Frame Name Properties CLASS FRAME Tweety Frame Name Properties.

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

FT228/4 Knowledge Based Decision Support Systems
Frame-based expert systems
B. Ross Cosc 4f79 1 Frames Knowledge bases can be enhanced by using principles from frame knowledge representation (similar to object orientation) This.
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.
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
Stereotypes Stereotypes provide the capability to create a new kind of modeling element. –They can be used to classify or mark modeling elements. –A type.
Knowledge Engineering
 Contrary to the beliefs of early workers in AI, experience has shown that Intelligent Systems cannot achieve anything useful unless they contain a large.
Inheritance Java permits you to use your user defined classes to create programs using inheritance.
L3-1-S1 OO Concepts © M.E. Fayad SJSU -- CMPE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
Starting Classes and Methods. Objects have behaviors In old style programming, you had: –data, which was completely passive –functions, which could manipulate.
Protegè Dott. Daniela Briola. Class Usually classes will correspond to objects, or types of objects, in the domain. Classes in Protege-Frames are shown.
25-Jun-15 Starting Classes and Methods. Objects have behaviors In old style programming, you had: data, which was completely passive functions, which.
Chapter Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Object-oriented Programming Concepts
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Inheritance Review/Recap. ClassA extends ClassB ClassA now inherits (can access and use) all public and protected elements of ClassB We can expect the.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 1 Introduction to Object-Oriented Programming.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Frame-based expert systems
Modelling classes Drawing a Class Diagram. Class diagram First pick the classes –Choose relevant nouns, which have attributes and operations. Find the.
Enhanced Entity Relationship Modeling © 2002 by Dietrich and Urban1 ADVANCED DATABASE CONCEPTS Enhanced Entity Relationship Modeling Susan D. Urban and.
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.
TCU CoSc Introduction to Programming (with Java) Getting to Know Java.
سید ضیاء الدین البرزی زیر نظر جناب دکتر حلاوتی.  One common methods used for representing knowledge in an expert systems.  How a FB experts system uses.
1 Semantic Web Semantic Web DL Relationships with other Formalisms Habib Rostami.
Knowledge Representation Semantic Network dan Frame.
CISC6795: Spring Object-Oriented Programming: Polymorphism.
An Object-Oriented Approach to Programming Logic and Design
Object Oriented Programming CS160 - OOP. Objects Objects are a Objects are a way to organize and conceptualize a program as a set of interacting objects.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
1 Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Chapter 2: Object Basics Object-Oriented Systems Development Using the Unified Modeling.
Section 1: Human Inheritance 7.2 A typical cell of any organism contains genetic instructions that specify its traits. Those traits may be modified by.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
CMSC 471 Spring 2014 Class #22 Thursday, April 17 Knowledge Representation Professor Marie desJardins,
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
Object-Oriented Design Justin Callanan CS 597. Object-Oriented Basics ● Data is stored and processed in “objects” ● Objects represent generalized real.
BCS 2143 Object Oriented Design Using UML. Objectives Objects Interactions Finding Classes Relationship Between Classes Attribute and Operation Class.
Object Oriented Software Development
E.Bertino, L.Matino Object-Oriented Database Systems 1 Chapter 5. Evolution Seoul National University Department of Computer Engineering OOPSLA Lab.
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
Design Model Lecture p6 T120B pavasario sem.
Object-Oriented Programming with Java Lecture 1: Introduction Autumn, 2007.
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
 Week08.  Review Schedule Weeks 8-14  This week o Review last class o Introduce Class Diagrams o ICE-03 Sheridan SYST Engineering Quality Systems.
Programming with Java © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 1 McGraw-Hill/Irwin Chapter 5 Creating Classes.
Class Diagram Chapter 21 Applying UML and Patterns Craig Larman.
Object-Oriented Programming © 2013 Goodrich, Tamassia, Goldwasser1Object-Oriented Programming.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 4 Enhanced Entity-Relationship (EER) Modeling.
Human Inheritance Human Inheritance Mrs. Wharton’ Science Class.
Lecture 8&9 11/2/16 Introduction to OO Concepts 1.
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.
Knowledge Representation and Reasoning Chapter 12 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
KNOWLEDGE REPRESENTATION
Artificial Intelligence
UML UML to Relations.
UML UML to Relations.
Chapter 11: Classes, Instances, and Message-Handlers
Object Oriented Programming (OOP) LAB # 9
ITEC 3220A Using and Designing Database Systems
Semantic Nets and Frames
ENHANCED ENTITY-RELATIONSHIP (EER) MODEL
Exceptions to Mendel’s Rule
Inheritance Lakshmish Ramaswamy.
Presentation transcript:

Frame-Based Representation Frame: stereotypical knowledge knowledge of some concept. Bird Frame Name Properties CLASS FRAME Tweety Frame Name Properties INSTANCE FRAME

Frames Hold Structure and Behavior of a class of objects/concepts Structure properties/data/attributes Behavior methods, rules defining how instances of the class typically behave Generic structure and behavior defines at class level is specified in instances

Inheritance Structural and behavioral properties are inherited from super-class to sub-classes subclasses automatically carry the structure an behavior of super-class exception handling (birds fly, but penguins do not) multiple inheritance Birds Bird 1 Bird 2 Robins Canaries Bird 3 Bird 4 Sparrows Bird 6 Bird 5

Multiple Inheritance class Bird color eats flies... class Pet name veterinarian... class PetBird color eats flies name veterinarian talks... class Person age weight... class Employee phone# salary... Instance Jack age weight phone# salary

Facets provide further information on a property/attribute –define constraints on property value (data type, range of values, etc.) –how to obtain a value for a property (IF-NEEDED method) –what to do if a value changes (IF-CHANGED method)

Properties and Facets: Example Object name: Refrigerator Class:Home Appliances - Initialize - from Database - from Procedure - Expert Rules - User specified - by Inheritance - Message passing from other objects

Communication between objects Defrost Timer Refrigerator Heating Coil IF-CHANGED methods

Rule Interaction with Objects Frame properties as data IF Humans.Legs = 2IF Jack.Legs=2 THEN humans can walkTHEN Jack can walk Modifying a property value IF Jack likes to swim THEN Jacks.Sports = swimming Creating a new instance IF Lucy is mad at Jack because he doesn’t like hiking THEN MAKE Frame Bob Instance-of Humans WITH Sports = Hiking Deleting a frame IF Lucy is really mad at Jack THEN RETRACT Frame Jack

JackLucy Bob Humans

Pattern Matching ?xx denotes variable Frame ?x instance-of Humans WITH Residence = Pittsburgh WITH Age = ?Age IF Frame ?x instance-of Humans WITH Residence = Pittsburgh WITH Age = ?Age THEN Frame ?x WITH Age = ?Age + 5 IF Frame ?person1 WITH Sex = Male WITH Sports = ?sports1 AND Frame ?person2 WITH Sex = Female WITH Sports = ?sports1 THEN Frame ?person1 WITH Likes = ?person2