Uploadscribd 2
Uploadscribd 2
Uploadscribd 2
J. Felicia Lilian
Introduction to KR
• Human beings are good at understanding, reasoning and interpreting
knowledge.
• And using this knowledge, they are able to perform various actions in
the real world.
All dogs have tails Every dog has at least one tail /
Every dog has several tails
Every dog has a tail Every dog has at least one tail /
A tail that every dog has
Simple Relational knowledge
formal logics.
• It guaranteed correctness.
man(Marcus)
• But it is not necessary that we can represent all cases in this approach.
Approaches to KR
• Four properties:
– Representational Adequacy represent all kinds
of knowledge
– Inferential Adequacy manipulate the
representational structure
– Inferential Efficiency incorporate into
knowledge
– Acquisitional Efficiency Acquire new
information / knowledge
Techniques of knowledge
representation
Logical Representation
• Logical representation is a language with some concrete rules which deals
conditions.
sound inference.
• Each sentence can be translated into logics using syntax and semantics.
Syntax:
• Syntaxes are the rules which decide how we can construct legal sentences in
the logic.
Semantics:
• Semantics are the rules by which we can interpret the sentence in the logic.
• Propositional Logics
• Predicate logics
Semantic Network Representation
• Semantic networks are alternative of predicate logic for knowledge
representation.
• Semantic networks can categorize the object in different forms and can
also link those objects.
Slots Filter
Name Peter
Profession Doctor
Age 25
Marital status Single
Weight 78
Production Rules
• Production rules system consist of (condition, action) pairs which
mean, "If condition then action".
• It has mainly three parts:
• The set of production rules
• Working Memory
• The recognize-act-cycle
• The agent checks for the condition and if the condition exists then
production rule fires and corresponding action is carried out.
• The condition part of the rule determines which rule may be
applied to a problem.
• And the action part carries out the associated problem-solving
steps.
• This complete process is called a recognize-act cycle.
• The working memory contains the description of
the current state of problems-solving and rule can
write knowledge to the working memory.
• This knowledge match and may fire other rules.
• If there is a new situation (state) generates, then
multiple production rules will be fired together,
this is called conflict set.
• In this situation, the agent needs to select a rule
from these sets, and it is called a conflict
resolution.
Example:
• IF (at bus stop AND bus arrives) THEN action (get
into the bus)