SlideShare a Scribd company logo
Knowledge Representation
and
Reasoning
The AI Cycle
The dilemma
• How to approach the problem?
• should we try to emulate the human brain completely and exactly as it is?
• Or should we come up with something new?
• Do we know how the KR and reasoning components are implemented in
humans ? No
• we need a synthetic (artificial) way to model the knowledge
representation and reasoning capability of humans in computers.
Knowledge and its Types
• Knowledge is the Understanding of a subject area
• knowledge domain : a well-focused subject area
• Eg. medical domain, engineering domain, business domain, etc
Categories of knowledge
Intuitive Ways of Knowledge Representation
• Pictures
• they provide a high level view of
a concept to be obtained
• Graphs and networks
• allow relationships between
objects/entities to be incorporated
• Numbers
• integral part of knowledge
representation used by humans.
Formal KR techniques
• Choosing the proper knowledge representation helps in reasoning. =>
‘Knowledge is Power’.
• Formal KR techniques includes
• Facts
• Rules
• Semantic networks
• Frames
• Logic
Facts
• basic block of knowledge (the atomic units of knowledge).
• represent declarative knowledge (they declare knowledge about objects).
• A proposition is the statement of a fact.
• Each proposition has an associated truth value. It may be either true or false.
• In AI, to represent a fact, we use a proposition and its associated truth value.
eg.
–Proposition A: It is raining
–Proposition B: I have an umbrella
–Proposition C: I will go to school
Types of facts
• Single-valued or multiple –valued
• Uncertain facts
• Fuzzy facts
• Object-Attribute-Value triplets
Rules
• Rule: A knowledge structure that relates some known information to
other information that can be concluded or inferred to be true.
• Components of a rule
• A rule consists of two components
• Antecedent or premise or the IF part
• Consequent or conclusion or the THEN part
• Example
Compound Rules
• Multiple premises or antecedents may be joined using AND
(conjunctions) and OR (disjunctions), e.g.
Types of Rules
• Relationship
• Recommendation
• Directive
• Variable Rules
• Uncertain Rules
• Meta Rules
• Rule Sets
Semantic networks
• Semantic networks are graphs, with
• nodes representing objects and
• arcs representing relationships between
objects.
• The two most common types of
relationships are
• IS-A (Inheritance relation)
• HAS (Ownership relation)
Vehicle Semantic Network
Problems with Semantic Networks
• Semantic networks are computationally expensive at run-time
• They try to model human associative memory (store information
using associations),
• Semantic networks are logically inadequate as they do not have
any equivalent quantifiers, e.g., for all, for some, none.
Frames
• Frames are data structures for representing stereotypical
knowledge of some concept or object
Inheritance
The specific frame inherits properties from the more general
frame,
Example of a Frame-Based Decision-Support System: HELP
FACETS
• A slot in a frame can hold more that just a value, it consists of
metadata and procedures.
• The various aspects of a slot are called facets.
• They are a feature of frames that allows us to put constraints on
frames.
• e.g. IF-NEEDED Facets are called when the data of a particular slot is
needed.
• Similarly, IFCHANGED Facets are when the value of a slot changes.
Logic
• propositional logic and predicate calculus are forms of formal
logic for dealing with propositions.
• Two basic logic representation techniques:
• Propositional Logic
• Predicate Calculus
Propositional logic
• A proposition is the statement of a fact.
• We usually assign a symbolic variable to represent a proposition, e.g.
• A proposition is a sentence whose truth values may be determined.
• So, each proposition has a truth value, e.g.
–The proposition ‘A rectangle has four sides’ is true
–The proposition ‘The world is a cube’ is false.
Compound Statements
Logical Connectives
Limitations of Propositional Logic
• Propositions can only represent knowledge as complete sentences, e.g.
a = the ball’s color is blue.
• Cannot analyze the internal structure of the sentence.
• No quantifiers are available, e.g. for-all, there-exists
• Propositional logic provides no framework for proving statements
such as:
All humans are mortal
All women are humans
Therefore, all women are mortals
This is a limitation in its representational power.
Predicate calculus
• Predicate Calculus is an extension of propositional logic that allows
the structure of facts and sentences to be defined.
• With predicate logic, we can use expressions like
Color( ball, blue)
• predicate calculus provides a mechanism for proving
statements and can be used as a logic system for proving logical
theorems
Quantifiers
• The Universal quantifier
Eg.
• Existential quantifier
Eg.
First Order Predicate Logic

More Related Content

PPTX
Learning by analogy
PPT
Knowledge Representation in Artificial intelligence
PPTX
Component and Deployment Diagram - Brief Overview
PPTX
Deductive databases
PPTX
Forward Backward Chaining
PPTX
Probabilistic Reasoning
PPT
Ch 9-1.Machine Learning: Symbol-based
PPTX
Active database system
Learning by analogy
Knowledge Representation in Artificial intelligence
Component and Deployment Diagram - Brief Overview
Deductive databases
Forward Backward Chaining
Probabilistic Reasoning
Ch 9-1.Machine Learning: Symbol-based
Active database system

What's hot (20)

PPT
Use case Diagram
PPTX
Frames
PPTX
OLAP operations
PPT
Hill climbing
PPTX
Problem solving agents
PPTX
Active database
PPTX
Gradient Boosted trees
PPT
software-project-management-unit-2.ppt
PPTX
Forms of learning in ai
PPT
backpropagation in neural networks
PDF
CS6010 Social Network Analysis Unit I
PDF
Dempster Shafer Theory AI CSE 8th Sem
PPTX
Neural network
PPTX
Knowledge representation and reasoning
PPTX
Introduction to Parallel and Distributed Computing
PPTX
Logics for non monotonic reasoning-ai
PPTX
knowledge representation using rules
PPTX
Learning in AI
PPTX
OOAD unit1 introduction to object orientation
PPTX
And or graph
Use case Diagram
Frames
OLAP operations
Hill climbing
Problem solving agents
Active database
Gradient Boosted trees
software-project-management-unit-2.ppt
Forms of learning in ai
backpropagation in neural networks
CS6010 Social Network Analysis Unit I
Dempster Shafer Theory AI CSE 8th Sem
Neural network
Knowledge representation and reasoning
Introduction to Parallel and Distributed Computing
Logics for non monotonic reasoning-ai
knowledge representation using rules
Learning in AI
OOAD unit1 introduction to object orientation
And or graph
Ad

Similar to Lec 3 knowledge acquisition representation and inference (20)

PPTX
chapter2 Know.representation.pptx
PPTX
uploadscribd2.pptx
PPTX
PAIML - UNIT 2dfbdfbvdfvdvdfvdfvdfv.pptx
PPTX
Lec 09
PPTX
AI material for you computer science.pptx
PPTX
Module-3-AI-Fundamentals_Logical agent-Part-1.pptx
PPTX
MODULE-2_AI_Computer_Science_Engineering.pptx
PPTX
Unit 2.pptx
PPTX
frames.pptx
PPT
Artificial Intelligence: Knowledge Acquisition
PPT
6 KBS_ES.ppt
PDF
Chapter 4 - Knowledge Representation and Reasoning (1).pdf
PPTX
Knowledge & logic in Artificial Intelligence.pptx
PPTX
Untangling Concepts, Objects, and Information
PPTX
module-2 ppt knowledge representation computer application
PPT
Database design
PDF
Artificial intelligence course work
PPT
4KN Editted 2012.ppt
PPTX
Foundations of Knowledge Representation in Artificial Intelligence.pptx
PPTX
Foundation_Logic_1.pptx discrete mathematics
chapter2 Know.representation.pptx
uploadscribd2.pptx
PAIML - UNIT 2dfbdfbvdfvdvdfvdfvdfv.pptx
Lec 09
AI material for you computer science.pptx
Module-3-AI-Fundamentals_Logical agent-Part-1.pptx
MODULE-2_AI_Computer_Science_Engineering.pptx
Unit 2.pptx
frames.pptx
Artificial Intelligence: Knowledge Acquisition
6 KBS_ES.ppt
Chapter 4 - Knowledge Representation and Reasoning (1).pdf
Knowledge & logic in Artificial Intelligence.pptx
Untangling Concepts, Objects, and Information
module-2 ppt knowledge representation computer application
Database design
Artificial intelligence course work
4KN Editted 2012.ppt
Foundations of Knowledge Representation in Artificial Intelligence.pptx
Foundation_Logic_1.pptx discrete mathematics
Ad

More from Eyob Seyfu (17)

PDF
Chapter Five - Relational Query Languages.pdf
PDF
Chapter Three - Entity Relationship Diagram (ERD).pdf
PDF
Chapter Two: Database System Concepts and Architectures
PDF
Chapter One: Introduction to Database Systems
PDF
Lec 9 conclusion
PDF
Lec 8 ai implementation
PDF
Lec 7 genetic algorithms
PDF
Lec 6 learning
PDF
Lec 5 uncertainty
PDF
Lec 4 expert systems
PDF
Lec 3 1 reasoning
PDF
Lec 2 1 informed search
PDF
Lec 2 agents
PDF
Lec 0 about the course
PDF
Lec 1 introduction
PPTX
Security and Privacy Challenges in Cloud Computing Environments
PPTX
A Survey on Wireless Mesh Networks (WMN)
Chapter Five - Relational Query Languages.pdf
Chapter Three - Entity Relationship Diagram (ERD).pdf
Chapter Two: Database System Concepts and Architectures
Chapter One: Introduction to Database Systems
Lec 9 conclusion
Lec 8 ai implementation
Lec 7 genetic algorithms
Lec 6 learning
Lec 5 uncertainty
Lec 4 expert systems
Lec 3 1 reasoning
Lec 2 1 informed search
Lec 2 agents
Lec 0 about the course
Lec 1 introduction
Security and Privacy Challenges in Cloud Computing Environments
A Survey on Wireless Mesh Networks (WMN)

Recently uploaded (20)

PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Construction Project Organization Group 2.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
PPT on Performance Review to get promotions
PPTX
Sustainable Sites - Green Building Construction
PPT
Project quality management in manufacturing
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Lecture Notes Electrical Wiring System Components
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Construction Project Organization Group 2.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CH1 Production IntroductoryConcepts.pptx
Geodesy 1.pptx...............................................
UNIT 4 Total Quality Management .pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT on Performance Review to get promotions
Sustainable Sites - Green Building Construction
Project quality management in manufacturing
Model Code of Practice - Construction Work - 21102022 .pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Lecture Notes Electrical Wiring System Components
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx

Lec 3 knowledge acquisition representation and inference

  • 3. The dilemma • How to approach the problem? • should we try to emulate the human brain completely and exactly as it is? • Or should we come up with something new? • Do we know how the KR and reasoning components are implemented in humans ? No • we need a synthetic (artificial) way to model the knowledge representation and reasoning capability of humans in computers.
  • 4. Knowledge and its Types • Knowledge is the Understanding of a subject area • knowledge domain : a well-focused subject area • Eg. medical domain, engineering domain, business domain, etc
  • 6. Intuitive Ways of Knowledge Representation • Pictures • they provide a high level view of a concept to be obtained • Graphs and networks • allow relationships between objects/entities to be incorporated • Numbers • integral part of knowledge representation used by humans.
  • 7. Formal KR techniques • Choosing the proper knowledge representation helps in reasoning. => ‘Knowledge is Power’. • Formal KR techniques includes • Facts • Rules • Semantic networks • Frames • Logic
  • 8. Facts • basic block of knowledge (the atomic units of knowledge). • represent declarative knowledge (they declare knowledge about objects). • A proposition is the statement of a fact. • Each proposition has an associated truth value. It may be either true or false. • In AI, to represent a fact, we use a proposition and its associated truth value. eg. –Proposition A: It is raining –Proposition B: I have an umbrella –Proposition C: I will go to school
  • 9. Types of facts • Single-valued or multiple –valued • Uncertain facts • Fuzzy facts • Object-Attribute-Value triplets
  • 10. Rules • Rule: A knowledge structure that relates some known information to other information that can be concluded or inferred to be true. • Components of a rule • A rule consists of two components • Antecedent or premise or the IF part • Consequent or conclusion or the THEN part • Example
  • 11. Compound Rules • Multiple premises or antecedents may be joined using AND (conjunctions) and OR (disjunctions), e.g.
  • 12. Types of Rules • Relationship • Recommendation • Directive • Variable Rules • Uncertain Rules • Meta Rules • Rule Sets
  • 13. Semantic networks • Semantic networks are graphs, with • nodes representing objects and • arcs representing relationships between objects. • The two most common types of relationships are • IS-A (Inheritance relation) • HAS (Ownership relation)
  • 15. Problems with Semantic Networks • Semantic networks are computationally expensive at run-time • They try to model human associative memory (store information using associations), • Semantic networks are logically inadequate as they do not have any equivalent quantifiers, e.g., for all, for some, none.
  • 16. Frames • Frames are data structures for representing stereotypical knowledge of some concept or object
  • 17. Inheritance The specific frame inherits properties from the more general frame, Example of a Frame-Based Decision-Support System: HELP
  • 18. FACETS • A slot in a frame can hold more that just a value, it consists of metadata and procedures. • The various aspects of a slot are called facets. • They are a feature of frames that allows us to put constraints on frames. • e.g. IF-NEEDED Facets are called when the data of a particular slot is needed. • Similarly, IFCHANGED Facets are when the value of a slot changes.
  • 19. Logic • propositional logic and predicate calculus are forms of formal logic for dealing with propositions. • Two basic logic representation techniques: • Propositional Logic • Predicate Calculus
  • 20. Propositional logic • A proposition is the statement of a fact. • We usually assign a symbolic variable to represent a proposition, e.g. • A proposition is a sentence whose truth values may be determined. • So, each proposition has a truth value, e.g. –The proposition ‘A rectangle has four sides’ is true –The proposition ‘The world is a cube’ is false.
  • 22. Limitations of Propositional Logic • Propositions can only represent knowledge as complete sentences, e.g. a = the ball’s color is blue. • Cannot analyze the internal structure of the sentence. • No quantifiers are available, e.g. for-all, there-exists • Propositional logic provides no framework for proving statements such as: All humans are mortal All women are humans Therefore, all women are mortals This is a limitation in its representational power.
  • 23. Predicate calculus • Predicate Calculus is an extension of propositional logic that allows the structure of facts and sentences to be defined. • With predicate logic, we can use expressions like Color( ball, blue) • predicate calculus provides a mechanism for proving statements and can be used as a logic system for proving logical theorems
  • 24. Quantifiers • The Universal quantifier Eg. • Existential quantifier Eg.