Ontology is not enough, part 2: When meaning conflicts¶
Part 2 of 3 in the series Ontology is not enough. Previous: Part 1, The missing question of authority. Next: Part 3, Shift semantic authority left.
In Part 1 I argued that ontology can describe meaning but cannot, by itself, tell you which meaning to trust, and that authority needs to become a first-class, machine-evaluable property. This part asks what an AI agent should actually do when meanings compete.
Giving an AI agent access to business definitions does not solve the semantic problem. It moves it. Imagine asking:
How many active customers did we have last month?
The organisation may have perfectly valid Marketing, Finance and Regulatory definitions of Active Customer, so which should the agent use?
The dangerous answer is “whichever one appears most relevant to the language model”, because that converts enterprise semantics into probabilistic guesswork. If semantic authority is going to be useful for AI, it needs a runtime resolution model.
Start with scope, not precedence¶
There is an important difference between different definitions and conflicting ones. Marketing Active Customer, Finance Active Customer and EU Regulatory Active Customer need not conflict at all, because they apply to different scopes. The first task is therefore scope matching: given a question, determine the relevant purpose, jurisdiction, point in time, business context and, where relevant, consumer role. Only definitions whose scope matches become candidates.
Question
↓
Identify candidate concepts
↓
Determine required context
├── purpose
├── jurisdiction
├── effective date
└── consumer context
↓
Scope match
↓
One applicable definition?
├── yes → use it
└── no → resolve ambiguity or conflict
Precedence comes after scope matching. Otherwise, a global hierarchy can accidentally override a more precise contextual definition.
The hardest part is the question¶
The weakest link in this flow is easy to overlook: determine required context. How does the system know the user’s purpose? Nothing in “How many active customers did we have last month?” says whether the user wants Marketing, Finance or Regulatory Reporting.
I want to be open about something here. This architecture does not remove inference. A language model will still interpret the question, and that interpretation is probabilistic. What the architecture does is confine the guesswork to one narrow, observable step (what is being asked, and in what context) and put a deterministic policy behind it. The model proposes the context. The policy decides whether that context is sufficient to proceed, and what to do if it is not.
concept: ActiveCustomer
resolution:
requiredContext:
- purpose
- jurisdiction
- effectiveDate
missingContext:
purpose:
behaviour: ask
jurisdiction:
behaviour: deriveFromAuthorisedSessionContext
effectiveDate:
behaviour: deriveFromQueryPeriod
default:
allowed: false
Now the behaviour is deterministic. The agent might respond: “Active Customer has different Finance, Marketing and Regulatory definitions. Which context do you mean?” That is not an AI failure. It shows the semantic architecture has recognised genuine ambiguity.
For another concept, a default might be perfectly acceptable:
missingContext:
purpose:
behaviour: useDefault
default: operational_reporting
The crucial point is that the model does not decide whether guessing is permitted. The architecture does.
Scope includes time¶
Semantic meaning changes. A KPI may have one approved definition before January and another afterwards, a regulatory interpretation may change, and a domain may migrate from one authoritative source to another. A definition therefore needs an effective period:
concept: ActiveCustomer
purpose: regulatory_reporting
jurisdiction: EU
semanticAuthority:
domain: Compliance
validFrom: 2026-01-01
validTo: null
reviewBy: 2026-12-01
status: approved
An answer for December 2025 should not automatically use the definition currently valid in October 2026. This sounds obvious, but many semantic systems effectively treat the current definition as timeless, and AI exposes the weakness because users naturally ask historical questions.
When precedence is actually needed¶
After scope matching, more than one candidate may remain. Within the same purpose, jurisdiction and period there could temporarily be a regulatory definition, a conflicting domain definition, a locally derived interpretation, and an inference generated by an AI. That is where precedence earns its place. The organisation might define:
- Applicable legal or regulatory authority
- Explicit enterprise semantic authority
- Authoritative domain definition
- Approved derived semantic definition
- Inferred meaning (a proposal, never an answer, until approved)
You will notice that consumer intent is not on this list, and that is deliberate. Consumer intent is not a lower or higher rank of definitional authority; it is a different axis altogether. It governs the parts of the question the consumer legitimately controls, such as cohort, period, filter, comparison and presentation, and it has no say over what the underlying concepts mean. A consumer can define “customers registered during June” but cannot thereby redefine “Registered Customer”. Putting intent into the hierarchy invites people to read it as a ranking, so I would keep the two separate.
What if two domains both claim authority?¶
This is where governance stops being metadata management and becomes architecture. Suppose Finance and Payments both claim authority over Settled Transaction. The platform should not quietly choose the most recently created record, and an AI agent should not decide which definition “looks better”. The conflict should be represented explicitly:
Settled Transaction
├── claimed by → Payments
└── claimed by → Finance
↓
overlapping scope
↓
CONFLICT
That conflict needs a named arbitration mechanism. Depending on the organisation, it might be a cross-domain semantic council, a regulatory authority, a designated enterprise capability owner, or a formal context mapping that shows the concepts are actually different. The resolution might be that Payments owns Operational Settlement while Finance owns Financially Recognised Settlement. Apparent conflict sometimes reveals that the ontology was hiding two concepts beneath one label, which is useful information in its own right.
A worked example¶
Consider:
What was the payment success rate for newly registered German customers during their first seven days?
An agent should not begin by searching tables. It should first decompose the question:
- Payment Success Rate is a governed metric.
- Newly registered customer is a Customer-domain concept.
- First seven days is a consumer-supplied cohort window.
- German is a jurisdiction.
- Reporting period determines the effective semantic version.
The authorities can then be resolved. The Customer domain defines what completed Registration means and provides the authoritative event through its data product. Payments defines the relevant Payment states and provides authoritative evidence for attempts, successes and failures. The approved semantic model defines the calculation:
Successful Eligible Payment Attempts
────────────────────────────────────
Eligible Payment Attempts
That definition must also make exclusions explicit, since technical retries, abandoned flows and transactions blocked before reaching the payment provider may each need different treatment. “First seven days” is consumer intent, constraining the query from registration_timestamp to registration_timestamp + 7 days without changing Registration or Payment. Germany determines whether additional eligibility or reporting rules apply.
Question
↓
Resolve intent
↓
Resolve jurisdiction and time
↓
Scope match semantic definitions
↓
Resolve authorities
↓
Resolve approved calculation
↓
Locate authoritative evidence
↓
Execute
That is very different from letting an agent discover three tables and generate SQL.
With and without authority¶
Without authority metadata, the agent discovers customer.registration_date, payment.payment_status and customer.country, decides that success means payment_status = 'SUCCESS', and generates a plausible query. The result may be numerically correct for that query and still semantically wrong. It may count retries twice, include ineligible attempts, use the wrong registration event, ignore a jurisdiction-specific exclusion, or apply today’s definition to historical data. The dangerous part is that the answer looks entirely credible.
With authority metadata, each of those elements resolves to a named authority, a version and a piece of evidence. The answer is not trustworthy because the model is more intelligent. It is trustworthy because considerably less meaning has been left for the model to invent.
Every answer should leave a trace¶
Resolution that cannot be inspected is only a better-hidden guess. Every answer, and every refusal, should emit a resolution trace recording what was decided and on what basis:
resolutionTrace:
question: "Payment success rate, new German customers, first 7 days"
asOf: 2026-10-23
outcome: answered # answered | asked | defaulted | refused
context:
purpose:
value: analytical_kpi
source: user_stated # user_stated | session | default | inferred
jurisdiction:
value: DE
source: session
effectiveDate:
value: 2026-09
source: derived_from_query
definitions:
- concept: Registration
version: 3
semanticAuthority: {domain: Customer}
- concept: PaymentSuccessRate
version: 2
semanticAuthority: {domain: Online Sales}
evidence:
- dataProduct: payment-events
events: [payment_attempted, payment_succeeded, payment_failed]
unresolved: []
In a regulated industry this is your audit trail. It also makes the claims in this series testable: the source field tells you how much context was declared and how much was inferred, and the proportion of answers with a complete trace is a measurable quantity rather than a hope.
Sometimes the correct answer is “I don’t know”¶
This principle matters more than any precedence hierarchy. After scope matching and conflict resolution, ambiguity can remain. Perhaps the purpose is unknown, or two definitions have equal authority, or the appropriate regulatory definition has expired without replacement, or the source needed is not accessible to the user. The system then has three legitimate behaviours:
Ask. Obtain the missing context.
Default. Use an explicitly governed default.
Refuse or escalate. Authority cannot be established.
What it should not do is silently improvise. Plausibility is not authority.
A word on the alternative. Answering from whichever source carries the most weight, which is broadly how Databricks describes Genie’s approach, is a reasonable default for exploratory questions where definitions are close substitutes. For numbers that go to a regulator or a board, I would want the architecture to be capable of saying it cannot decide.
There is a failure mode on the other side as well, and it is just as real. An agent that asks or refuses constantly will be routed around, and people will go back to the spreadsheet. Governed defaults for low-risk concepts, session-level context (a user’s role and jurisdiction, declared once), and remembering a clarification within a conversation all help. So does treating the ask and refuse rate as something to measure and reduce, which Part 3 picks up.
Authority should constrain retrieval¶
This also changes retrieval-augmented generation. The normal instinct is to retrieve the most semantically similar content and feed it to the model, but relevance and authority are not the same thing. A highly similar document written three years ago by an individual analyst may rank strongly while the approved Finance definition ranks lower. Retrieval for enterprise AI needs more than similarity:
Candidate knowledge
↓
Permissions
↓
Scope validity
↓
Temporal validity
↓
Authority
↓
Relevance
↓
Context supplied to model
Permissions come first, and not only for security hygiene. The messages an agent produces are outputs too. A clarification such as “Finance has a definition you are not permitted to see” discloses that the definition exists, and so does an ask that lists it as an option. The same filter that protects retrieved content has to protect the options the agent offers and the reasons it gives for refusing.
The exact ranking will vary, but authority cannot be just another text field the model happens to see. It has to influence retrieval and resolution.
Meaning should become executable context¶
This is where semantic authority moves beyond a better business glossary. The system should be able to evaluate whether a definition applies here, who is entitled to assert it, whether it is valid for this period, what evidence supports it, whether another applicable authority exists, whether it is allowed to infer missing context, and what should happen when it cannot resolve the question.
An ontology can help represent the concepts and relationships. Provenance can tell us where assertions originated. Semantic models provide calculation rules, and governance establishes responsibilities. The architectural opportunity is to combine those capabilities into a runtime decision about meaning.
Because the biggest semantic risk with AI is not that it knows nothing. It is that it can produce a convincing answer when it does not know which meaning it was supposed to use.
Next: Part 3, Shift semantic authority left, covers how to make all of this survive contact with a real engineering organisation.
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.