Your Lakehouse Has the Numbers. AI Needs to Know What They Mean.
Ask a frontier model how many units shipped late last quarter, and point it at your lakehouse. It will answer quickly and with confidence.
Now consider what it had to guess along the way. Which of the four shipment tables is the real one? Does "late" mean after the promise date or after the request date? Do the European plants report in kilograms while the American plants report in pounds? Does "last quarter" mean the calendar quarter or the 4-4-5 fiscal quarter finance closes on? Every one of those guesses is a place to be wrong, and the answer arrives with the same confidence either way.
That is what hallucination on structured data usually looks like. The model reads the data correctly and misreads what it means.
A semantic layer fixes this by writing your business definitions down where the AI can read them. With your definitions in hand, the model looks the answer up and stops guessing. That makes the answers more accurate, and it gets there with less searching, fewer tokens, and fewer wasted queries against your warehouse.
Why does AI hallucinate on data that is already clean?
Most companies that run Databricks or Snowflake have done the hard work of getting their data into one place. If you are still running on spreadsheets, start with one system of record for the workflow AI will touch. This post is about the next step.
Data in one place is still a long way from data that explains itself. Table names are abbreviations. Joins depend on which key a team trusts. The definition of an active customer lives in a finance analyst's head and in three slightly different dashboards. A person learns all of that over months. A model sees column names.
The research on this is old by AI standards and still instructive. In 2023, Juan Sequeda, Dean Allemang, and Bryon Jacob tested GPT-4 on an enterprise-style insurance database. Asked questions directly over the SQL tables, it answered 16 percent correctly. Asked the same questions over a knowledge graph built on the same data, it answered 54 percent correctly.1
Models have improved a great deal since then. The gap that business context closes has not gone away, as the newer numbers below show.
What are an ontology, a semantic layer, and a data fabric?
These three terms get used interchangeably in vendor material. They are three parts of one idea.
An ontology is the model of your business. It names the things your company works with and how they relate. A customer places an order. An order ships from a plant. A plant reports in a unit of measure and closes its books on a calendar. Nothing in an ontology refers to a table yet. It is the vocabulary your team already uses.
A semantic layer maps that vocabulary onto your actual data. It says which tables hold orders, which column is the promise date, how kilograms convert to pounds, and which calendar defines a quarter. It also carries governed definitions of the metrics leadership argues about, so "on-time delivery" means one thing everywhere it is asked.
A data fabric is the architecture that makes those definitions available across every source and tool, without copying the data into yet another store. When a question spans the lakehouse, a regional ERP, and a planning system, the fabric is what lets one definition apply to all three. In our Intelligence Orchestra framework, this is the Composer, the element that gives every other part of your AI shared context.
To get started, you need enough ontology to answer the questions that matter, mapped onto the data those questions touch. This capability will grow and adapt over time.
How does a semantic layer change what a frontier model does?
Without a semantic layer, a model answering a business question has to explore. It reads schema, guesses at joins, writes a query, checks whether the result looks plausible, and often tries again. Each step costs tokens, and each exploratory query costs warehouse compute.
With a semantic layer, the model reads a governed definition and resolves relationships before it writes anything. It asks for "late shipments by region, fiscal Q3, in pounds," and the layer already knows what each of those words means in your company.
The accuracy difference is measurable even for today's strongest models. In a small test in April 2026, dbt Labs reran the same insurance benchmark: 11 questions, each run 20 times. Claude Sonnet 4.6 answered 90.0 percent correctly alone and 98.2 percent through a semantic layer. GPT-5.3-Codex went from 84.1 percent to 100 percent.
Two details from that study matter more than the headline. Frontier models are already good on clean, well-labeled data, so the semantic layer is closing the last gap. The consequences of failure are also different. When direct SQL goes wrong, the authors note, it produces a plausible but incorrect answer. When the semantic layer cannot answer, the failure "looks like an error message."2 Plausible, wrong answers are about the worst result for an executive making a decision on the number. Semantic layers help prevent this.
Does it really take less compute?
Yes, and the saving shows up in places you pay for directly.
The graphics processors belong to the model provider. What your company pays for is tokens, the units a model reads and writes, plus the warehouse compute behind every query an agent runs while it searches for an answer. A model that already knows where to look reads less schema, explores less, and retries less.
The best public measurements so far come from vendors, so treat them as indicative. Vercel rebuilt its internal data agent to browse a semantic layer directly. Across its benchmark of five queries, average token use fell 37 percent, answers came about 3.5 times faster, and the success rate rose from 80 to 100 percent. The authors credit the result to the fact that the semantic layer was "already great documentation."3 Neo4j reports token reductions of 20 to 30 percent on average from its field projects when a knowledge graph replaces static schema files.4
Fewer retries is the part I would most like to see measured independently. It is consistent with what we see in practice, and it is not yet proven in a peer-reviewed study. What is clear is the direction. A model that does not have to guess does less work to get to the answer.
Why not just use the semantic features built into Databricks or Snowflake?
This is the right question to ask, and for some companies it is the right answer.
Snowflake semantic views are generally available, and Snowflake recommends them as the way Cortex Analyst understands your data.5 Databricks offers metric views in Unity Catalog, which define a business metric once and can be queried by its Genie agents.6 If your data lives on one platform and your main need is a governed set of metrics, start there. You already own it.
A dedicated ontology and knowledge graph layer earns its place in three situations. The first is when meaning spans platforms, for example a lakehouse in Databricks, finance in Snowflake, and plant data somewhere else. The second is when relationships matter more than metrics: supply chains, assets, bills of materials, and anything where the question is "what is connected to what." The third is when you want your business model to stay portable as platforms and AI providers change underneath it. Those three situations describe many asset-intensive companies above $100 million in revenue.
What does this look like with Kobai?
Proxigee Services works with Kobai, helping run proofs of concept and supporting deployments.
Kobai is a semantic intelligence platform built for the second and third situations above. It is a Databricks Built On partner that runs inside Databricks with Unity Catalog connectivity, connects to Snowflake, and federates queries across sources.7 The data stays in the customer's governed environment, with no separate graph database to copy it into. Ontologies are version-controlled, relationships are resolved before a query runs, and the platform supports retrieval-augmented generation and graph-based retrieval for AI.7
In a proof of concept, typically three to four weeks, we take data that is fragmented across business functions, with regional variations, inconsistent units of measure, and different calendars, and map it into one model the whole company can query. The first thing teams notice is troubleshooting. When a number looks wrong, they can trace it to its source and its definition quickly, and they trust what they find. That confidence carries straight into the AI layer, because the model is reading the same definitions the people are.
Where should a company start?
Start with the questions.
Pick the ten to twenty business questions leadership asks every month that today need an analyst and a day to answer. Model only the concepts those questions touch. Record the right answers before you begin, then test the AI against them with the semantic layer in place. A short proof of concept tells you more than a long design phase, and it gives you a measured result to show the people who fund the next step.
Then aim it at a critical business problem. A semantic layer pays back fastest where a wrong number is expensive: a service failure, a quality escape, an inventory position nobody can reconcile. That is where faster, more confident troubleshooting turns into an outcome leadership can see. If you want help choosing that first problem, our use case build starts exactly there, and our view on how AI roadmaps should adapt covers what to do after the first one works.
The model was always going to get smarter. The meaning of your data was never going to arrive on its own. Write it down once, and every model you use from here on will speak your business.
Want to see what your data means to an AI?
Proxigee Services helps companies pick the business questions that matter, model the meaning behind them, and test AI answers against a semantic layer in a short proof of concept.
Schedule a conversation →Sources referenced
- Juan Sequeda, Dean Allemang, and Bryon Jacob, "A Benchmark to Understand the Role of Knowledge Graphs on Large Language Model's Accuracy for Question Answering on Enterprise SQL Databases", arXiv:2311.07509, November 13, 2023, accessed November 5, 2026. ↩
- Jason Ganz and Benoit Perigaud, "Semantic Layer vs. Text-to-SQL: 2026 Benchmark", dbt Labs, April 7, 2026, accessed November 5, 2026. dbt Labs sells a semantic layer. ↩
- Andrew Qu, "We removed 80% of our agent's tools", Vercel, December 22, 2025, accessed November 5, 2026. Vendor case study. ↩
- Laurent Tande, "How a Neo4j semantic layer makes your Text-to-SQL agent smarter and cheaper", Neo4j, May 6, 2026, accessed November 5, 2026. Neo4j sells graph database software. ↩
- Snowflake, "Cortex Analyst" documentation and semantic views release notes, accessed November 5, 2026. ↩
- Databricks, "Unity Catalog metric views" documentation, accessed November 5, 2026. ↩
- Kobai, kobai.io, accessed November 5, 2026. Proxigee Services works with Kobai. ↩