Unit 3 - AI - Knowledge
Unit 3 - AI - Knowledge
Knowledge representation and reasoning are fundamental concepts in artificial intelligence (AI) that
help computers understand and work with information in a way that resembles human thinking.
1. Knowledge Representation:
What is it? - This is about how we store and organize information so that a computer can understand and use
it. Think of it as teaching a computer the facts and rules it needs to make sense of the world.
Example: Imagine you're teaching your friend how to play a game. You explain the rules, the goals, and any
special moves. In AI, we do something similar by explaining facts and rules to a computer. For example,
telling a computer that "birds can fly" is a way of representing knowledge.
3. Knowledge Reasoning:
What is it? - This is where the computer uses the knowledge it has to draw conclusions or solve problems.
Think of it as the computer thinking, "If I know these things, what else can I figure out?"
Example: If you know that "birds can fly" and "penguins are birds," you can reason that "penguins can fly."
c. Abductive Reasoning: This is like making the best guess based on the information you have.
Example: If you find a wet umbrella and hear thunder, you might guess, "It's raining outside."
5. Common Knowledge Representation Tools:
a. Ontologies: These are like dictionaries that help computers understand the meanings of words and their
relationships.
Example: In an ontology, it defines that "a cat is a type of mammal."
b. Semantic Networks: These use nodes and links to show how concepts are related.
Example: A semantic network might show that "cats" and "dogs" are connected by the link "both are pets."
c. Frames: Frames are like templates that help represent structured knowledge.
Example: If you have a frame for "car," it might include slots for "color," "model," and "manufacturer."
So, in simple terms, knowledge representation is about teaching a computer what we know, and
knowledge reasoning is about letting the computer use that knowledge to solve problems and draw
conclusions. Just like you learn from facts and use them to make decisions, AI does the same with the
information you provide to it.