Blog
NVIDIA Auto Ontologyontology for AI agentstext to SQL business definitions

What Is NVIDIA Auto Ontology? Teaching AI Your Database

NVIDIA's Auto Ontology maps business terms to database tables so AI agents answer correctly. See how one reviewed SQL rule fixed a wrong revenue answer.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS

For Data & Analytics, Finance and Engineering

A comic strip in which a pixie-cut analyst studies a blank index card, fans out a hand of cards, then pins one corrected card to a sheet with an orange pushpin.

What is NVIDIA Auto Ontology?

NVIDIA Auto Ontology is an open source tool that helps AI agents answer business questions using your own database. It builds an ontology, which is a map of what your business terms mean, where the data for them lives, and how the pieces connect. A person reviews the draft and corrects it. In one hands-on test, a wrong revenue answer of $384 became the correct $588 after a reviewer added one SQL rule for "revenue."

TL;DR

  • An ontology is a business dictionary for your data. It tells an AI agent that "revenue" means a specific calculation on specific tables, so the agent stops guessing.
  • Auto Ontology drafts the ontology for you, but the draft needs human review before you trust it.
  • In a demo on a sample sales database, the first answer to a June 2015 Pennsylvania revenue question was $384 instead of the reference $588.80, because the agent guessed the state from customer names and used the wrong lines.
  • Adding one reviewed SQL attribute for revenue fixed the same question in a fresh chat, and a second question about top products matched the reference query without any new rule.
  • The tester called this one successful retest, not proof that every answer will be right. You still check the SQL and the numbers.
  • Setup was long and fiddly in the demo, taking the creator two to three hours, so treat it as a tool for technical teams today.

Why do AI agents get business questions wrong?

An AI agent that can write SQL (the query language databases understand) still does not know your business. Databases store tables and columns, not meaning. A column called "amount" does not say whether tax is included. A table of order lines does not say whether those are the lines your finance team counts as sales.

So the agent makes reasonable guesses, and reasonable guesses produce confident wrong numbers. In the demo, the question was simple: what was the revenue in Pennsylvania in June 2015? The agent answered $384. It had used order lines and guessed the state from customer names, which is not how the business defines either piece.

The reference query, run directly on the database, gave $588.80. That figure includes tax and comes from three invoice lines. The business rule was "revenue comes from invoice lines, includes tax, and the state comes from where it was delivered." Nobody had told the agent.

If you have ever seen two departments report different revenue totals, you know the human version of this problem. AI agents have it too, only faster and with more confidence.

What is an ontology, in plain English?

Think of a company glossary that is also wired to the data. Each entry says:

  • what the term means (for example, "invoice line item")
  • which tables and columns hold the data
  • which other terms it relates to (customer, invoice, stock item)
  • any rules for calculating it (for example, how revenue is computed)

When an agent gets a question, it can look up the term, find the rule, and write a query that follows it. This is close to what many data teams call a semantic layer: a shared set of definitions that sits between people and raw tables. Auto Ontology's pitch is that it drafts that layer for you instead of someone writing it by hand.

How does Auto Ontology work?

The workflow shown in the demo has four steps.

  1. Connect a database. The demo used a sample sales database loaded locally.
  2. Let the tool draft the ontology. It creates business terms and links them to the underlying data.
  3. Ask questions in a chat window. The agent answers using the ontology and shows the SQL it used, so people can check it.
  4. Review and teach. When an answer is wrong, a person opens the relevant term and adds a correction.

The tool also gives you several ways to inspect what it built:

  • A glossary. Each term has a description, column attributes, related terms and any SQL rules. In the demo, "invoice line item" had nine column attributes, four related terms and one revenue rule (the one the tester added).
  • A visual map. The demo ontology had 51 business terms from the sample database. You can hover over terms like customer, invoice and stock item to see how they connect.
  • A data objects view. This showed 48 tables and three database views, with lines between them showing how the data is organized.
  • A catalog and analytics. You can drill into what relates to sales, and see when and from which source a query ran and the reasoning behind it.

How did one SQL rule fix the wrong revenue answer?

This is the part worth understanding, because it shows what "teaching" means in practice.

The tester searched the ontology for the invoice line term and found a first draft the tool had already created. It still needed review. Because the chat answer was wrong, the tester created a new SQL attribute named "revenue," added a description in business terms, and entered the SQL that calculates revenue the way the business does. The tool showed the SQL as valid, and the attribute appeared on the term.

Then the tester opened a new chat and asked the same question. This time the answer was $588, matching the reference query. The agent now used invoice lines and invoice dates, and it found the state through the customer's delivery city. It also offered a CSV download of the result.

The important detail is who did what. The tool drafted. A person who knows the business and the database wrote the rule. The agent then applied that rule. The human judgment did not go away. It moved to one place, where it can be reviewed once and reused.

Does the fix carry over to other questions?

Partly, and the second test is the encouraging one. The tester asked which products made the most money in 2015. The agent had to apply the revenue rule, group sales by product and rank the results. No new SQL attribute was created and nobody steered it.

All five products, their order counts and revenue totals matched a reference query run directly on the database. The top product was the air cushion machine blue, at about $3.82 million. The SQL used invoice lines and invoice dates and took product names from the invoice line description.

That is the real argument for an ontology. You define revenue once, and every later question that involves revenue can reuse it. Without it, you would be correcting the agent one question at a time.

The tester was careful about the limits, and you should be too. This was one successful retest and one matching follow-up on a sample database. It is not proof that every answer will be correct. Always check the SQL and the answer.

Is Auto Ontology easy to set up?

Not yet, based on the demo. The creator reported that the commands in the project's GitHub repository were not correct and that getting it working took two to three hours. The path described was:

  1. Download Auto Ontology and apply a fix.
  2. Add an NVIDIA API key, which you can get from build.nvidia.com.
  3. Load the sample database.
  4. Start everything with Docker (software that runs applications in packaged containers).
  5. Open localhost on port 3000 and sign in.
  6. Turn on semantic compilation, which took around half an hour.

This is a developer-style install, and details may have changed since. If you are not technical, the practical move is to hand this to someone on your data or engineering team rather than try it yourself.

What does this mean for you?

If you work in finance, sales ops or analytics, you are the person who knows what "revenue" really means. That knowledge is what makes these tools work. Write your definitions down: what counts, what is excluded, whether tax is in, which date applies. Even if you never touch Auto Ontology, a one-page list of your five most disputed metrics is useful for any AI tool your company tries.

If you manage a team that wants to "ask the data questions," do not judge an AI agent by whether it returns a number. Judge it by whether you can see the SQL and whether a known answer comes out right. Pick three questions where you already have a trusted figure, and test against those first.

If you are on a data or IT team, treat the ontology as something you review, version and own. The draft is a starting point. The demo showed that a wrong answer traced back to a missing rule, and a person had to supply it.

For everyone, build the habit the demo ended on: check the SQL, check the number, and never assume one correct answer means all answers are correct.

Can I build a small version of this without a data team?

Sometimes the real problem is smaller than a full ontology: one team, one metric, and an ongoing argument about how to count it. In that case you can describe a small internal dashboard or tracker to Remy, which builds and deploys full-stack apps from a plain-English description, and write the definition of revenue, such as what is included and which date applies, directly into the app's spec. The rule then lives in one place instead of in five spreadsheets. It will not replace a company-wide ontology, but it suits a single team's reporting tool.

Frequently Asked Questions

5 questions

Is NVIDIA Auto Ontology free?

It is described as open source, so the software itself can be downloaded. In the demo you also need an NVIDIA API key from build.nvidia.com. The sources do not cover pricing for that key or for hardware, so check NVIDIA's pages before planning a rollout.

Does Auto Ontology guarantee correct answers?

No. The tester described the result as one successful retest, not proof that every answer will be correct. The tool shows the SQL it used so people can check it, and you should compare results against a query you already trust.

What is the difference between an ontology and a semantic layer?

They overlap heavily. Both define business terms and tie them to data. An ontology emphasizes the meaning of terms and how they relate to each other. A semantic layer usually emphasizes the calculations and metrics. In Auto Ontology's glossary, you see both: descriptions and relationships, plus SQL rules like the revenue attribute.

Do I need to know SQL to use it?

To teach the tool a new rule, yes, or you need someone who does. In the demo, the person adding the revenue attribute wrote SQL that matched how the business calculates revenue. Asking questions in the chat window is plain English.

Who should try it first?

Teams with a complex database and agreed definitions for key metrics, plus someone comfortable with Docker and SQL. Given the long install described in the demo, a data or engineering team is the better starting point than a business user working alone.

How we source, write, and correct our articles. Editorial standards

Related articles

The AI Brief, presented by Remy
The week in AI, and what it means for your work. Every Friday.