Documente Academic
Documente Profesional
Documente Cultură
By:
1.
FRAMES- INTRODUCTION:
1.
FRAMES- INTRODUCTION-II:
o An instance of a Frame.
o Representation of a specific object.
1.
FRAMES- INTRODUCTION-III: 4
2.
EXAMPLES:
2.
EXAMPLES-HIERARCHY:
2.
EXAMPLES-HIERARCHY:
2.
EXAMPLES- I:
o FIDO is a Dog.
o Dog is a concept.
o Fido is a Particular dog.
How Can We Represent the Concept/ Notion of the
Creature Dog?
2.
EXAMPLES:
o FIDO is a Dog.
o Dog is a concept.
o Fido is a Particular dog.
How Can We Represent the Concept/ Notion of the
Creature Dog?
A Way: ANIMALS>>>MAMMALS>>DOG
o FIDO: an instance of the Frame Dog.
o Notion of Frames: Felt by people out of Common
Sense.
2.
10
EXAMPLES- FRAME:
DOG:
SLOT NAME
SLOT VALUES(Default)
IS_A
Mammal
No_of_legs
Has_Tail
Yes
Color_of_Skin
Owner
Type_of_Teeth
Sharp
2.
11
EXAMPLES- FRAME:
FIDO:
SLOT NAME
SLOT VALUES
IS A
Mammal
No_of_legs
Has Tail
Yes
Color of Skin
White
Owner
Shikhar
Type of Teeth
Sharp
2.
EXAMPLES- FRAME:
A Book Frame:
Book Frame
Slot Filler
Title
Year
2003
12
2.
13
EXAMPLES- FRAME:
Inheritance: Similar to OOP Paradigm.
Hotel Chair
Hotel Room
what
room
where hotel
contains
hotel chair
hotel phone
hotel bed
what chair
height 20-40cm
legs
4
Hotel Phone
what phone
billing guest
Hotel Bed
what
size
part
bed
king
mattress
Mattress
price
100$
3.
SLOTS:
14
3.
SLOTS-II:
15
3.
16
SLOTS-III:
Is_a
Human_being
Type
Name
String
Age
Float
Stays_at
String
Studies_in
String
Grades
*results
Constraints
<=15
3.
SLOTS-IV:
17
Predicates in a slot:
o Two Types of Predicates in General:
o If needed
o If added.
3.
18
SLOTS-IV:
Is_a
Human_being
Type
Name
String
Age
Float
Stays_at
String
Studies_in
String
Grades
*results
<=15
4.
INHERITENCE:
19
5.
o Generic Values:
o Hold True for all instances and sub-classes of the class.
o Inherited Down the Hierarchy
o Default Values:
o Filler Values
6.
INFERENCE IN A FRAME:
21
7.
22
9.
ADVANTAGES:
23
9.
DISADVANTAGES:
24
10. REFERENCES:
25
11. QUERIES??
26
THANK-YOU