Taxonomy vs ontology: what is the difference?
A taxonomy classifies things in a tree of categories; an ontology, which contains one, adds relationships, properties and rules that a machine can reason with.
A taxonomy is a tree of categories: each entry sits under a more general one, like "pump" under "hydraulic parts" under "spare parts". It exists to classify and to find things. An ontology adds what the tree cannot say: relationships of different kinds (a contract is signed with a supplier, expires on a date, carries a penalty), properties and rules a machine can use to derive new answers. In short, a taxonomy orders and an ontology describes. Almost every ontology contains a taxonomy, its skeleton of categories, while the reverse does not hold. Halfway between sit controlled vocabularies and thesauri, which add synonyms and cross-references but still have no rules. Here "taxonomy" means the classification of data and content, and has nothing to do with the EU Taxonomy for sustainable finance (Regulation (EU) 2020/852). For a company the useful question is which of the two is enough for the problem in front of it.
See also: Ontology (data & AI)The formal vocabulary defining your business entities and their relationships: the shared schema data and AI reason on.
Where the boundary lies
The W3C SKOS standard lists taxonomies beside thesauri, classification schemes and subject heading systems, all knowledge organization systems, and uses a broader and narrower pair for the trees. The ANSI/NISO Z39.19 standard names the controlled vocabularies: lists, synonym rings, taxonomies, thesauri. An ontology is something else: introducing OWL 2, the W3C describes it as a set of precise statements about part of the world that programs can reason over to make implicit knowledge explicit.
| Aspect | Taxonomy | Ontology |
|---|---|---|
| Structure | Tree of categories | Network of entities and relationships |
| Relationships | One only, hierarchical: "broader / narrower" | Many, each named and meaningful |
| Rules | None | Constraints and inferences |
| Who reads it | People and filters | People and machines |
When a taxonomy is enough
If the question is "where does this get filed?" or "how will the customer find it?", the tree is the right answer: a product catalog tree, document classification, site filters, folder structure. It is cheap, anyone understands it, and it is governed with one owner and an update rule. Building an ontology on top would be spend with no return.
When you need an ontology
You need one when the question crosses several kinds of thing: which contracts expire in the next six months with suppliers that carry a penalty? A tree cannot answer, because it does not know a contract is tied to a supplier. AI is the same case: a RAG that retrieves similar text but knows nothing of the links between things stops at "looks relevant", while explicit relationships, for instance in a knowledge graph, allow verifiable answers. The standard formalism for writing one is OWL.
An enterprise example
A manufacturer has 4,000 purchase contracts across three systems. The taxonomy already exists: well-kept spend categories, useful for reporting. But procurement asks which deadlines and penalties weigh on the suppliers of an at-risk line, and no category says so. A few entities are modeled (contract, supplier, component, line) with their relationships, and the existing categories become the model's skeleton instead of being thrown away. The answer goes from days of spreadsheets to a single query, and every figure shows where it comes from.
Why it matters for decision makers
Of the two wrong choices, the costlier is buying an ontology for a taxonomy problem: months of work for a result a well-kept tree gave at once. The opposite is leaving an AI with no relationships between the data and then being surprised by vague answers. The practical test is to list the five business questions nobody can answer today without cross-referencing systems: if all are "where is it?", the tree is enough; if they require following links, you need the ontology. A business glossary remains the first step for both, because it fixes what the words mean.
Sources: W3C SKOS Reference, ANSI/NISO Z39.19, W3C OWL 2 Primer.
Related terms
- Ontology (data & AI)The formal vocabulary defining your business entities and their relationships: the shared schema data and AI reason on.
- Knowledge graphA network representing company data as entities and relationships: customers, products, contracts and the links connecting them.
- Business glossaryA business glossary collects agreed-upon definitions of an organization's terms, identifies who maintains them and clarifies the context in which they apply.
- OWL (Web Ontology Language)OWL is the W3C language for expressing ontologies with formal meaning, deriving consequences from data, and checking whether stated assumptions are consistent.
- RAGRAG combines search and generation: it retrieves external sources relevant to a question and passes them to a language model, which draws on them to answer.
If it touches your company's data, getting that data in order is the first thing I do.
See Data Foundations