The short version
- AI that searches documents cannot answer business questions, because it does not know your definitions.
- Define your business terms once, such as customer, product and net margin, in a shared layer that every AI system uses.
- Build it one project at a time. Do not try to model the whole company first.
The problem
“Beyond RAG” has become the theme of the season in data and AI leadership circles. Gartner’s CDAO community has been running peer sessions under the banner of AI that understands your business. The phrase is right. The usual answer, a better retrieval pipeline, is not.
Retrieval-augmented generation finds text that looks relevant and hands it to a model. That works well for policies, manuals and knowledge articles. It works badly for the questions executives actually ask, because those questions are about business entities and the relationships between them.
Where simple document search fails
Ask an AI assistant, “Which of our top distributors had declining margin on configured products last quarter?” A retrieval pipeline will search for documents that mention distributors, margin and configured products. It will find some. The answer will sound confident and be wrong.
The question depends on definitions no document contains. What is a distributor, in your systems? Is it a sold-to account, a ship-to, a parent account or a channel partner record? Which products count as configured? Which margin, after which rebates? These are not retrieval problems. They are meaning problems.
The AI can find pages that mention the words. It does not know what the words mean in your company.
Define your business terms first
Palantir built a company on a simple idea: create proper nouns out of data. Instead of table one, table two and table three, you have a single governed object called Warehouse, or Customer, or Order, with defined properties and relationships. Everything else is built on top of those nouns.
That is what a semantic layer does. It turns the vocabulary of the business into something machines can use consistently. In practice it has four parts:
A semantic layer is a shared dictionary of your business. It says what a customer is, how things connect, and how each key number is calculated.
- Entities. The things the business talks about: customer, product, quote, order, asset, site.
- Relationships. How they connect: a quote belongs to an opportunity, which belongs to an account, which rolls up to a parent.
- Metrics. Governed definitions of the numbers that matter, with one owner each. Net margin has one formula, not five.
- Rules. The business logic that cannot be inferred: what counts as an active customer, when a quote expires, which products are configured.
Data products, not data lakes
The semantic layer needs reliable inputs, which is why I organize data work as data products rather than pipelines. A data product has an owner, a contract, quality thresholds and consumers who depend on it. Customer 360, product master and quote history are data products. A dump of every table into a lake is not.
A data product is a clean, trusted set of data with a named owner. A data lake is a store of everything, with no one responsible for it.
When a forward-deployed team builds a new AI use case, it should start from these products. If the use case needs a definition that does not exist, adding it to the semantic layer is part of the work, so the next team inherits it.
Give the AI the right context
With a semantic layer in place, the job of the AI system changes. Instead of searching blindly, it assembles context deliberately: the right entities, the right governed metrics, the right documents, and the user’s permissions. Good teams now treat this as an engineering discipline in its own right. What goes into the model’s context window is designed, tested and versioned, just like an API.
Context engineering means choosing carefully what information you give the AI for each question.
This is also where trust comes from. An answer built on governed definitions can be traced. You can show which entity, which metric and which rule produced it. An answer built from retrieved fragments can only be believed or doubted.
The objection
The fair pushback is that ontology projects have a long history of becoming multi-year modeling exercises that never ship. That risk is real. The answer is to build the semantic layer one use case at a time, starting with the entities the first domain needs, not modeling the whole enterprise up front. Twenty well-governed entities that three use cases depend on are worth more than four hundred defined on paper.
The rule
Define the nouns before you deploy the agent. If your AI cannot tell a sold-to from a ship-to, it does not understand your business. It is guessing well.
Which business term in your company has the most competing definitions?
The terms, in plain language
| Term | What it means |
|---|---|
| RAG | Retrieval-augmented generation: find documents first, then let the model answer from them |
| Semantic layer | A shared dictionary of business terms and calculations that systems can use |
| Ontology | A formal map of business things and how they relate |
| Entity | A business thing, such as a customer, product or order |
| Data product | A trusted set of data with an owner and a quality standard |
| Context window | The information the model can see when it answers |
Section 4.5 of the AI Engineering Guide · Last reviewed November 2026




