Deep Dive · Data Infrastructure

Auto Ontology: Letting a Map Beat a Better Model

NVIDIA's open-source tool builds a semantic map of your database so an agent stops guessing what "revenue" means. A careful reviewer installed it, hit three failures, fed it Microsoft's sample sales database, and found the real lesson: eleven models gave the wrong answer until one example query was written down — after which almost all of them got it right.

NVIDIA Auto Ontology — video thumbnail
Video: Syed Humair 25:39 9 November 2026
Auto Ontology text-to-SQL semantic layer Apache Ossie

❓ The problem 0:00

The opening example is the best argument for the whole category, and it does not depend on the tool: ask three teams what an "active customer" is and you get three definitions — bought in the last year, opened an email this month, has a paid invoice this quarter. Ask an agent how many active customers you have and it must pick one.

"It has to guess, irrespective of how good that AI model is."
This reframes the entire "AI gives wrong answers about my data" genre. The failure is not usually the model's reasoning; it is that the schema carries names, not meanings. A column called delivery_method_id does not tell anyone whether delivery means the customer's address or the supplier's — not a person, and not a model.

🧰 What the tool is 0:43

FactValue (GitHub, November 2026)
RepositoryNVIDIA/auto-ontology
LicenceApache-2.0
Stars / forks11,880 ★ / 973
Created27 April 2026 — about seven months old
LanguagePython, with a Next.js front end
Where the map livesPostgres with pgvector, alongside auth and app metadata
SurfacesMCP server, CLI and HTTP API — so any agent harness can consume it
ContributionsExplicitly closed: "currently not accepting external contributions"
Two details the video mentions almost in passing are the important ones. First, the map is a Postgres database, not a file — which is why it can be certified, versioned and queried. Second, the tool exposes itself over MCP, so it is not a chat app but a context provider for whatever agent you already run. The bundled web UI is a convenience, not the product.

🎓 Ontology without the ontology 6:51

He separates taxonomy from ontology cleanly — a taxonomy says what is a kind of what; an ontology adds how things relate and which rules hold — and then does the honest thing: maps the implementation onto the standards vocabulary, and names what is missing.

Ontology conceptWhat it becomes here
ClassA business term — customer, order, product — with description and synonyms
PropertyA column with a description
RelationshipA link between tables, mostly derived from foreign keys
Derived propertyA saved SQL formula, such as revenue
Curation / sign-offCertifying a term, visible as a shield badge
What is absent, stated plainly and correctly: there is no class hierarchy sorting terms from broad to narrow, and there is no reasoner to derive new facts. His verdict — "an ontology in spirit, built for one job" — is the right frame. It is a semantic layer for text-to-SQL, not a knowledge-graph engine, and buyers should not expect OWL-style inference.

🔄 Ossie, the interchange format 5:04

He is unsure how to pronounce it and unsure of its provenance, so here is the record: Apache Ossie (incubating) is a real Apache project — an open standard for exchanging semantic models — and Auto Ontology imports and exports it through an official converter.

ClaimCheck
"Apache Ossie" is a new standard for semantic modelsCorrect — it is in the Apache incubator, and YAML is the exchange form
Auto Ontology can export the map in that formatCorrect — Settings → Import/Export, or the model import/export API, using Apache's converter
Snowflake, dbt Labs and Salesforce started it in 2025Consistent with the initiative's origins, but he says it from memory and hedges — verify with the project before quoting
If you know dbt, the data layer will look familiarHis judgement, and a useful one: the novelty is the ontology file on top
Why the format matters more than the tool: if the meaning is exportable, then adopting this is not a bet on NVIDIA's repository surviving. The map you pay a human to certify can move to another consumer, or be read by your own agents. That is the difference between a semantic layer and a vendor lock-in with a graph view.

🔧 Three steps, one of them human 7:15

StepWhat runsCost driver
1a. IngestPlain code reads tables, columns, keys and sample values — no modelCheap, linear in schema size
1b. DraftAn LLM looks at each table, writes terms, descriptions and suggests undeclared joinsOne model call per table — the reason "thousands of tables" is a real warning
1c. VerifyPlain code checks proposed links against the actual dataCheap; catches joins that do not hold
2. CertifyA person approves or corrects each term and columnThe actual cost, and the source of trust
3. AskAgent looks up terms, writes SQL, checks it, runs it — or says the data cannot answerOne query per question
The architecture is honest about where intelligence is needed. Parsing is code, validation is code, and the model only drafts language — the one thing it is good at. Everything the model produces is then checked against either the data (links) or a human (meaning). That is a much better division of labour than "ask the LLM to write the semantics".

🐞 The three fixes 11:08

The most valuable fifteen minutes for anyone about to try it, and the reason a review like this exists. Two failures were API drift on NVIDIA's side; one was a genuine bug.

FailureCauseFix
The default embedding model kept failingNVIDIA cloud API changed under the toolSwitch to an older embedding model of the same size
Structured-output request rejectedThe tool asked for it using an NVIDIA-only setting the endpoint no longer acceptsUse the OpenAI-style setting — which also unlocked every third-party model
Missing joinsReal bug: foreign keys that cross schemas were skipped — 59 of 98 links in this databaseOne-line fix; he filed an issue
That second fix is the most consequential thing in the video and he underplays it. Swapping a vendor-specific request format for the OpenAI-compatible one is what turned a NVIDIA-only tool into a portable one: same code, now with GPT, Claude, Gemini or a local Ollama model. Vendor-neutrality was not a feature; it was a bug fix — which is worth remembering when evaluating any "works with our cloud" tool.

He also confirms a detail that matters for expectations: the repository does not accept pull requests, only issues — which the README states as policy. A community cannot patch this tool; it can only report.

🧠 Models and the embedding trap 12:27

Two model roles, with very different rules:

RoleSwappable?Reality
Chat / reasoning modelYes — this is the one that mattersClaude, GPT, Gemini and local Ollama models all worked in his tests
Embedding modelEffectively noThe database expects one fixed vector size; other embeddings do not match, so the free NVIDIA key stays required
The embedding pin is the hidden coupling in every RAG or semantic-catalog design: the moment you store vectors in a schema with a fixed dimension, you have chosen a vendor — and re-choosing means re-embedding the whole corpus. He found it by trying to remove the NVIDIA dependency and failing. Anyone evaluating this stack should price that in, and ask whether the embedding dimension is configurable before ingesting a large catalog.

🏗 The build 13:43

The test bed is Microsoft's Wide World Importers sales database, ported to Postgres and shipped with NVIDIA's evaluation repository — the reviewer's counts: 51 tables, close to 600 columns, about 2 million rows.

ObservationDetail
Build time with a small hosted modelAbout 2.5 minutes
Build time with NVIDIA's free default modelOver 20 minutes
Archive tablesCopies of customers and cities confused the agent; excluded by a name filter (17 tables)
Result34 business terms — one per table — and 92 links
Duplicate-data trapsEvery table's last_edited_by column pointed at the people table, making everything look connected; had to be suppressed at the database level — no UI control
Both traps are the same trap: a schema that "looks connected" is not a schema that is meaningfully connected. Audit columns and archive copies are noise that an agent will happily treat as structure. This is where a human who knows the business still earns their salary — and where a tool that only reads foreign keys will always need a curation step.

✅ Certification 16:34

StateMeaning
DraftModel-generated; a guess, however plausible
Partially certifiedName and description signed off; columns not yet checked
CertifiedEvery column checked by a person, term marked with a shield
OwnerAn accountable human per term
SynonymsAlternate names ("sales order") so questions in the wild still match
This is the feature that makes the tool more than a demo: the map records what a human has checked versus what a model guessed, per field. Most semantic layers have no such distinction, which is how you end up unable to tell whether a number is governed or invented. His verdict is right — the draft is not the truth, and the certification screen is the product.

📉 The question and the 1-in-3 17:30

The test question — revenue for one product, in one city, in one state, in June 2015 — requires five or six joins through invoices, products, customers, cities and states. The answer, $588.80, he verified by hand against the database.

AttemptOutcome
First runCorrect: invoice → customer → delivery city → state
Repeated runsWrong about one time in three — summed whole payments including tax, and used the supplier's city instead of the customer's
After writing one example queryCorrect every time in his tests
The same failure as the opening example, reproduced live. The model was not confused about SQL; it was uncertain what "revenue" and "city" referred to — exactly the ambiguity an ontology exists to remove, arriving through a different door. The fix was not a better model or a better prompt, it was writing down the meaning: revenue means invoice line prices, and the city that counts is the customer's delivery city.
The uncomfortable part: the tool that exists to capture meaning did not capture it until the reviewer hand-wrote an example. "Certify the term" was not enough; an example query was. If that is what actually moves accuracy, then examples — not definitions — are the unit of curation, and the UI should treat them that way.

🙈 Asking what it cannot answer 19:04

The best test in the video: return on ad spend, for a database with no advertising data at all.

BehaviourAssessment
Says return on ad spend cannot be calculated, no advertising dataThe correct answer — and the whole point of grounding
Offers sales revenue insteadUseful, if you asked for a substitute
Computes that substitute from orders, not invoicesA third definition of revenue, slipped in silently
Refusing correctly and then drifting one line later is the exact behaviour a semantic layer must prevent — and it shows why "it knows what it doesn't have" is necessary but not sufficient. The ontology stopped the hallucinated number; it did not stop a quiet substitution of meaning, because that meaning was not written down either.

🧪 Eleven models, one lesson 21:04

ConfigurationResult
Eleven models, no example queryAlmost every model got the answer wrong
Eleven models, with the example queryAlmost every model got it right
Best single model without helpClaude Sonnet — correct every time on his tests
On a map built by a weaker model insteadSonnet fell to two in three correct — the map's quality propagates
SpeedSonnet ~30 seconds; NVIDIA's free default ~4.5 minutes
Local models on a Mac StudioAll worked; each step took up to two minutes
"Context mattered more than the model."
He flags his own limits — one question, many repetitions, so a quick check rather than a ranking — and that honesty is why the finding is credible. The two results that will replicate are structural: example queries move accuracy more than model choice, and a map drafted by a weaker model degrades answers produced by a stronger one. The second is the more subtle: the builder of the context is part of your inference stack.

📐 The vendor's own evals 16:42

Worth knowing, since the reviewer benchmarked one question by hand: NVIDIA ships a public evaluation harness for exactly this, and the sample database comes from it.

DatasetQuestionsEngine
BIRD1,534 dev / 500 mini-devSQLite
BEAVER100-question dw sampleMySQL
FDABench-Lite169SQLite
Wide World Importers41Postgres — the one used here
BIRD-Interact~300 lite / 600 fullPostgres, multi-turn
So the honest comparison already exists in public: the same 41 Wide World Importers questions are the vendor's own worked example, with a deterministic grader and no LLM judge. Anyone deciding whether the ontology actually helps can reproduce a controlled before/after in an afternoon instead of trusting a review — including this one. Note that the main README points at a benchmark repository that is not yet publicly reachable, while the evaluation code and sample data live in auto-ontology-eval.

⚖️ Verdict 24:33

ClaimVerdict
Free, open source, Apache-2.0Correct, and it runs on a laptop via Docker Compose with a free API key
Setup is not as smooth as advertisedConfirmed — three failures, two from API drift
The map is a draft, not the truthCorrect, and the tool models that distinction explicitly
Built for one job — correct SQL over databasesCorrect: structured sources only, no document or unstructured handling, no reasoner
"Not yet" a tool he loves, but worth a lookA fair reading of an early Apache-licensed project with closed contributions
Context beats model qualityThe replicable finding, and the reason to care about this category at all

✅ Claims checked

ClaimVerdictEvidence
NVIDIA released a free, open-source tool called Auto OntologyCorrectNVIDIA/auto-ontology, Apache-2.0, 11,880 ★, created 27 April 2026
It builds a semantic layer and exposes it to agentsCorrectREADME: MCP, CLI and API surfaces; ontology stored in Postgres with pgvector
It does not use OWL, Turtle, SPARQL or SHACLCorrectStored as relational tables plus SQL and YAML; no reasoner, no class hierarchy
It exports and imports "Apache Ossie"CorrectApache Ossie (incubating) exists; Auto Ontology uses Apache's converter for import/export
Snowflake, dbt Labs and Salesforce started Ossie in 2025Plausible, unverified hereHe states it from memory with a hedge; confirm against the Apache project before quoting
Ingest and link-checking are plain code, not AICorrect per his walkthroughConsistent with the architecture: the model drafts language, code verifies data
Two failures came from NVIDIA API driftHis findingEmbedding model default and a vendor-specific structured-output setting
A cross-schema foreign-key bug hid 59 of 98 linksHis finding, filed as an issueThe repository accepts issues but not pull requests, as the README states
The embedding model cannot be swappedCorrect in practiceFixed vector dimension in the catalog schema; another reason the free NVIDIA key stays necessary
Test database: Microsoft's sample sales data, 51 tables, ~600 columns, ~2M rowsDataset confirmedWide World Importers, ported to Postgres and shipped with NVIDIA/auto-ontology-eval
Build: 34 terms, 92 links, 17 archive tables excluded, 2.5 minutes versus 20+His measurementSingle machine, one schema; timings are model- and hardware-dependent
The answer $588.80 is correctVerified by handHe re-ran the SQL directly against the database
Wrong about one time in three before curationHis measurementRepeated runs of one question; the mechanism (wrong "revenue", wrong "city") is the durable finding
One example query made it correct every timeHis measurementConsistent across his own repeats and across models in his 11-model check
Only Claude Sonnet got it right unaided; weak map builders degrade answersSmall sample, flagged by himOne question, many repetitions — direction plausible, ranking provisional
NVIDIA's free default model is painfully slowHis timing~4.5 minutes per answer, 20+ minutes to build the map, versus ~30 seconds with a small hosted model

Basis note. Built from the full 25:39 recording and checked against the repository README, the evaluation repository, the project's own dataset documentation and the Apache Ossie site. His timings, table counts and model comparisons are labelled as his measurements; they come from one machine and one schema, and the video is unusually explicit about that limitation itself. No sponsor or affiliate content appears in this source.

🔑 Key takeaways

  • The failure is missing meaning, not weak reasoning. Three teams, three definitions of "active customer"; the model has to guess.
  • Auto Ontology is a semantic layer, not a knowledge graph. No class hierarchy, no reasoner — one job, done deliberately.
  • Apache-2.0, 11,880 stars, MCP/CLI/API, running in Docker on a laptop with a free key. The web UI is a convenience; the API is the product.
  • Vendor lock-in hides in the embedding dimension. Chat models swap freely; the embedding model does not, because the catalog stores fixed-size vectors.
  • Making the structured-output format OpenAI-compatible is what unlocked portability — a bug fix, not a feature.
  • Code parses and verifies; the model only drafts. That division of labour is why the map is checkable.
  • Cross-schema foreign keys can silently vanish. 59 of 98 links in one database — check your map's link count before trusting an answer.
  • Archive tables and audit columns make everything look connected. Schema hygiene is a prerequisite no tool can fix for you.
  • Certification per field is the real feature. Draft, partially certified, certified — the distinction between a guess and a governed definition.
  • One example query moved accuracy more than the choice of model. Examples, not definitions, are the unit of curation.
  • Refusing correctly is not enough: it said ad-spend data was missing, then quietly computed revenue from orders instead of invoices.
  • The map's builder is part of your inference stack. A weaker model drafting the context degraded a stronger model answering from it.
  • Nine out of eleven models were wrong until context was written down — the whole argument for semantic layers in one result.
  • Public evals exist: 41 Wide World Importers questions with a deterministic grader, so you can test the claim on your own schema without trusting any review.
  • Contributions are closed — you can file issues, not patches. Plan for that if it becomes infrastructure.

🔗 Resources

Basis note. The three fixes, timings and model comparisons are the reviewer's own work and are credited as such; the repository facts, the Ossie standard, the sample dataset's provenance and the closed-contributions policy were verified independently. Where his recollection of Ossie's origins could not be confirmed, it is marked unverified rather than repeated as fact.

⏱ Timestamp index

0:00Can you trust the number?
1:18Taxonomy versus ontology
2:46Three teams, three definitions of "active customer"
4:00How it is stored: SQL and YAML, not OWL
5:04Apache Ossie and the dbt resemblance
6:51What is missing: hierarchies and a reasoner
7:15The three steps
9:00Prerequisites and install
10:32Loading the sample database
11:08The three fixes
12:27Swapping models, and the embedding pin
13:43Connecting the database and compiling
15:34One term, then certification
17:30The revenue question: $588.80
18:04One in three wrong, and the fix
19:04Asking what the data cannot answer
19:53Charts, search, catalog, import/export
21:04Eleven models compared
22:31Honest notes and reaction
24:33Is it worth a look?
☰ View all