What is AI knowledge representation?
Knowledge representation is expressing knowledge about the world in forms a computer can reason over, such as logic, rules, frames, semantic networks or ontologies. A representation acts as a surrogate, letting a system reason about the world rather than act in it.
Unlike a data structure, it carries meaning: a graph is a data structure, while a semantic network is a representation because its nodes and links stand for things in the world.
- Topic
- Core concepts
- Also known as
- KR, knowledge representation and reasoning
- Origin
- 1993 AI Magazine study; W3C OWL 2004 and 2012, RDF 1.1 2014
How AI knowledge representation works
- Surrogate: imperfect by nature, so some conclusions will be wrong.
- Ontological commitments: it decides in what terms to see the world and what to ignore.
- Fragmentary theory of reasoning: it defines which inferences are sanctioned and which are recommended.
- Medium for efficient computation and human expression: it organises knowledge for inference and offers a language for talking about the world.
In more detail
Expressive power versus computational efficiency
The more a representation language can express, the costlier reasoning over it can become. OWL handles this trade-off through profiles: one gives up expressive power for polynomial time algorithms on all standard reasoning tasks with very large ontologies, while another suits querying large data organised by lightweight ontologies with standard relational database technology.
Commonly confused terms
| Term | How it differs |
|---|---|
| Ontology | An ontology is a formal vocabulary of terms in a domain and the relations between them. Knowledge representation is the broader field that includes ontologies as well as other forms such as logic, rules and frames. |
Why AI knowledge representation matters for on-premises AI
A 1993 study noted that this central AI concept had rarely been defined directly and proposed these five roles. Standards followed: the W3C's 2012 OWL recommendation is an ontology language with formally defined meaning; its 2014 RDF recommendation describes knowledge as a graph of subject, predicate and object triples. Both aim to make knowledge shareable on the web and usable by machines.
A pharmaceutical distributor turns scattered product, ingredient, licence and warehouse tables into an ontology stored as triples. Its internal assistant finds all cold chain products sharing an active ingredient with one query and grounds its answers in that structure.
Common questions
Is knowledge representation the same as a knowledge graph?
No. A knowledge graph is one form of knowledge representation; knowledge representation is the broader field covering logic, rules, frames, semantic networks and ontologies.
Why does the choice of representation matter?
Every representation chooses to see the world through certain concepts and blurs others. Logic, rules and frames each embody a viewpoint on what matters in the world, so they make different inferences easy for the same domain.
Related terms
Sources
- What Is a Knowledge Representation?, AI Magazine, 1993
- OWL 2 Web Ontology Language Document Overview (Second Edition), W3C, 2012
- RDF 1.1 Concepts and Abstract Syntax, W3C, 2014
In the glossary: Glossary, E to L