# AI use cases for Auto Ontology (NVIDIA/auto-ontology)

Repo: [NVIDIA/auto-ontology](https://github.com/NVIDIA/auto-ontology) | Use cases: 3 | Page: https://dedupedai.com/use-cases/nvidia-auto-ontology/

NVIDIA Auto Ontology is an open library that builds a context layer for agents from enterprise database metadata. It generates an ontology of terms, SQL attributes and relationships, lets people certify it, and answers natural-language questions as SQL that comes back with its steps. It exposes that context to any agent harness through MCP, CLI and API, and uses NVIDIA NIM endpoints for inference.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Ask business questions of a database and get the SQL behind each answer: https://dedupedai.com/use-cases/nvidia-auto-ontology/ask-your-database-questions-with-checked-sql/
- Let Cursor or Claude check answerability before querying your data: https://dedupedai.com/use-cases/nvidia-auto-ontology/give-your-agent-an-ontology-over-mcp/
- Certify business terms so every agent computes a metric the same way: https://dedupedai.com/use-cases/nvidia-auto-ontology/certify-business-terms-for-consistent-metrics/

## How to ask business questions of a database and get the SQL behind each answer with Auto Ontology

Repo: [NVIDIA/auto-ontology](https://github.com/NVIDIA/auto-ontology) | Difficulty: Advanced | Time: 1 hour | Basis: From the README

Run the Docker Compose quickstart against the sample sales database and ask questions in Chat.

**Who it is for:** An analytics engineer who wants a natural-language front end that shows its work.

**The problem:** Text-to-SQL answers are hard to trust when you cannot see which terms and joins produced the number.

**The outcome:** Answers that come back with their SQL and the steps that produced them, so you can check the result against the source.

### Steps

1. Run `git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontology` then `cp .env.example .env`
2. Set DEFAULT_MODELS_API_KEY and replace each default password in `.env`
3. Run `docker compose up -d --wait postgres` and load the Wide World Importers sample with the seed script from auto-ontology-eval
4. Run `docker compose up -d --build`, open http://localhost:3000 and turn on Settings, Semantic Compilation
5. Ask a question in Chat and read the returned SQL and steps

### Prompt to paste into your agent

```text
Clone NVIDIA/auto-ontology, copy `.env.example` to `.env`, set DEFAULT_MODELS_API_KEY and new passwords, start Postgres with `docker compose up -d --wait postgres`, load the sample data, then run `docker compose up -d --build`. Turn on Semantic Compilation and ask: <your question>. Show me the SQL it ran.
```

### Caveat

The README notes the project is currently not accepting external contributions.

Risk, credentials: Compose publishes Postgres, pgAdmin and the web app on the host, so replace every default password before starting it and keep your nvapi key out of shared files.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/nvidia-auto-ontology/ask-your-database-questions-with-checked-sql/

## How to let Cursor or Claude check answerability before querying your data with Auto Ontology

Repo: [NVIDIA/auto-ontology](https://github.com/NVIDIA/auto-ontology) | Difficulty: Intermediate | Time: 20 minutes | Basis: From the README

Run the Auto Ontology MCP server so an agent can search terms, check answerability and ask questions.

**Who it is for:** A developer whose coding agent should query company data without guessing at table meanings.

**The problem:** Agents connected straight to a database guess what columns mean and answer questions the data cannot support.

**The outcome:** An agent that calls check_answerable first and asks you to clarify when no term covers the question.

### Steps

1. Start the Auto Ontology stack with `docker compose up -d --build`
2. Run the MCP server with `uvx --from "git+https://github.com/NVIDIA/auto-ontology.git#subdirectory=mcp" auto-ontology-mcp` and AUTO_ONTOLOGY_API_URL set to http://localhost:3000
3. Add the server to `~/.cursor/mcp.json` with the url http://localhost:3003/mcp, or bridge it into Claude Desktop with mcp-remote
4. Ask a question and watch the agent use `check_answerable` and `ask_question`

### Prompt to paste into your agent

```text
Add the auto-ontology MCP server (http://localhost:3003/mcp) to my MCP config. Before answering <question>, call check_readiness and check_answerable; if coverage is low, tell me which term is missing instead of guessing.
```

### Caveat

This card is written from the NVIDIA/auto-ontology README, not from a test run by Deduped. Before you start, make sure you have Docker with Compose v2. Check the repo for newer instructions before you rely on these steps.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/nvidia-auto-ontology/give-your-agent-an-ontology-over-mcp/

## How to certify business terms so every agent computes a metric the same way with Auto Ontology

Repo: [NVIDIA/auto-ontology](https://github.com/NVIDIA/auto-ontology) | Difficulty: Intermediate | Time: 45 minutes | Basis: From the README

Review the generated terms, SQL attributes and relationships, then certify them once they are correct.

**Who it is for:** A data team lead who wants one agreed definition of revenue or margin across tools.

**The problem:** Different systems and people define the same metric differently, so answers disagree.

**The outcome:** A certified ontology the agent reuses, so answers compute each measure the same way.

### Steps

1. Let ingestion generate the draft ontology of terms, relationships and SQL attributes
2. Test it with real questions in Chat, or with `check_answerable` and `ask_question` over MCP
3. Refine terms, descriptions and SQL attributes in the UI or through the API
4. Certify names, descriptions and SQL attributes once they are correct, and move models with Settings, Import / Export

### Prompt to paste into your agent

```text
In Auto Ontology, list the terms and SQL attributes for <domain>, test them with check_answerable and ask_question on these questions: <questions>, and report which definitions look wrong before I certify them.
```

### Caveat

Predictive questions go to KumoRFM only when KUMO_RFM_API_KEY is set; review what that sends.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/nvidia-auto-ontology/certify-business-terms-for-consistent-metrics/
