Tech Blog · AI Agents
What is an ontology, and why is everyone talking about it?
An ontology is a vocabulary that defines the entities and relationships in your data so that many systems use them with the same meaning. We cover the principles set by the standards, a factory-floor example, and what an ontology still cannot do.
Aug 4, 2026 · OPTI-X
These days, the word ontology shows up in almost every enterprise AI announcement. It sounds like a term from philosophy, but in practice its meaning is simple: "a definition of what the things in our company's data are, and how they connect to one another."
Definition: a vocabulary that many systems share
In the frequently cited definition by Gruber (1993), an ontology is a specification of the representational vocabulary for a shared domain. It is a collection of definitions of classes, relations, functions and similar objects. He also stated the purpose: for many AI systems to share and reuse knowledge, they first have to speak the same vocabulary. He further proposed a way to write definitions once in a standard format and translate them into the representations of different systems.
Factory data has exactly this problem. Equipment history sits in the maintenance system, production results in the production management system, and quality inspections in the quality system. The same piece of equipment may even go by a different code in each system.
Table-centric data vs. ontology
Same data, different way of organizing it
Tables are perfectly good at holding data. But which column refers to which entity, and what it links to in another table, usually lives only in people's heads or inside queries. An ontology writes those connections down next to the data.
How the standards write it: triples and classes
RDF, a W3C standard, writes every fact as a three-part statement of subject–predicate–object (a triple), such as "Neutralization tank 1 – performs – neutralization process." Each entity gets a global identifier called an IRI, and according to the standard, the same IRI denotes the same entity wherever it appears. Because a graph is a set of triples, data from multiple sources is easy to combine.
On top of that, RDF Schema and OWL 2 define what the vocabulary means. An OWL 2 ontology consists of classes, properties, individuals and data values. Once meanings are defined, a reasoner can derive facts that were never written down.
Inferences from a single definition
The reasoner fills in facts that were not written into the data
| Definition type | Example definition | What is inferred |
|---|---|---|
| Subclass | A neutralization tank is a subclass of reactor tank | Neutralization tank 1 also shows up as a reactor tank |
| Domain | The subject of 'measures' is a sensor | Anything that measures something is classified as a sensor |
| Range | The object of 'processes' is a batch | Whatever a process handles is classified as a batch |
| Same individual | The pump codes in two systems refer to the same thing | Records from both systems merge into one piece of equipment |
An ontology example from the factory floor
A simplified manufacturing ontology
Defines entities (boxes) and relationships (descriptions)
With these definitions in place, finding "the condition, at the time, of the equipment that last week's defective batch passed through" no longer requires a person to join five tables. The question becomes a path of relationships: quality inspection → batch → process → equipment.
It does not have to be elaborate from day one. According to the knowledge graph survey by Hogan et al. (2021), the ontologies in enterprise knowledge graphs tend to be lightweight, often simple class hierarchies. OWL 2 also defines profiles (EL, QL, RL) that trade expressive power for faster computation. Of these, QL is designed so that queries can be answered with standard relational database technology.
An ontology is not a document you write once and forget. The common traits of enterprise knowledge graphs summarized in the same survey include refinement, which means merging duplicate entities and adding new links, and keeping the graph up to date as the domain changes. When equipment is replaced or the process sequence changes, the ontology has to change with it.
Why it matters for agents
When an agent gets a question, it has to figure out on its own which data to look at. If terms and relationships are not defined, the agent may look at the wrong table with a similar name, or calculate the same metric in different ways.
With an ontology, what the agent receives changes from "a list of tables" to "a map of entities and relationships." Ask for "the batches processed on the day the neutralization tank pH fluctuated," and the agent finds the individuals of the neutralization tank class and follows the "processes" relationship to the batches. Even if equipment codes differ across systems, a same-individual definition lets it gather the records of one piece of equipment at once. As the enterprise practitioners cited in the survey put it, a knowledge graph is a shared substrate that lets different products and applications within an organization use the same vocabulary.
Limits: no record is not the same as did not happen
OWL follows the open world assumption: a fact missing from the graph is not treated as false. In the example by Hogan et al., the absence of a flight record between two cities does not let us conclude that no such flight exists. On the plant floor, if a batch has no inspection record, inference alone will not conclude that "it was not inspected."
The questions the floor needs answered are often the opposite. "Does every batch have an inspection result?" and "Does every dosing record have a unit?" are validation questions. For this, the W3C has a separate standard, SHACL, which checks whether an RDF graph satisfies a set of conditions, such as "there must be at least one value."
What an ontology solves and what it cannot
It is not a cure-all
An ontology makes data "understandable." But deciding what to change, and by how much, with that data is still a separate problem.
References
- Knowledge Acquisition 5(2), 1993 (Gruber), "A translation approach to portable ontology specifications" (1993-06-01) ↗
- W3C Recommendation, "RDF 1.1 Concepts and Abstract Syntax" (2014-02-25) ↗
- W3C Recommendation, "RDF Schema 1.1" (2014-02-25) ↗
- W3C Recommendation, "OWL 2 Web Ontology Language Document Overview (Second Edition)" (2012-12-11) ↗
- W3C Recommendation, "Shapes Constraint Language (SHACL)" (2017-07-20) ↗
- ACM Computing Surveys 54(4), 2021 (Hogan et al.), "Knowledge Graphs" (2021-07-02) ↗
Could this work for your process?
Talk to us