006 Knowledge Reprensation 2 - Semantic
006 Knowledge Reprensation 2 - Semantic
006 Knowledge Reprensation 2 - Semantic
Knowledge Representation 2_
Semantic
https://www.youtube.com/watch?
v=9EsumyUT6Fg&list=RDIAF3c_FiWaQ&i
ndex=3
Topic & Structure of The Lesson
• Semantic network
• Relationship
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 5 Slide 5 of 20
Question
isa dog
Fido
has
4 legs
DB
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 7 Slide 7 of 20
Semantic Nets: student world
award
consist_ isa
module
instance of
BSc
DB
isa
instance
C++
AI
MSc
enrolled
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 8 Slide 8 of 20
Can SN cope with exceptions?
isa
animal bird has_part wings
can
isa
is ca
fly
a n
penguin?
sing
• Advantages
– easy to understand, good at describing declarative
knowledge
– Key feature: inheritance
• economy of effort: inference achieved through
links
– reduce search time (nodes are connected to related
nodes)
– flexibility in adding new nodes
– closer to human information storage
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 10 Slide 10 of 20
Evaluation of SN
• Limitations
– no standard representation
– exceptions are difficult to handle (inherit
all features)
– sequence and time difficult to capture
– difficult to represent procedural
knowledge, negation,
animal yellow
fly
tweety
sing
canary small
A set of concepts
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 12 Slide 12 of 20
Semantic networks: bird
isa
classification
animal has_part
bird
wings
can
is ca
fly
a n
sing
size
canary small
Bird has wings,
colour and can fly and
instance can sing
yellow
tweety
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 13 Slide 13 of 20
Quick Review Question
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 15 Slide 15 of 20
Tutorial(answer) - Semantic
A direct Prolog representation can be used, with classes represented by
predicates, thus:
• cat(tom).
• cat(cat1).
• mat(mat1).
• sat_on(cat1,mat1).
• bird(bird1).
• caught(tom,bird1).
• like(X,cream) :– cat(X).
• mammal(X) :– cat(X).
• has(X,fur) :– mammal(X).
• animal(X) :– mammal(X).
• animal(X) :– bird(X).
• owns(john,tom).
• is_coloured(tom,ginger).
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence 16 Slide 16 of 20
Summary of Main Teaching Points
Knowledge Representation 2
CT017-3-1 Introduction to Artificial Intelligence Slide 18 of 9 Slide 18 of 20
Question and Answer Session
Q&A
• Uninformed Search