NVIDIA Open-Sources an Automatic Ontology Tool: Is the Week-Two Problem for Knowledge Graphs Solved?
NVIDIA has open-sourced Auto Ontology, which automatically generates ontologies from enterprise metadata and supplies agents with business concepts, mappings, relationships, metrics, and lineage through MCP, CLI, and API. The README claims it ranks first on BIRD-Interact and BEAVER. The comments first ask a more practical question: who will update it in week two?
NVIDIA has open-sourced Auto Ontology.
In one sentence, here is what it solves: agents can search documents and run SQL, but for answers to be reliable, they first need to know what a business concept means, which table it lives in, how it joins, how it is calculated, where it comes from, and whether it can be trusted. Auto Ontology automatically generates this ontology layer from enterprise metadata, then exposes the ontology to agents via MCP, CLI, and API. The README puts it more directly: no matter how fast a revenue metric is answered, the number is worthless if it is wrong.
The value of this ontology layer has little to do with the graph itself. The more open and ambiguous the questions, the more heterogeneous the data sources, the more conflicting the definitions, the less the model context can hold the entire document set, and the more users ask questions in business terms, the more useful the ontology becomes. Conversely, with only one well-modeled data source and a fixed set of questions, writing SQL directly may be enough. This judgment matters more than the tool's parameters in deciding whether to try it.
Auto Ontology has two stages: first generate a version of the ontology for human certification; then the agent answers from the ontology. The ontology covers six things: concepts, mappings, relationships, metrics, lineage, and certification. The generation stage reads tables, columns, keys, views, and query history, builds vector indexes for tables and columns, profiles values, finds foreign-key candidates and bridge tables, writes column descriptions, groups terms, and infers links that still need data confirmation. Output is stored in Postgres with pgvector and can be imported and exported as Apache Ossie YAML. Semantic compilation must be enabled in settings; when compilation finishes, it shows ready.

The README runs through an example using Wide World Importers. Asked for revenue from USB food flash drive sushi roll in Pennsylvania in June 2015, the agent resolves revenue, product, and state to ontology terms, follows relationships to find joins, returns 588.80 USD across 3 invoice lines, and provides the SQL and steps. Then asked about return on ad spend, check_answerable returns coverage 0.5, with no term covering ad spend; the agent directly says this dataset has no ad spend and asks whether you want to switch to June revenue or connect another data source. This behavior matters more than answering quickly: it first determines whether it can answer.

The README also documents MCP read-only tools such as check_readiness, search_terms, check_answerable, and ask_question. It also provides configuration for Cursor and Claude Desktop. The REST API returns results via SSE, with curl and Python examples. It supports connectors for PostgreSQL, MySQL, Databricks, Snowflake, ClickHouse, Trino, BigQuery, Kyuubi, HeavyDB, DuckDB, SQLite, and others. Model roles are split into REASONING, NON_REASONING, EMBED, and RERANK; it defaults to NVIDIA NIM but can also use OpenAI-compatible endpoints. The README says it ranks first on the two text-to-SQL leaderboards BIRD-Interact and BEAVER, which test interactive Q&A, ambiguous input, and large, dirty databases. The leaderboard claims are from the README; actual performance still needs to be tested yourself.
The comments show another focus. One reply says ontologies have always had an old problem: by week two, no one updates them. If this tool can keep the graph fresh by itself, that would be a real feature. Another developer says his knowledge factory is currently simple: it uses directory structure and a knowledge graph to maintain consistency, automatically syncing meetings, calls, research, builds, and externally published paper tools into it, keeping cognitive load low so every agent session starts from the latest information. He plans to spend a few days testing whether Auto Ontology can improve it further. Someone else compares an agent to a new employee: give it a messy folder and it can only guess; give it a map and it can deliver. Others agree that putting MCP, CLI, and API in one place is a practical choice, but they would first test with a small ontology before judging scalability.
The most important signal in this feedback is week two. Automatically generating an ontology is not novel, and producing a pretty graph is not hard either. What is hard is getting business experts to certify it, having corrections from agent usage written back, and ensuring the next compilation does not wipe out human work. The README mentions Learn: certifications, corrections, and usage fold back into the ontology. It also says each compilation reselects joins for semantic foreign keys. Whether this design can withstand the permissions, costs, and change frequency of real organizations depends on post-deployment maintenance. The hard part of knowledge graphs lies outside the graph database: someone has to stay accountable for the definitions.
The project is on GitHub: https://github.com/NVIDIA/auto-ontology . If you want to try it, first run check_answerable and ask_question on a small database to see whether it stops when it cannot answer, then talk about how many data sources to scale to.
发布时间: 2026-11-29 13:28