AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Nov 9, 2026, 06:00 JST

NVIDIA auto-ontology slower, wronger than plain text-to-SQL on small DB

Send on LINE
NVIDIA auto-ontology slower, wronger than plain text-to-SQL on small DB

3 Key Points

  1. What happened

    On a two-table DuckDB sample with no declared foreign keys, NVIDIA's Apache-2.0 auto-ontology detected 0 semantic FK edges in 376.3s, then referenced non-existent columns in 3 of 4 SQL attempts before reaching the correct answer (CA, 280).

  2. Why it matters

    The tool's promised guard against wrong column references did not function here, so the agent fell back on trial-and-error from database error messages rather than ontology knowledge.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The test setup itself surfaced two undocumented pitfalls. A local DuckDB file created with the latest version (storage version 999) could not be read by the container's duckdb==1.5.5, which supports versions 64 to 68, and the container could not see a host file path until the database was bind-mounted into /data/. These are configuration hurdles rather than core design flaws, but they add to the setup burden compared with a single API call.

The ontology generation step ran for 376.3s and reported 2 tables, 0 semantic FK edges, 0 SqlAttributes, and 0 bridge tables. The only foreign-key relationship in the sample, orders.customer_id to customers.id, went undetected. During ingestion, embedding calls to nvidia/nemotron-3.5-embed-1b intermittently failed with 500 service inference failed, even though a single test request with the same key returned 200, suggesting the free-tier endpoint struggles with concurrent requests.

In the chat UI, the agent reached the correct answer through a self-correction loop that fed DuckDB error messages back to the model. That is consistent with the absence of semantic FK edges: the ontology was not supplying the schema knowledge it promises. The default model setting also clashed with the library's structured-output requirement, producing a UserWarning at load time and repeated 400 errors. The author stresses this is not a verdict that auto-ontology is meaningless; larger databases with declared FK constraints or working embedding-based inference could behave differently.

FAQ
How long did auto-ontology take compared with plain text-to-SQL?
Auto-ontology took 11 minutes 33 seconds from chat request to final answer, while plain text-to-SQL took a few seconds.
Why did auto-ontology fail to detect the foreign-key relationship?
The sample DuckDB had no declared FOREIGN KEY constraints, and embedding-based inference did not detect the relationship either, possibly because embedding calls intermittently failed with 500 errors.
What caused most of the 11-minute delay?
Most of the time came from 400 errors and fallbacks: the default model nvidia/nemotron-3.5-lightning-30b-a3b does not support the guided_json parameter used for structured output, so non-reasoning calls retried and fell back to a reasoning model across more than nine nodes.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleInner Mongolia hub hosts 22 AI datacenter projects, 30,000 workers