CH 4
CH 4
Logical Agents
Propositional Logic
Predicate (First-Order)Logic
Knowledge Representation
Knowledge-based Systems
• Ethiopia is in Asia.
• Propositions are usually denoted by letters such as P, Q,
R etc
4.3 Predicate (First-Order)Logic
• The use of formal logic as a primary knowledge
representation
• Soundness - the system's rules of proof will never allow a false inference
from a true premise. If a system is sound and its axioms are true then its
theorems are also guaranteed to be true.
e.g., A B, C
e.g., AA
p q θ
Knows(John,x) Knows(John,Jane) {x/Jane}
Knows(John,x) Knows(y,OJ) {x/OJ,y/John}
Knows(John,x) Knows(y,Mother(y)) {y/John,x/Mother(John)}
Knows(John,x) Knows(x,OJ) {fail}
− Each slot may contain one or more facets (called fillers) which may take
many forms such as:
value (value of the slot),
range (indicates the range of integer or enumerated values, a slot can have),
● If class frame has actual value facet then decedent frames can
not modify that value.
Semantic Net
breathe, eat
Living_thing prop
isa isa
two legs isa fly
Human Animal Bird
isa isa inst isa inst
prop green
Man Woman Giraffe Cat Parrot
prop prop prop
inst fur
john skin, move tall, long legs
Inheritance
● Inheritance mechanism allows knowledge to be stored at the
highest possible level of abstraction which reduces the size of
knowledge base.
− It facilitates inferencing of information associated with semantic nets.
• KBSs are often called expert systems because the problems in their
application domain are usually solved by human experts.