Ontology¶
The model of everything¶
A programme is set up to build the enterprise ontology. A central team interviews every domain, gathers several thousand terms and reconciles them into one model in which Customer has a single definition.
It takes a year. By the time it is published, two of the domains have reorganised, a regulation has changed what one term must mean, and the data products that were supposed to follow the model have gone live without it. The ontology is internally consistent and describes an organisation that no longer exists.
A second universe¶
- The model lives apart from the systems that create and change data, so every change in those systems makes it a little less true.
- Legitimate differences are erased. Marketing, finance and regulatory reporting each need their own active customer, for good reasons, and a single definition makes at least two of them less accurate.
- Engineers come to treat it as documentation to update after the real work is done.
- An AI assistant given the model as context inherits its confidence along with its staleness.
Relate meanings, do not replace them¶
An ontology is a governed representation of concepts and relationships that helps different contexts reason about shared meaning. It is bounded, not universal. The aim is to make relationships, equivalences, conflicts and translations explicit, not to erase differences in language and perspective.
It should not be confused with a single enterprise-wide canonical data model. And representing meaning is not the same as deciding which meaning to trust: that takes authority, which the ontology can record but cannot supply.
The picture¶
Three active customers¶
Illustrative example
Marketing counts a customer as active after a sign-in or purchase in the last 30 days. Finance counts qualifying financial activity in the accounting period. Regulatory reporting uses a definition set by law.
A universal ontology would pick one. A bounded one records all three, each with its context and its owner, and states how they relate: the marketing and finance concepts overlap but are not equivalent, and the regulatory concept is broader than both because it includes people who never registered. Someone asking how many active customers did we have can now be asked which one they mean.
In detail¶
What an ontology is for, and what sits beside it¶
| Capability | Primary question |
|---|---|
| Business glossary | What does this term mean? |
| Data model | How is the data structured? |
| Ontology | What concepts exist and how are they related? |
| Semantic model | How should analytical questions be calculated? |
| Governance | Who is responsible and what may change? |
These overlap, and they are not different names for the same thing. An ontology can say that a customer makes a payment. It does not say how to calculate payment success rate, or who is entitled to define it.
Describing is not deciding¶
A model can hold three definitions of one concept without telling a reader which applies for a given purpose, jurisdiction and date. That question of authority is taken up in the diary series Ontology is not enough.
Where automation helps¶
Formal representations such as RDF, OWL and SHACL can support graph representation, reasoning and validation. They do not remove the need for human authority over business meaning. AI can assist with discovery, drafting, mapping and reconciliation. It should scribe semantics, not manufacture organisational truth.
Not this
- Not a single enterprise-wide canonical data model.
- Not a choice of formalism. The idea holds whether the relationships are kept in a graph, a catalogue or version-controlled files.
Unresolved
- How formal does an ontology need to be before it is useful, and at what point does the formality cost more than it returns?
- When two contexts disagree about how their concepts relate, who records the disagreement and who resolves it?
Join the argument
Agree, challenge or add evidence
Architecture improves when its assumptions are challenged. Say which kind of contribution you're making:
- Challenge I disagree because…
- Evidence We've seen this too…
- Question How would this work when…?
- Alternative Another way to approach this…
- Extension This also implies…
Please keep clients, employers and colleagues unidentifiable. Strong contributions may be quoted and credited on this site. Read the contribution guidelines and the privacy notice.
Comments are provided by giscus and stored on GitHub. Posting requires a GitHub account.