Knowledge Representation and Reasoning Flashcards
7 cards from real Artificial Intelligence practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Knowledge Representation and Reasoning flashcards as text
What is the primary purpose of knowledge representation in AI?
Answer: To encode information about the world so an AI system can reason about it
Knowledge representation provides a structured way to encode facts, relationships, and rules about the world so that an AI system can use them to draw conclusions and solve problems.
Which of the following is an example of a semantic network?
Answer: A graph where nodes represent concepts and edges represent relationships between them
A semantic network is a graph-based knowledge representation where nodes are concepts or objects and edges capture the semantic relationships (e.g., 'is-a', 'has-part') between them.
In knowledge representation, what does an ontology define?
Answer: A formal specification of a set of concepts, categories, and relationships within a domain
An ontology is a formal, explicit specification of shared conceptualizations — it defines the classes, properties, and interrelationships of entities within a domain.
Propositional logic differs from first-order predicate logic in that propositional logic:
Answer: Only deals with true/false statements and lacks variables or quantifiers
Propositional logic works with simple true/false propositions combined by connectives (AND, OR, NOT), but cannot express predicates about objects or use quantifiers like 'for all' or 'there exists'.
What is a 'frame' in the context of knowledge representation?
Answer: A data structure that groups an object's attributes and default values into a single unit
A frame is a slot-and-filler data structure that bundles an object's properties (slots) with their expected values or defaults, making it easy to represent stereotypical situations.
Which inference rule states that if 'P' is true and 'P implies Q' is true, then 'Q' must be true?
Answer: Modus ponens
Modus ponens is the fundamental deductive inference rule: given P and the implication P→Q, one can conclude Q.
The role of an inference engine in an expert system is to:
Answer: Apply logical rules to the knowledge base to derive new facts or conclusions
An inference engine is the processing component of an expert system that applies rules stored in the knowledge base to known facts, deriving new conclusions through forward or backward chaining.