What is Knowledge ?
Knowledge
Knowledge
Information
Data
Signal
I
owner
color
car1 tan
is-a
car
is-a color
car2 green
owner
john
A Semantic Network
Mammal
Is-a
has-part
Person Nose
uniform- instance
color team
Blue M S Dhoni India
Game
visiting- Is-a
team score
Pak T20 5-3
home-team
India
A Semantic Net Representing a
Sentence
John gave the book to Mary.
Give Book
instance instance
agent object
John EV7 BK23
beneficiary
Mary
Inference in a Semantic Net
Basic inference mechanism:
follow links between nodes.
28
Partitioned Semantic Nets cont.
b) Every dog has bitten a mail carrier.
SA
GS Bite Constables
Town-Dogs
30
Partitioned Semantic Nets cont.
d) Every dog has bitten every mail carrier.
SA
Dogs Bite Mail-carrier
form
GS g
Is-a
Advantages of Semantic nets
Inference is simple,natural & efficient as
compared to logical theorem proving (resolution)
in logic.
Can represent default values for classes and still
one of its object can have different value ex:-
person has 2 legs but john has one leg. Note:-
this is not possible in logic KB as it
contradicts,but in SN if search is done it would
start from object itself and stops as soon as it
finds value,hence we get overridden values of
object directly
Drawbacks of semantic nets
No clear semantics
If Multiple inheritance ,possible to get conflicting values.
Ex:-
Only binary relations easy to express,for non-binary
relations, reification process needed
not very expressive in representation of negation, belief,
quantified statements etc .Need using partitioned semantic
net.
If Paritioned semantic net used, we lose its advantage of
simplicity and transparency of inference process.