Skip to content
Blog

Prepare Data So AI Answers Can Be Checked

Written by CMD+RVL.

Define what a field means, identify what it describes, and retain the evidence for the answer. A worked loan example shows how semantic context changes a query.

Ask an agent for a loan's balance and it may find two different answers in the same row. Both fields are numeric. Both mention balance. Choosing the wrong one can produce valid SQL and an answer to a different question.

Prepare data for one question at a time. Define the fields, identify what each row describes, preserve the relevant dates and inspect the evidence behind the result. That is the work we mean by semantic context: giving an agent enough explicit meaning to choose and use data appropriately.

Meaning has three parts

Keep the source's definitions, your supported mappings and the interpretation for this question distinct.

  1. Source meaning. Preserve the field name, definition, units and dates supplied by the source. A normalized label should not erase a distinction such as scheduled versus actual balance.
  2. Supported mappings. Record how a name resolves to an entity, which key joins two records and what one row represents. A shared name or similar column is a candidate match, not an established relationship.
  3. Purpose-specific interpretation. Decide which field and population answer this question. A balance for one securitized asset does not, by itself, establish exposure across every note in a whole loan.

These choices should be inspectable. If a mapping is ambiguous or a required definition is missing, retain the gap and narrow the answer.

One loan, two balance fields

On November 4, 2026, we followed WFCM 2020-C58 asset 25 through EDGAR, Reveal, Data and Evidence. The query returned two observations with matching ABS-EE filing accessions. The October row's reporting-period end was October 13; its filing date was October 27.

Data MCP's returned column descriptions distinguish the scheduled or stated period-end principal from the outstanding actual balance at the reporting-period determination date. In that October row, the scheduled field was $9,268,821.88 and the actual field was $9,399,496.50. These are warehouse observations with documented field meanings. We did not independently re-extract the amounts from the SEC documents in this run.

The entity lookup resolved the deal to CIK 1827054. Asset number 25 only identifies the selected loan record within that deal; it repeats elsewhere. The table's observation grain includes CIK, asset number and reporting period. Those identifiers and dates determine what can be compared.

For the question “How did the scheduled balance change between the selected September and October observations?”, we compared the same field for the same CIK and asset. It decreased by $19,468.15. The actual balance field was unchanged. That result does not establish why the scheduled field moved or how a whole-loan exposure changed. A missing balance would remain missing, not become zero.

What the tools contributed

EDGAR resolved the deal and returned filing-index records. Reveal exposed catalog candidates and the selected table's identity. Data described its columns and executed a bounded query. We checked the returned filing IDs against the exact index accessions; sharing an issuer alone would not identify the same filing.

Evidence returned the table's recorded upstream dependencies. At depth six, that response contained 28 nodes, including rate-data dependencies, with 16 missing source-code pointers and column_lineage_available: false. It described the broader table. It did not prove the derivation of either balance.

We then exported the two observations and compared them with Shape and RVL. The JSON-to-CSV handoff was manual. Shape checked structural compatibility; RVL reported field changes. Pack sealed the source responses, CSVs, comparison profile and reports, and verified the package. That checks the integrity of the retained bytes, not the correctness of the filings or our interpretation.

A separate, constrained question to the lookup backend used by Text Cairn returned the same October observation through six read-only calls. We supplied the identifiers, allowed tool families and query limits. The recorded walkthrough shows what actually ran. It does not demonstrate unrestricted tool selection, text delivery or customer memory.

Where Auto-Ontology fits

NVIDIA's Auto-Ontology addresses the same need for explicit context around data. Its documentation describes a service that builds business terms, column mappings, SQL attributes and relationships from database metadata. People can review and certify definitions. Its question workflow checks answerability, generates and checks SQL, and returns the answer with SQL and execution steps. Auto-Ontology README, reviewed November 4, 2026.

Its MCP interface exposes read-only semantic lookup, readiness and question tools. Its management guidance covers edits and certification, distinguishes semantic relationships from provenance history, and calls for persisted-change checks. Its query-validation guidance checks SQL, rows and prose separately, including grain, dates and provenance. Validation and reviewed meaning are already part of its documented scope.

Our example follows a specific public-filings question through entity and field selection, dated observations, available evidence and retained comparison files. Those are demonstrated steps in the CMD+RVL suite. We have not run a matched evaluation against Auto-Ontology, so this example establishes no comparative accuracy, performance or maturity ranking. The workflow does not require adopting NVIDIA's code or imply an affiliation.

Give each tool a place in the answer

The suite has two useful views. How Cairn works groups contributions into connectors, playbooks, software tools, public records and business memory. What supports the answer asks about sources, citations, checks, missing evidence and later verification.

The loan example uses several of those contributions. It does not exercise every role: business memory was not tested, and the local comparison was a separate workflow. A diagram connecting the roles is not evidence that every request runs through all of them.

Generalized ontology generation, automatic learning from corrections and promotion of new cross-source mappings are not demonstrated by these examples. Any future work in those areas needs its own implemented behavior and evidence. The current guides establish the narrower operations they record.

Start with a question you can check

Choose a dataset and a question whose field definitions, identity and dates you can state. Make the joins explicit. Run a bounded query, check whether the response is complete for that query, and compare its output with the evidence actually available. Retain the inputs, method and result so someone else can inspect the same work later.

For this example, the useful answer includes both the scheduled-balance change and its limits. It does not turn a table lineage graph into column proof, a file hash into truth, or a plausible explanation into an observed cause.

Browse the tool guides to reproduce the steps. Hosted data services require arranged access; the comparison tools run locally.

FAQ

How do you get data ready for AI?

Start with one question and one dataset. Define the fields, entity keys, row grain and relevant dates. Query within that scope, inspect the available source evidence and retain the inputs, method, result and unresolved gaps.

What makes data AI-ready?

For a specific question, the data must support the intended meaning, identity, scope and time period. A catalog description or successful query alone does not establish that the answer is correct.

Why is provenance important for AI data?

Provenance helps a reviewer inspect how an answer was produced. A filing identifier, table dependency graph, checked calculation and retained file hash provide different kinds of evidence; none should be presented as more proof than it supplies.


Related: