Skip to main content

Context Layer 19 min read

How Does AI-Ready Data Support Talk-to-Data?

Quick answer

AI-ready data supports talk-to-data and natural language analytics when each business question reaches the agent with its metric definition, fresh and certified tables, a trusted join path, an owner, lineage and the asker's access rule. Readiness is set per question, so test one question at a time, take its weakest dimension as the score, and prove it with repeated runs graded on the answer. Atlan's context layer assembles that context for one use case at a time.

  • Meaning: one signed-off definition for the metric, its terms and its rules
  • Provenance: certified tables that pass a freshness check, a known join path and lineage to source
  • Boundaries: the asker's permissions applied at query time
  • Proof: repeated runs and phrasings, graded on the answer

Semantic layer or context graph: which fits your agent?

Get the AI Context Stack

A text-to-SQL agent gives wrong answers when a business question hides decisions the schema doesn’t show: which revenue column finance trusts, when the fiscal quarter starts, which accounts are left out. The agent guesses each one, the SQL runs clean, and the result is a confident, wrong number. With AI-ready data behind each question, the team asking gets the number finance would sign off, or a clear refusal when the question is not ready yet. In a dashboard, an analyst knew which revenue column finance trusts and which source stopped loading. In a chat box, the asker may never see the SQL behind the number. In an EMA Impact Brief hosted by Atlan (EMA, 2026), EMA cites its September 2026 Data & Analytics Research: “Sixty-one percent of data and analytics leaders report that missing, incomplete, or inconsistent context has caused AI to misinterpret data or produce an inappropriate result at least occasionally.”

In Atlan’s analytics agents playbook, 107 real questions on one go-to-market warehouse, each with a sealed answer graded by code, scored 31.8% on bare schema and 83.2% once AI-generated metrics and trusted past queries were served per question. That is one warehouse, so it shows which context helps most, not what yours will score.

Talk-to-data, also called natural language analytics, means asking questions of structured data in plain words while an agent writes and runs the SQL. Questions over documents go through retrieval-augmented generation (RAG) instead; conversational analytics covers both.

Score One Business Question Before Your Agent Answers It


Give it one business question people ask in plain words and what you have on its definition, lineage, and access rules. It scores five dimensions, gates on the weakest, and returns the gap that blocks the answer. Read the skill.

Paste into a new chat

Use the skill at https://atlan.website/skills/ai-ready-question-score.md to score whether one business question is ready for a talk-to-data agent. Ask me for whatever it needs.

Run once in a terminal

curl -fsSL --create-dirs \
  -o ~/.agents/skills/ai-ready-question-score/SKILL.md \
  https://atlan.website/skills/ai-ready-question-score.md

For an agent

curl -fsSL https://atlan.website/skills/ai-ready-question-score.md

One warehouse can be ready for “net revenue by region in Q3” and unready for “active customers added in fiscal Q3,” because the second rests on an unwritten rule. The talk-to-data agent blueprint covers the architecture.

Field Talk-to-data
Use case Plain-language questions on structured data; the agent writes and runs SQL
Unit of readiness One business question, in the words people use
Primary stakeholders AI leader, analytics engineers, metric owners, stewards
Typical data challenges Competing metric definitions; unwritten joins; fiscal rules; stale sources; access that depends on who asks
What proves readiness Repeated, answer-graded runs, refusals counted apart

Why is talk-to-data readiness decided one question at a time?

Talk-to-data readiness is decided per question because each question needs its own definition, join path, fresh sources and access rule, with no analyst beside the agent to fill gaps. Gartner’s Roxane Edjlali, Senior Director Analyst, sets the bar in Gartner’s press release on AI-ready data (Gartner, 2025): “The data must be representative of the use case, of every pattern, errors, outliers and unexpected emergence that is needed to train or run the AI model for the specific use.”

In analytics, an analyst knew which revenue column finance trusts and when the fiscal year starts. That tribal knowledge is the gap between analytics-ready data and AI-ready data, because talk-to-data takes the analyst out of each answer. Per question, three things break:

  • A metric with several definitions, where the agent picks one and returns a clean, wrong number.
  • Rules that live in someone’s head: the fiscal calendar, test accounts to exclude, which stages count.
  • An answer that should change with who is asking, and does not.

A warehouse that passes the checks in what makes data AI-ready can still fail your CFO’s Monday question, because the business context for AI behind it was never written down.



How much does business context improve talk-to-data results?

Published tests add different context to different data and models, and context beat the schema alone in each. The biggest steps came from context that carries the decision itself: example queries in LinkedIn’s test, and metrics with trusted past queries in Atlan’s, where descriptions and documentation added only a few points.

In LinkedIn’s 2025 text-to-SQL paper, an ablation on 133 internal questions scored 9% correct or close to correct with schema only, 24% with table clusters and table and column attributes but no example queries, and 49% with example queries added as well. Example queries were the largest step, and about half the answers still scored below correct or close.

Study (date) Setting Context added Result Read it as
Atlan, analytics agents playbook (2026) 107 real questions on one go-to-market warehouse, each with a sealed answer, graded by code Descriptions and documentation; then AI-generated metrics and trusted past queries, served per question 31.8% bare schema; 39.3% with descriptions and documentation; 83.2% with metrics and trusted past queries One warehouse; a benchmark, not a customer result or a product score

Why descriptions alone don’t fix wrong answers


A description says what a table holds. A wrong answer usually comes from a decision no description states: which stages count toward pipeline, when the fiscal quarter starts, which accounts are left out. Written as SQL inside a metric, with an owner, that decision is made once. Written as prose, the agent translates it again on every question, and each translation is another guess. Only a test on your own questions shows which decisions your agent is still guessing.

Serving only the context one question needs, at the moment it is asked, is the work of context engineering, and the daily job of a context-engineered AI analyst.


Why don’t public text-to-SQL leaderboard scores predict accuracy on your data?

Public leaderboard scores on prepared subsets now sit far higher than scores on private warehouses and business rules, and those private questions are the ones your agent gets.

  • Spider 2.0 leaderboard: Spider 2.0-Snow has 547 cloud-warehouse tasks with metadata and documentation provided; the top score was 96.70 when retrieved on 2026-11-27. With that context supplied per task, scores climb near the ceiling.

  • BEAVER (v3, May 2026): 9,128 question-SQL pairs over 812 tables from private warehouses; state-of-the-art agentic frameworks reached 10.8% in 2026. Private-warehouse questions stay hard.

  • EntSQL (Jun 2026): 1,066 examples resting on internal metrics, reporting conventions and organizational rules; the best evaluated system reached 15.9% on English inputs in 2026 with long-form documents. Rules supplied as documents are not enough.

What the gap between the scores means


The BEAVER authors (2026) report that “SOTA agentic frameworks using the advanced model GPT-5.2 achieve only 10.8% accuracy” on private-warehouse questions. Tasks, data and systems differ, so these figures are not directly comparable.

BEAVER shows warehouse-scale queries stay hard. EntSQL (2026) isolates business rules: even with the rules supplied as long-form documents, the best evaluated system reached 15.9% on English inputs, so a rule written down is not yet a rule the agent applies correctly, and only a test on real questions shows the difference. That is the gap behind the metric drift in text-to-SQL for enterprise, where fluent wrong numbers behave like AI agent hallucination. Only your golden set measures your definitions.


Which talk-to-data questions are ready first, and which are not?

Questions built on one defined metric and a standard dimension pass first; questions resting on unwritten rules or several domains pass last.

Which talk-to-data questions are ready first: Ready first, a defined metric by a standard dimension; Ready with written rules, a question that depends on a business rule; Not ready yet, a cross-domain or judgment question. Readiness is decided one business question at a time.
Source: Atlan

  1. A defined metric by a standard dimension: ready first.

    “What was net revenue by region in Q3?” fails when several revenue columns exist and the agent writes valid SQL against the wrong one. It is ready when net_revenue has one approved definition as code, a certified table and a verified question-and-SQL pair. Simple questions like this often pass from the schema alone; the gain from written metrics shows once a question needs a join or a business rule.

    Test: ask the question in three phrasings on one data snapshot; every run should return the accepted answer from the certified table.

  2. A question that depends on a business rule: ready once the rule is modeled and tested.

    “How many active customers did we add in fiscal Q3?” fails when “active” and fiscal_quarter live in a spreadsheet. It is ready when the rule is written as SQL inside the metric and a named owner signs off; a KPI definition in a business glossary then points the word “active” to that metric.

    Test: in a test copy, move the fiscal-year start and rerun on records near the boundary; the count should match the owner’s accepted answer for each calendar.

  3. A cross-domain or judgment question: not ready yet.

    “Which accounts are at churn risk?” has no single definition and spans domains. Part of its context sits outside tables, in account notes, tickets or policies. It is ready once an agreed definition or an approved risk score exists, with an owner; until then, the agent should refuse or hand off.

    Test: a ready setup refuses or names the owner instead of returning a number.

Where the semantic layer fits


Whether a rule is written down as SQL the agent can run matters more than the semantic layer vs metrics layer choice. A semantic layer answers what was modeled; an agent that says “not ready yet” on the rest is behaving correctly.


How do you test whether one business question is ready for talk-to-data?

Test one question at a time across five dimensions, mark each pass or fail, ask for the artifact behind every pass, and let the weakest dimension decide: the question passes only when all five do. Start from a question a named team asks, with an answer they accept.

Dimension Ready when Not-ready signal Evidence to show
Meaning Metric, terms and rules resolve to one definition a named person signed off The agent writes its own formula; “Florida” misses FL The definition, certifier and review date
Provenance Tables and join path are certified; lineage reaches the source; each source passes a freshness and quality check set for this question Wrong table, a duplicating join, a source that stopped loading or failed its checks The lineage trace, each source’s last load time and its latest quality-check result
Boundaries The asker’s permissions apply at query time, through the warehouse’s own row and column policies Rows shown or hidden wrongly One question run as two users with different access
Reproducibility Repeats and rephrasings return the accepted answer One passing run Results across repeats and phrasings, on one data snapshot
Procedure Tables, filters, checks and an escalation contact are written It works while one person remembers it The written method and its owner

The gate is the weakest dimension, never the average. A question strong on four dimensions and failing reproducibility returns different numbers from the same data.

Where to keep each verdict


Keep the five verdicts, their artifacts and the run date next to the question in your golden set, and hold back any question with a failing dimension. Provenance leans on data lineage for AI, boundaries on role-based access control in the context layer, and meaning on owners and stewards for AI-ready data.

When you certify an asset in Atlan, the certificate’s message can record the use case, owner and review date it was approved for, so a table-level badge is not read as approval for every question; that scope is the core of trusted data for AI. When a check fails, the table work behind each fix lives in how to prepare data for natural language analytics.


How do you evaluate a talk-to-data agent before rollout?

Evaluate a talk-to-data agent with a golden set of real questions and known answers, run each several times in several phrasings, and grade the returned rows against the accepted answer.

  1. Build the golden set first. Atlan’s analytics agents playbook states the rule: “Build the golden set before any context.” Without sealed answers, a fix and a lucky run look the same.
  2. Repeat runs and phrasings. The playbook runs each question three to five times and reads the pattern: right only some of the time means the agent is guessing at a rule nobody gave it. Passing every run is the minimum bar for a pilot, not proof of production reliability. Ask each one the different ways people phrase it.
  3. Grade the result set. Compare the rows the agent returns with the accepted answer, and decide per question whether sort order, rounding or an extra column counts as a miss.
  4. Count refusals apart from wrong answers. A refusal on a question outside the semantic model is correct behavior; a wrong number is not.

When your query tool has its own evaluation feature


If your warehouse-native or BI-native natural-language query tool has its own evaluation feature, check before you rely on it that it holds each question with an expected answer, compares executed results rather than SQL text, flags questions that passed before and now fail, and lets you repeat runs.

That feature still tests definitions inside one tool, as the guides to lakehouse agent context requirements, conversational BI context and warehouse-native natural-language query vs text-to-SQL describe. If two tools answer the same metric, the definition and owner must match in both, and neither tool’s evaluation sees the other, whatever AI agent evaluation metrics or AI agent accuracy target you set.

Context testing for AI agents checks what the agent was given, unlike row checks (context evals vs data quality testing). Re-run the whole set when a definition, schema or policy changes, because context drift breaks answers without an error.


What goes wrong when teams judge talk-to-data readiness?

Most readiness mistakes measure the wrong thing: a public score, a correct formula over a stale source, a refusal scored as an error, or a single test.

Mistake What happens Do this instead
Trusting a public leaderboard Private-rule questions score far lower (BEAVER 2026, 10.8%) Test on your own golden set
Checking definitions but not freshness A correct formula over a table that stopped loading returns an old number as if it were current Check each source’s last load against what the question can tolerate
Treating a refusal like a wrong number Teams tune the agent to guess Score refusals separately
Testing once A changed definition breaks answers silently Re-run on every definition, schema or policy change

A context layer that controls hallucination helps only when someone owns each fix; context layer ownership between data and AI teams settles who.


How Atlan makes data ready for talk-to-data, one question at a time

Atlan gives a talk-to-data agent the decisions behind each number before it writes SQL, and keeps the catalog evidence that shows whether a source is fit to use.

  • Metrics agents read first. With Atlan Trident, agents read your certified metrics and versioned model of the business before they query data. Metric Studio holds each metric’s formula, source table, joins and dimensions, plus saved queries: trusted SQL tied to the question it answers. Metric Studio never runs SQL; the agent queries through its own warehouse access. Atlan Trident is in early access, and Metric Studio and Ontology are in preview and need an administrator install.
  • Metrics built from past work. The Analytics plugin, in preview, turns a dashboard or your tables into metrics and saved queries inside Claude Code, Codex, Cursor or GitHub Copilot in VS Code, checks them on your data, and shows the definition behind each answer.
  • Certificates and owners. People set certificates such as Verified, Draft or Deprecated, and asset owners are the primary contact for questions about status and quality.
  • Lineage. Atlan captures column-level lineage automatically across warehouses, pipelines and BI tools.
  • Permissions on context. Atlan MCP is “a hosted server, available on every Atlan tenant with nothing to install,” and “every action respects the permissions you’ve already set in Atlan.” Those are permissions on context; access to the rows themselves stays with the warehouse’s policies.
  • Evaluation. Atlan Trident records what each agent did and, with evals in preview, checks whether a change helped, so a team can rerun its golden set after every definition change.

Starting from a catalog, extend it for AI readiness; for delivery, read what is Atlan MCP and AI-ready data over MCP; for the rollout, how to implement an enterprise context layer for AI.


Readiness is a verdict on one question, and it expires

A question is ready when its weakest dimension passes and a repeated, answer-graded evaluation agrees. The verdict lasts until the next definition, schema, policy, model or prompt change, or until a source it reads stops loading or fails its checks.

More on AI-ready data

  1. What is AI-ready data? A guide for 2027 and beyond: Atlan’s definition, the evidence and the architecture
  2. Agent-ready data: what an AI agent needs from data before it can act
  3. AI-ready data products: what a data product adds before an AI can use it
  4. AI readiness assessment: how to score readiness one use case at a time
  5. AI-ready data checklist: 12 checks, each with the evidence to collect
  6. Preparing enterprise data for AI agents: a 6-step guide from source inventory to testing
  7. Building AI-ready data from day zero: 7 steps for a new data stack
  8. AI-ready SAP and ERP data: where meaning hides in ERP data
  9. AI-ready data for clinical trials: mapping regulator guidance to evidence
  10. AI-ready data platform: the 5 capabilities a platform needs
  11. Best AI-ready data platforms: 12 platforms ranked
  12. AI-ready data tools for the public sector: 9 tools scored on compliance status and context depth
  13. AI-ready vs context-ready data: the two tests an agent’s data has to pass
  14. Governed context as the AI readiness bottleneck: why approved, owned definitions decide agent answers
  15. Unstructured knowledge in AI-ready data: making policies and SOPs usable by agents
  16. Protecting sensitive data sent to LLMs: deciding which fields leave in each agent call
  17. AI-ready criteria and certification: writing pass conditions and getting owner sign-off
  18. Build vs buy for AI-ready data tooling: scoring each layer of the stack before you decide

FAQs about AI-ready data for talk-to-data

1. What does talk to your data mean?


Talk to your data means asking questions of your data in plain words instead of writing SQL or building a report. For warehouse tables, a text-to-SQL agent writes and runs the query, and AI-ready data decides whether the answer comes back right; for documents, retrieval-augmented generation (RAG) answers from the relevant passages.

2. How does AI-ready data improve talk-to-data accuracy?


It gives the agent what an analyst used to supply: the approved definition, verified example queries, the join path and the business rules. In LinkedIn’s 2025 paper on 133 internal questions, schema alone scored 9% correct or close to correct; adding example queries, table clusters and table and column attributes raised it to 49%.

3. How accurate is text-to-SQL on enterprise data?


It depends on whose data and rules. On private-warehouse questions, BEAVER (2026) reports 10.8% for state-of-the-art agentic frameworks, and EntSQL’s best evaluated system reached 15.9% on English inputs in 2026. Spider 2.0-Snow shows a top score of 96.70 on the public leaderboard, on a prepared subset, a setup that does not compare directly.

4. Does a semantic layer make data ready for talk-to-data?


For the questions it models, it helps, because the agent queries a defined metric instead of writing its own formula. Questions outside the model wait for modeling, and ownership, freshness, access and repeated evaluation need their own process.

5. How many questions should a talk-to-data test set have?


Start with the real questions one named team asks, each with an accepted answer and several phrasings, and cover every metric family and access role that team relies on. Realism and sealed answers matter more than size. Run each question three to five times, so a lucky pass does not count as a capability.

6. Which questions should a talk-to-data agent answer first?


Questions built on one defined metric and a standard dimension, such as revenue by region in Q3. Those often pass from the schema alone, so they make a clean first test; questions that need a join or an unwritten rule gain the most from written metrics. Hold cross-domain questions back until a definition and an owner exist.

7. What does Atlan provide to make a question ready for talk-to-data?


With Atlan Trident, in early access, agents read your certified metrics and versioned model of the business before they query data; Metric Studio and Ontology are in preview and need an administrator install. The Analytics plugin, also in preview, builds those metrics from your dashboards and tables. In the catalog, certificates and owners mark which assets are fit to use, and column-level lineage traces each column to source.

8. What is AI-ready data?


AI-ready data is data an AI model or agent can use correctly without a person filling in the gaps: clean and current, carrying its business context (definitions, owners, lineage), governed, and proven fit for a specific use case. For talk-to-data, that use case is a set of real questions with known answers. See what AI-ready data is.

9. How is AI-ready data different from analytics-ready data?


Analytics-ready data is modeled for an analyst who fills gaps from experience. AI-ready data is the same data with that knowledge written down as definitions, owners, lineage and policies, because a talk-to-data agent cannot stop and ask a colleague which revenue column finance trusts. See AI-ready data vs analytics-ready data.

10. Why does my text-to-SQL agent give wrong answers?


Usually because the question hides decisions the schema doesn’t show: which amount on which table, fiscal or calendar quarter, which stages or accounts are left out. The agent guesses each one, the SQL runs clean, and the number looks plausible. A stronger model guesses better but still guesses: on one go-to-market warehouse with 107 real questions, switching models on bare schema moved the score about 10 points, while adding past SQL as context moved each model 26 points or more. The fix is context the agent can run: each metric written as SQL with an owner, served per question, and tested against a golden set.


Sources

  1. Atlan’s Context Conference: Atlan Brings Software Discipline to Enterprise Context, EMA Impact Brief
  2. Lack of AI-Ready Data Puts AI Projects at Risk, Gartner (2025)
  3. Text-to-SQL for Enterprise Data Analytics, arXiv (2025)
  4. The FDE Playbook for Analytics Agents, Atlan
  5. Spider 2.0 leaderboard
  6. BEAVER: An Enterprise Benchmark for Text-to-SQL, arXiv (2026)
  7. EntSQL: A Benchmark for Grounding Text-to-SQL in Long-Context Enterprise Knowledge, arXiv (2026)
  8. Add certificates, Atlan Documentation
  9. Add owners, Atlan Documentation
  10. What is column-level lineage?, Atlan Documentation
  11. Atlan MCP, Atlan Documentation
  12. Define metrics, Atlan Trident documentation
  13. Set up Analytics in your coding agent, Atlan Trident documentation
Emily Winks

Written by

Emily Winks, Data Governance Expert

18+ years in information architecture, data governance, and enterprise data management

Published 6 Nov 2026, updated 4 Dec 2026

Bridge the context gap.
Ship AI that works.