Surn Apps
All articles

REVENUE: the Auto Ontology quickstart, the MCP config and the 2 test questions

Your data agent only sees table and column names, so it guesses what revenue means. NVIDIA's free Auto Ontology gives it a reviewed dictionary of your data instead. Here are the quickstart steps, the MCP config for your agent, and the 2 example questions from the README to test it with.

You ask your data agent for last month's revenue, and it hands back a confident number. Nobody knows which column it used.

Auto Ontology is a free, open source tool from NVIDIA that fixes the guessing. This page has the quickstart steps, the MCP config to connect your agent, and the 2 example questions from the README to test it with. Everything here comes from the project's own README.

Why your agent guesses

Normally your agent only sees table and column names. Nothing there says what your company means by revenue. In Microsoft's sample sales database, Wide World Importers, the invoice lines table has unitprice, lineprofit and extendedprice. Which one is revenue? The agent picks one and hopes.

What Auto Ontology does

It gives your agent a dictionary of your data:

  • It drafts each entry from your database. It reads the schemas, profiles the columns, samples values, names the business concepts, maps them to columns, and works out how the tables join.
  • Someone on your team checks the entry. They test the draft with real questions and fix the terms, descriptions and SQL.
  • They approve it, and the agent answers from approved entries. The README calls this step certifying.

Each entry is one of three kinds: a term (a business concept such as Customer or Invoice Line, mapped to the columns that hold it), a SQL attribute (a reviewed formula, such as a margin, so each measure is computed the same way every time), or a relationship (how two tables join).

Before answering, the agent looks up each word with a tool called check_answerable. If no approved entry covers a word, it asks you instead of guessing. When the words are there, you get the answer with its SQL and every step, so anyone can check it.

The quickstart

The quickstart runs Auto Ontology with Docker Compose against Wide World Importers. You need:

1. Clone the repo and create .env:

git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontology
cp .env.example .env

Then set these values in .env:

The rest is for members.

A free account unlocks every article and the older ones in each category.