SlideShare a Scribd company logo
2
Most read
5
Most read
8
Most read
Knowledge-based agent
18
Propositional Logic
Subscribe
Knowledge-Based (Logical) Agents
Knowledge-based agents can accept new
tasks in the form of explicitly described
goals; they can achieve competence quickly
by being told or learning new knowledge
about the environment; and they can adapt
to changes in the environment by updating
the relevant knowledge.
Components
Knowledge Base
• A knowledge base is a set of sentence. Each sentence is
expressed in a language called a knowledge representation
language and represents some assertion about the world.
Inference Engine
• Inference engine allows us to add a new sentence to the knowledge base. A sentence is a
proposition about the world. Inference system applies logical rules to the KB to deduce new
information.
Subscribe
Operations performed by K.B.A.
 A Knowledge Base keeps track of things.
 We can TELL it facts or ASK for inference.
TELL: This operation tells the knowledge base what it perceives from the
environment.
ASK: This operation asks the knowledge base what action it should
perform.
Example:
TELL: Father of John is Robbin.
TELL: Marry is John’s sister.
TELL: John’s father is the same as John’s sister’s father.
ASK: Who is Marry’s father?
Subscribe
Each time when the function is called, it does three things.
It TELLs the KB what it perceives.
It ASKs KB what action it should take
Agent program TELLS the KB that which action was chosen.
Subscribe
Logic
 Knowledge bases consist of sentences.
 These sentences are expressed according to the
syntax of the representation language , which
specifies all the sentences that are well formed.
 x+y=2 (well formed)
 x2y=+ (not well formed)
 A logic must also defines the semantics or
meaning of sentences.
 The semantics defines the TRUTH of each
sentence with respect to each possible
world.(model)
 x+ y=4 is true in a world where x=2 and y=2
But false in a world where x is 1 and y is 1
Subscribe
Propositional Logic
Subscribe
 The Syntax of propositional logic defines the allowable
sentences.
The atomic sentences consist of a single proposition
symbol Each such symbol stands for a proposition that
can be true or false.
Example: Sunday is Holiday. (true proposition)
2+1=4 (False proposition)
some boys like to play cricket.(Not a propositional logic)
 Complex sentences are constructed from simpler
sentences, using parentheses and logical connective.
Connectives
Symbol Name Meaning
¬ (Not)
Negation
If P is true , ¬P will be false and vice
versa.
^ (and)
Conjunction
(P^Q) is true if both P and Q are true
otherwise false.
v (or)
Disjunction
(P v Q) is true if either P or Q is true (or
both) otherwise false.
→ implies If P happens then Q happens.
↔ Double
implication
P happens if and only if Q happens.
Subscribe
Examples:
1.You can use the college library only if you are a
student or are a faculty.
P(Q v R)
2. I will go for shopping if and only if I have a money.
P↔Q
3. "If it rains, I will not go to the market.
P⌐Q
4. It is not cloudy, and it is not raining.
⌐P ^ ⌐Q
Some dog is a pet.
Everybody loves someone.
Subscribe
Thanks For
Watching
Reference:
Artificial Intelligence
A Modern Approach Third Edition
Peter Norvig and Stuart J. Russell
Subscribe
Like
Share
Next Topic: The Wumpus World
OMega TechEd
About the Channel
This channel helps you to prepare for BSc IT and BSc computer science subjects.
In this channel we will learn Business Intelligence ,Artificial Intelligence, Digital Electronics,
Internet OF Things Python programming , Data-Structure etc.
Which is useful for upcoming university exams.
Gmail: omega.teched@gmail.com
Social Media Handles:
omega.teched
megha_with
Subscribe

More Related Content

PDF
Unit4: Knowledge Representation
PPT
Logical Agents
PPTX
Knowledge Representation & Reasoning AI UNIT 3
PPTX
Chapter 13
PPTX
Knowledge representation
PPT
Predicate logic_2(Artificial Intelligence)
PPT
Propositional And First-Order Logic
PPTX
Inference in First-Order Logic
Unit4: Knowledge Representation
Logical Agents
Knowledge Representation & Reasoning AI UNIT 3
Chapter 13
Knowledge representation
Predicate logic_2(Artificial Intelligence)
Propositional And First-Order Logic
Inference in First-Order Logic

What's hot (20)

PPTX
Knowledge based agents
PPTX
First order logic
PPTX
Natural Language Processing in AI
PDF
AI_ 3 & 4 Knowledge Representation issues
PPTX
Fuzzy rules and fuzzy reasoning
PPTX
Planning in Artificial Intelligence
PPTX
AI: Learning in AI
PPT
5 csp
PPTX
Agents and environments
PPTX
Unification and Lifting
PPTX
First order predicate logic (fopl)
PPTX
Rule based system
PDF
AI_unit IV Full Notes.pdf
PPT
AI Lecture 7 (uncertainty)
PPTX
Uncertain Knowledge and Reasoning in Artificial Intelligence
PPT
vdocument.in_prof-saroj-kaushik1-introduction-to-artificial-intelligence-lect...
PPTX
Learning in AI
PDF
Problem Solving
PPT
Predicate Logic
PPTX
Means End Analysis (MEA) in Artificial.pptx
Knowledge based agents
First order logic
Natural Language Processing in AI
AI_ 3 & 4 Knowledge Representation issues
Fuzzy rules and fuzzy reasoning
Planning in Artificial Intelligence
AI: Learning in AI
5 csp
Agents and environments
Unification and Lifting
First order predicate logic (fopl)
Rule based system
AI_unit IV Full Notes.pdf
AI Lecture 7 (uncertainty)
Uncertain Knowledge and Reasoning in Artificial Intelligence
vdocument.in_prof-saroj-kaushik1-introduction-to-artificial-intelligence-lect...
Learning in AI
Problem Solving
Predicate Logic
Means End Analysis (MEA) in Artificial.pptx
Ad

Similar to Knowledge based agents (20)

PPTX
chapter AI 4 Kowledge Based Agent.pptx
PDF
GDSC SSN - solution Challenge : Fundamentals of Decision Making
PDF
Knowledge base artificial intelligence.pdf
PDF
AIES Unit_2 (2022).pdf.........../..............
DOCX
AI assagnmebt.docx
PPT
AI-Unit4.ppt
PPT
AI Lecture 6 (logical agents)
PPT
Topic 5 Logical Agents Types Details.ppt
PPTX
Knowledge & logic in Artificial Intelligence.pptx
PPTX
Knowledege Representation.pptx
PPTX
Knnowledge representation and logic lec 11 to lec 15
PPTX
Basic Knowledge Representation and Reasonong
PDF
Chapter 4 - Knowledge Representation and Reasoning (1).pdf
PDF
Artificial Intelligence Notes Unit 2
PPTX
CS Artificial Intelligence chapter 4.pptx
PDF
AI NOTES ppt 4.pdf
PPTX
KBS Architecture.pptx
DOCX
1194Propositional Logicflytosky11iStockThinkstock.docx
PPTX
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
chapter AI 4 Kowledge Based Agent.pptx
GDSC SSN - solution Challenge : Fundamentals of Decision Making
Knowledge base artificial intelligence.pdf
AIES Unit_2 (2022).pdf.........../..............
AI assagnmebt.docx
AI-Unit4.ppt
AI Lecture 6 (logical agents)
Topic 5 Logical Agents Types Details.ppt
Knowledge & logic in Artificial Intelligence.pptx
Knowledege Representation.pptx
Knnowledge representation and logic lec 11 to lec 15
Basic Knowledge Representation and Reasonong
Chapter 4 - Knowledge Representation and Reasoning (1).pdf
Artificial Intelligence Notes Unit 2
CS Artificial Intelligence chapter 4.pptx
AI NOTES ppt 4.pdf
KBS Architecture.pptx
1194Propositional Logicflytosky11iStockThinkstock.docx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
Ad

More from Megha Sharma (20)

PPTX
Designing Printed Circuit boards, Software Choices, The Design Process
PPTX
Manufacturing PCB, Etching board, milling board, Third party manufacturing, a...
PPTX
Business Model, make thing, sell thing, subscription, customization, Key Reso...
PPTX
Funding an IOT startup, Venture Capital, Government funding, Crowdfunding, Le...
PPTX
Sketch, Iterate and Explore, Nondigital Methods.
PPTX
CNC Milling, Software, Repurposing and Recycling.
PPTX
3D printing, Types of 3D printing: FDM, Laser Sintering, Powder bed, LOM, DLP.
PPTX
Laser Cutting, Choosing a laser cutter, Software, Hinges and joints.
PPTX
Memory management, Types of memory, Making the most of your RAM.
PPTX
Performance and Battery Life, Libraries, Debugging.
PPTX
Prototyping Embedded Devices: Arduino, Developing on the Arduino.
PPTX
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
PPTX
Open Source versus Closed Source in IOT in IOT
PPTX
Why closed? Why Open? Mixing open and closed source
PPTX
Model Performance Metrics. Accuracy, Precision, Recall
PPTX
Graceful Degradation and Affordance in IOT
PPTX
Web thinking connected device, Small Pieces Loosely joined.
PPTX
Production & Mass Personalization, Changing Embedded Platform, Physical proto...
PPTX
Whose data is it anyways? Public vs Private data collection.
PPTX
Thinking about Prototyping: Sketching, Familiarity, Cost versus Ease of proto...
Designing Printed Circuit boards, Software Choices, The Design Process
Manufacturing PCB, Etching board, milling board, Third party manufacturing, a...
Business Model, make thing, sell thing, subscription, customization, Key Reso...
Funding an IOT startup, Venture Capital, Government funding, Crowdfunding, Le...
Sketch, Iterate and Explore, Nondigital Methods.
CNC Milling, Software, Repurposing and Recycling.
3D printing, Types of 3D printing: FDM, Laser Sintering, Powder bed, LOM, DLP.
Laser Cutting, Choosing a laser cutter, Software, Hinges and joints.
Memory management, Types of memory, Making the most of your RAM.
Performance and Battery Life, Libraries, Debugging.
Prototyping Embedded Devices: Arduino, Developing on the Arduino.
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
Open Source versus Closed Source in IOT in IOT
Why closed? Why Open? Mixing open and closed source
Model Performance Metrics. Accuracy, Precision, Recall
Graceful Degradation and Affordance in IOT
Web thinking connected device, Small Pieces Loosely joined.
Production & Mass Personalization, Changing Embedded Platform, Physical proto...
Whose data is it anyways? Public vs Private data collection.
Thinking about Prototyping: Sketching, Familiarity, Cost versus Ease of proto...

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Institutional Correction lecture only . . .
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
O7-L3 Supply Chain Operations - ICLT Program
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Institutional Correction lecture only . . .
STATICS OF THE RIGID BODIES Hibbelers.pdf
01-Introduction-to-Information-Management.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
RMMM.pdf make it easy to upload and study
Complications of Minimal Access Surgery at WLH
Final Presentation General Medicine 03-08-2024.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial disease of the cardiovascular and lymphatic systems
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Structure & Organelles in detailed.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPH.pptx obstetrics and gynecology in nursing
Insiders guide to clinical Medicine.pdf
Microbial diseases, their pathogenesis and prophylaxis

Knowledge based agents

  • 2. Subscribe Knowledge-Based (Logical) Agents Knowledge-based agents can accept new tasks in the form of explicitly described goals; they can achieve competence quickly by being told or learning new knowledge about the environment; and they can adapt to changes in the environment by updating the relevant knowledge.
  • 3. Components Knowledge Base • A knowledge base is a set of sentence. Each sentence is expressed in a language called a knowledge representation language and represents some assertion about the world. Inference Engine • Inference engine allows us to add a new sentence to the knowledge base. A sentence is a proposition about the world. Inference system applies logical rules to the KB to deduce new information. Subscribe
  • 4. Operations performed by K.B.A.  A Knowledge Base keeps track of things.  We can TELL it facts or ASK for inference. TELL: This operation tells the knowledge base what it perceives from the environment. ASK: This operation asks the knowledge base what action it should perform. Example: TELL: Father of John is Robbin. TELL: Marry is John’s sister. TELL: John’s father is the same as John’s sister’s father. ASK: Who is Marry’s father? Subscribe
  • 5. Each time when the function is called, it does three things. It TELLs the KB what it perceives. It ASKs KB what action it should take Agent program TELLS the KB that which action was chosen. Subscribe
  • 6. Logic  Knowledge bases consist of sentences.  These sentences are expressed according to the syntax of the representation language , which specifies all the sentences that are well formed.  x+y=2 (well formed)  x2y=+ (not well formed)  A logic must also defines the semantics or meaning of sentences.  The semantics defines the TRUTH of each sentence with respect to each possible world.(model)  x+ y=4 is true in a world where x=2 and y=2 But false in a world where x is 1 and y is 1 Subscribe
  • 7. Propositional Logic Subscribe  The Syntax of propositional logic defines the allowable sentences. The atomic sentences consist of a single proposition symbol Each such symbol stands for a proposition that can be true or false. Example: Sunday is Holiday. (true proposition) 2+1=4 (False proposition) some boys like to play cricket.(Not a propositional logic)  Complex sentences are constructed from simpler sentences, using parentheses and logical connective.
  • 8. Connectives Symbol Name Meaning ¬ (Not) Negation If P is true , ¬P will be false and vice versa. ^ (and) Conjunction (P^Q) is true if both P and Q are true otherwise false. v (or) Disjunction (P v Q) is true if either P or Q is true (or both) otherwise false. → implies If P happens then Q happens. ↔ Double implication P happens if and only if Q happens. Subscribe
  • 9. Examples: 1.You can use the college library only if you are a student or are a faculty. P(Q v R) 2. I will go for shopping if and only if I have a money. P↔Q 3. "If it rains, I will not go to the market. P⌐Q 4. It is not cloudy, and it is not raining. ⌐P ^ ⌐Q Some dog is a pet. Everybody loves someone. Subscribe
  • 10. Thanks For Watching Reference: Artificial Intelligence A Modern Approach Third Edition Peter Norvig and Stuart J. Russell Subscribe Like Share Next Topic: The Wumpus World
  • 11. OMega TechEd About the Channel This channel helps you to prepare for BSc IT and BSc computer science subjects. In this channel we will learn Business Intelligence ,Artificial Intelligence, Digital Electronics, Internet OF Things Python programming , Data-Structure etc. Which is useful for upcoming university exams. Gmail: omega.teched@gmail.com Social Media Handles: omega.teched megha_with Subscribe