SlideShare a Scribd company logo
WEAKSLOT-ANDFILLER-STRUCTURES
Inheritable knowledge
• The relational knowledge base determines a set of
attributes and associated values that together
describe the objects of knowledge base.
E.g. Player_info(“john”,”6.1”,180,right_throws)
• The knowledge about the objects, their attributes and
their values need not be as simple as shown.
• One of the most powerful form of inference
mechanisms is property inheritance.
Player Height Weight Bats_throws
John 6.1 180 Right_throws
Sam 5.10 170 right_right
Jack 6.2 215 Bats_throws
• Property Inheritance
• Here elements of specific classes inherit attributes
and values from more general classes in which
they are included.
• In order to support property inheritance objects
must be organized into classes and classes must be
arranged in generalization hierarchy.
and boxed nodes== object/values of attriibutesof an objjectt..
person(Owen)  instance(Owen, Person)
team(Owen, Liverpool)
Here,
Lines ==attributes
This structure is also called as slot and filler structure. These structures are the
devices to support property inheritance along isa and instance links.
Mammal
P
P
e
e
r
r
s
s
o
o
n
n
Owen
Nose
Red Liverpool
isa
instance
h
h
a
a
s
s
-
-
p
p
a
a
r
r
t
t
uniform
colour team
• Advantage of slot and filler structures:
1. monotonic reasoning can be performed more
effectively than with pure logic and non monotonic
reasoning is easily supported.
2. Makes it easy to describe properties of relations.
e.g. “does Owen has-part called nose?”
3. Form of object oriented programming and has
advantages such as modularity and ease of viewing
by people.
Slot and filler structures
Weak slot and filler structure Strong slot and filler structure
Frames
Semantic nets Scripts
Conceptual Dependency
Weak slot and filler structures: are “Knowledge- Poor” or
“weak” as very little importance is given to the specific
knowledge the structure should contain.
Attribute= slot and its value= filler
Semantic nets
• In semantic nets information is represented as:
– set of nodes connected to each other by a set of
labelled arcs.
• Nodes represent: various objects / values of the
attributes of object .
• Arcs represent: relationships among nodes.
Mammal
Person
Jack
Nose
Blue Chicago Royals
isa
instance
has-part
uniform
color team
• In this network we could use inheritance to derive
the additional info:
has_part(jack, nose)
Intersection Search
One way to find relationships among objects is to spread
the activation(links) out from two nodes and find out
where it meets
Ex: relation between :
Red and liverpool
Mammal
Person
Owen
Nose
Red Liverpool
isa
instance
has-part
uniform
color team
• Representing non binary predicates:
1. Unary –
e.x. Man(marcus) can be converted into:
instance(marcus,Man)
2. Other arities-
e.x. Score(india,australia,4-1)
3 or more place predicates can be converted to binary
form as follows:
1. Create new object representing the entire
predicate.
2. Introduce binary predicates to describe relation to
this new object.
TEST4
isa
Game
Australia
India
4-1
Visiting _team Score
Home _team
Score(india,australia,4-1)
Ex. 2. “john gave the book to Mary”
give(john,mary,book)
EV 1
instance
Give
John
Mary
Book
BK1
instance
Object
agent
beneficiary
Making some important distinctions
1. “john has height 72”
2. “john is taller than Bill”
John 72
height
John Bill
H1 H2
height height
Value
72
greater_than
Partitioned semantic nets
• Used to represent quantified expressions in
semantic nets.
• One way to do this is to partition the semantic net
into a hierarchical set of spaces each of which
corresponds to the scope of one or more variable.
• “the dog bit the mail carrier” [partitioning not required]
d
Dogs
b
Bite
m
Mail-Carrier
isa isa isa
assailant victim
• “every dog has bitten a mail carrier”
x: dog (x) y: mail-carrier(y)  bite(x, y)
• How to represent universal quantifiers?
– Let node ‘g’ stands for assertion given above
– This node is an instance of a special class ‘GS’ of
general statements about the world.
– Every element in ‘GS’ has 2 attributes:-
• Form - states relation that is being asserted.
•  connections - one or more, one for each of the universally
quantified variables.
– ‘SA’ is the space of partitioned sementic net.
• “every dog has bitten a mail carrier”
SA
S1
d
Dogs
b
Bite
m
Mail-Carrier
isa isa isa
assailant victim
g
GS
isa
form

• “Every dog in the town has bitten the constable”
SA
m
Constables
isa
S1
d
Dogs
b
Bite
isa isa
assailant
g
GS
isa
form

victim
• “Every dog in the town has bitten every constable”
SA
Constables
S1
d
Dogs
b
Bite
isa isa
assailant
g
GS
isa
form 
victim
c
isa

• More examples of sementic nets:
• “ Mary gave the green flowered vase to her
favourite cousin”
EV 1
instance
Give
Mary
cousin
vase
Object
agent
beneficiary
Colour_pattern
Green
flowered
favourite
• “every batsman hits a ball”
SA
S1
b
Batsman Hits
b
Balls
isa isa isa
action Acts_on
g
GS
isa
form

h
• “Tweety is a kind of bird who can fly. It is Yellow
in colour and has wings.”
Bird
Tweety
Wings
instance
has-part
yellow
fly
colour
action
• Represent following using sementic nets:-
Tom is a cat. Tom caught a bird. Tom is owned by John. Tom is
ginger in color. Cats like cream.The cat sat on the mat. Acat is
a mammal. Abird is an animal. All mammals are
animals.mammals have fur.
Frames
• Another kind of week slot and filler structure.
• Frame is a collection of attributes called as slots
and associated values that describe some entity in
the world (filler).
• Consider,
Room
Hotel room
isa
Hotel bed
contains
Hotel Chair
contains
Location
Chair
Sitting_on
4
20-40 cms
isa
use
legs
height
Room No 2
instance
Hotel Room
isa : Room
contains: Hotel Bed
contains: Hotel Chair
Hotel Chair
isa: Chair
use: sitting_on
location: Hotel Room
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
Frame System for Hotel Room
Frame structure for Hotel Room
Frame structure for Hotel Chair
Frame structure for all remaining
attributes
Person Jack_Roberts
instance: Fielder
height: 5-10
balls: right
batting_avg: 0.309
team: Chicagocubs
uniform_color: blue
Fielder
isa: ML_Baseball_Player
cardinality: 376
batting_avg: 0.262
ML_Baseball_Team
isa:T
eam
cardinality: 26
team_size: 24
manager:
isa: Mammal
cardinality: 6,000,000,000
* Handed: right
Adult Male
isa: Person
Cardinality: 2,000,000,000
* Height: 5- 10
ML_Baseball_Player
isa:Adult_Male
cardinality: 624
* height: 6-1
* bats: equal tohanded
* batting-avg: 0.252
* team:
*uniform_color:
Individual
frame
• Meta Class: special class whose elements themselves are classes.
– If X is meta class and Y is another class which is an element of X, then Y inherits
all the attributes of X.
• Other ways of relating classes to each other
1. Mutually disjoint: 2 classes are mutually disjoint if they are
guaranteed to have no elements in common.
2. Is covered by: relationship is called as ‘covered-by’ when we have
a class and it has set of subclasses, the union of which is equal to the
superclass.
ML_Baseball_Player
isa
Fielder Pitcher
isa
Catcher
isa
American
Leaguer
isa
National
Leaguer
isa
Jack
instance
instance
ML_Baseball_Player
is covered-by: { Pitcher, Catcher, Fielder,American leaguer, National leaguer}
Pitcher
isa: ML_Baseball_Player
mutually_disjoint-with: {Catcher, Fielder }
Catcher
isa: ML_Baseball_Player
mutually_disjoint-with: {Pitcher, Fielder }
Fielder
isa: ML_Baseball_Player
mutually_disjoint-with: {Pitcher, Catcher}
.
.
.
.
Tangled Hierarchies
• Hierarchies that are not trees
• Usually hierarchy is an arbitrary directed acyclic
graph.
• Tangled hierarchies requires new property
inheritance algorithm.
•
FIGURE A
• Can fifi fly?
• The correct answer must be ‘no’.
– Although birds in general can fly, the subset of birds , ostriches does not.
– Although class pet bird provides path from fifi to bird and thus to the answer that fifi
can fly, it provides no info that conflicts with the special case knowledge associated with
class ostrich, so it should hove no effect on the answer.
isa
isa
isa
isa
Ostrich
fly :no
fifi
fly : ?
Bird
fly :yes
Pet-Bird

More Related Content

More from SwatiHans10

routing algo n
routing algo                                nrouting algo                                n
routing algo n
SwatiHans10
 
ethernet nn
ethernet                                         nnethernet                                         nn
ethernet nn
SwatiHans10
 
Transmission control protocol ...............................
Transmission control protocol ...............................Transmission control protocol ...............................
Transmission control protocol ...............................
SwatiHans10
 
search_sort.ppt
search_sort.pptsearch_sort.ppt
search_sort.ppt
SwatiHans10
 
analytics platform
analytics platformanalytics platform
analytics platform
SwatiHans10
 
kpi
kpikpi
data collection.ppt
data collection.pptdata collection.ppt
data collection.ppt
SwatiHans10
 
heuristic - best search and a*
heuristic - best search and a*heuristic - best search and a*
heuristic - best search and a*
SwatiHans10
 
knowledge representation.pptx
knowledge representation.pptxknowledge representation.pptx
knowledge representation.pptx
SwatiHans10
 
Multiplexing.ppt
Multiplexing.pptMultiplexing.ppt
Multiplexing.ppt
SwatiHans10
 
ER.ppt
ER.pptER.ppt
ER.ppt
SwatiHans10
 
Cloud computing
Cloud computingCloud computing
Cloud computing
SwatiHans10
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
SwatiHans10
 

More from SwatiHans10 (13)

routing algo n
routing algo                                nrouting algo                                n
routing algo n
 
ethernet nn
ethernet                                         nnethernet                                         nn
ethernet nn
 
Transmission control protocol ...............................
Transmission control protocol ...............................Transmission control protocol ...............................
Transmission control protocol ...............................
 
search_sort.ppt
search_sort.pptsearch_sort.ppt
search_sort.ppt
 
analytics platform
analytics platformanalytics platform
analytics platform
 
kpi
kpikpi
kpi
 
data collection.ppt
data collection.pptdata collection.ppt
data collection.ppt
 
heuristic - best search and a*
heuristic - best search and a*heuristic - best search and a*
heuristic - best search and a*
 
knowledge representation.pptx
knowledge representation.pptxknowledge representation.pptx
knowledge representation.pptx
 
Multiplexing.ppt
Multiplexing.pptMultiplexing.ppt
Multiplexing.ppt
 
ER.ppt
ER.pptER.ppt
ER.ppt
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 

Recently uploaded

Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
PuktoonEngr
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 

Recently uploaded (20)

Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 

filler structures.pptx

  • 2. Inheritable knowledge • The relational knowledge base determines a set of attributes and associated values that together describe the objects of knowledge base. E.g. Player_info(“john”,”6.1”,180,right_throws) • The knowledge about the objects, their attributes and their values need not be as simple as shown. • One of the most powerful form of inference mechanisms is property inheritance. Player Height Weight Bats_throws John 6.1 180 Right_throws Sam 5.10 170 right_right Jack 6.2 215 Bats_throws
  • 3. • Property Inheritance • Here elements of specific classes inherit attributes and values from more general classes in which they are included. • In order to support property inheritance objects must be organized into classes and classes must be arranged in generalization hierarchy.
  • 4. and boxed nodes== object/values of attriibutesof an objjectt.. person(Owen)  instance(Owen, Person) team(Owen, Liverpool) Here, Lines ==attributes This structure is also called as slot and filler structure. These structures are the devices to support property inheritance along isa and instance links. Mammal P P e e r r s s o o n n Owen Nose Red Liverpool isa instance h h a a s s - - p p a a r r t t uniform colour team
  • 5. • Advantage of slot and filler structures: 1. monotonic reasoning can be performed more effectively than with pure logic and non monotonic reasoning is easily supported. 2. Makes it easy to describe properties of relations. e.g. “does Owen has-part called nose?” 3. Form of object oriented programming and has advantages such as modularity and ease of viewing by people.
  • 6. Slot and filler structures Weak slot and filler structure Strong slot and filler structure Frames Semantic nets Scripts Conceptual Dependency Weak slot and filler structures: are “Knowledge- Poor” or “weak” as very little importance is given to the specific knowledge the structure should contain. Attribute= slot and its value= filler
  • 7. Semantic nets • In semantic nets information is represented as: – set of nodes connected to each other by a set of labelled arcs. • Nodes represent: various objects / values of the attributes of object . • Arcs represent: relationships among nodes. Mammal Person Jack Nose Blue Chicago Royals isa instance has-part uniform color team
  • 8. • In this network we could use inheritance to derive the additional info: has_part(jack, nose) Intersection Search One way to find relationships among objects is to spread the activation(links) out from two nodes and find out where it meets Ex: relation between : Red and liverpool Mammal Person Owen Nose Red Liverpool isa instance has-part uniform color team
  • 9. • Representing non binary predicates: 1. Unary – e.x. Man(marcus) can be converted into: instance(marcus,Man) 2. Other arities- e.x. Score(india,australia,4-1) 3 or more place predicates can be converted to binary form as follows: 1. Create new object representing the entire predicate. 2. Introduce binary predicates to describe relation to this new object.
  • 11. Ex. 2. “john gave the book to Mary” give(john,mary,book) EV 1 instance Give John Mary Book BK1 instance Object agent beneficiary
  • 12. Making some important distinctions 1. “john has height 72” 2. “john is taller than Bill” John 72 height John Bill H1 H2 height height Value 72 greater_than
  • 13. Partitioned semantic nets • Used to represent quantified expressions in semantic nets. • One way to do this is to partition the semantic net into a hierarchical set of spaces each of which corresponds to the scope of one or more variable. • “the dog bit the mail carrier” [partitioning not required] d Dogs b Bite m Mail-Carrier isa isa isa assailant victim
  • 14. • “every dog has bitten a mail carrier” x: dog (x) y: mail-carrier(y)  bite(x, y) • How to represent universal quantifiers? – Let node ‘g’ stands for assertion given above – This node is an instance of a special class ‘GS’ of general statements about the world. – Every element in ‘GS’ has 2 attributes:- • Form - states relation that is being asserted. •  connections - one or more, one for each of the universally quantified variables. – ‘SA’ is the space of partitioned sementic net.
  • 15. • “every dog has bitten a mail carrier” SA S1 d Dogs b Bite m Mail-Carrier isa isa isa assailant victim g GS isa form 
  • 16. • “Every dog in the town has bitten the constable” SA m Constables isa S1 d Dogs b Bite isa isa assailant g GS isa form  victim
  • 17. • “Every dog in the town has bitten every constable” SA Constables S1 d Dogs b Bite isa isa assailant g GS isa form  victim c isa 
  • 18. • More examples of sementic nets: • “ Mary gave the green flowered vase to her favourite cousin” EV 1 instance Give Mary cousin vase Object agent beneficiary Colour_pattern Green flowered favourite
  • 19. • “every batsman hits a ball” SA S1 b Batsman Hits b Balls isa isa isa action Acts_on g GS isa form  h
  • 20. • “Tweety is a kind of bird who can fly. It is Yellow in colour and has wings.” Bird Tweety Wings instance has-part yellow fly colour action
  • 21. • Represent following using sementic nets:- Tom is a cat. Tom caught a bird. Tom is owned by John. Tom is ginger in color. Cats like cream.The cat sat on the mat. Acat is a mammal. Abird is an animal. All mammals are animals.mammals have fur.
  • 22. Frames • Another kind of week slot and filler structure. • Frame is a collection of attributes called as slots and associated values that describe some entity in the world (filler). • Consider, Room Hotel room isa Hotel bed contains Hotel Chair contains Location Chair Sitting_on 4 20-40 cms isa use legs height Room No 2 instance
  • 23. Hotel Room isa : Room contains: Hotel Bed contains: Hotel Chair Hotel Chair isa: Chair use: sitting_on location: Hotel Room . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Frame System for Hotel Room Frame structure for Hotel Room Frame structure for Hotel Chair Frame structure for all remaining attributes
  • 24. Person Jack_Roberts instance: Fielder height: 5-10 balls: right batting_avg: 0.309 team: Chicagocubs uniform_color: blue Fielder isa: ML_Baseball_Player cardinality: 376 batting_avg: 0.262 ML_Baseball_Team isa:T eam cardinality: 26 team_size: 24 manager: isa: Mammal cardinality: 6,000,000,000 * Handed: right Adult Male isa: Person Cardinality: 2,000,000,000 * Height: 5- 10 ML_Baseball_Player isa:Adult_Male cardinality: 624 * height: 6-1 * bats: equal tohanded * batting-avg: 0.252 * team: *uniform_color: Individual frame
  • 25. • Meta Class: special class whose elements themselves are classes. – If X is meta class and Y is another class which is an element of X, then Y inherits all the attributes of X. • Other ways of relating classes to each other 1. Mutually disjoint: 2 classes are mutually disjoint if they are guaranteed to have no elements in common. 2. Is covered by: relationship is called as ‘covered-by’ when we have a class and it has set of subclasses, the union of which is equal to the superclass. ML_Baseball_Player isa Fielder Pitcher isa Catcher isa American Leaguer isa National Leaguer isa Jack instance instance
  • 26. ML_Baseball_Player is covered-by: { Pitcher, Catcher, Fielder,American leaguer, National leaguer} Pitcher isa: ML_Baseball_Player mutually_disjoint-with: {Catcher, Fielder } Catcher isa: ML_Baseball_Player mutually_disjoint-with: {Pitcher, Fielder } Fielder isa: ML_Baseball_Player mutually_disjoint-with: {Pitcher, Catcher} . . . .
  • 27. Tangled Hierarchies • Hierarchies that are not trees • Usually hierarchy is an arbitrary directed acyclic graph. • Tangled hierarchies requires new property inheritance algorithm.
  • 28. • FIGURE A • Can fifi fly? • The correct answer must be ‘no’. – Although birds in general can fly, the subset of birds , ostriches does not. – Although class pet bird provides path from fifi to bird and thus to the answer that fifi can fly, it provides no info that conflicts with the special case knowledge associated with class ostrich, so it should hove no effect on the answer. isa isa isa isa Ostrich fly :no fifi fly : ? Bird fly :yes Pet-Bird