chevron_left
Back to all engineering posts
We Beat NVIDIA’s Auto Ontology by 60%
A semantic layer is the rulebook that lets AI agents answer questions about your data correctly. SemantiCaptain is ours, and it is built for the supply chain. AI models reading its definitions got 75% of questions right, 58% more than with NVIDIA's Auto Ontology.

How many times in the past week have you asked Claude or ChatGPT a data question? What was our net revenue last quarter?
All day, every day.
Now, how many times did you question Claude's or ChatGPT's answer?
Never!
As models have become "smarter", we've questioned them less. We assume the LLM understands our world just as well, if not better, than we do. But can it really?
You trust it. You tell your team and shareholders. You make key business decisions off of this number.
Traba is the AI operating layer for the industrial supply chain, so our warehouse and light-industrial customers need the right answer so they can make the right decision. To get that right answer, the agent needs a semantic layer. That's just the rulebook of business definitions it reads before writing a query to extract the data it needs to answer your question.
Can you just guess that rulebook?
No!
The rulebook is far more complex for the supply chain. You have to know that an order isn't shipped until its last box leaves the building. You have to know test accounts aren't revenue. Plus, the data is a moving target, spread across a warehouse management system, transportation system, ERP, timekeeping, and billing.
Hence, our solution: SemantiCaptain.
We built SemantiCaptain for Neo, our AI decision intelligence platform for the supply chain. On day one, it explores a new customer's database, works out the operational rules from the data itself, and writes the catalog that Neo reads before answering a data question. Getting a fast, deep read on a customer's database is a real part of our moat at Traba. It enables our customers to drive business transformation with confidence.
Don't believe us? Offense taken. So, we tested it :)
Tools that try to automate a semantic layer mostly do one of two things. ktx, an open-source tool, describes the tables and columns. NVIDIA's Auto Ontology, open-sourced in November 2026, goes further: it builds the structure and pulls formulas from past queries, and it expects people to supply the business rules. Working out those unwritten rules from the data itself is the hard, unsolved part, and it's what we built SemantiCaptain to do. So we tested against both.
SemantiCaptain does three things that Auto Ontology and ktx don't:
The test
How do you test a rulebook writer?
Lock it in a room with a messy database and zero human help.
Step one, the tool reads the database on its own and writes the business definitions. That's day one with a new customer. Step two, a separate AI agent reads those definitions and writes SQL for 27 tough operations questions, like October's perfect order rate or network-wide picks per labor hour in Q2.
The test: one tool writes the definitions, a different agent uses them
We used answering models of every size on purpose, to see whether a bigger, smarter model closes the gap on its own.
Every tool got the same synthetic third-party logistics warehouse: 27 tables, about 20,000 orders across two fake customers, zero docs, zero human edits. Then five answering agents ran against those definitions, plus two baselines: a hand-written dictionary built by a person, and no definitions at all.
We hid the kinds of traps real warehouse databases have.
Two outdated tables left behind by old software migrations
| invoice_line_id | client_id | line_type | amount | period_month |
|---|---|---|---|---|
| 522 | 13 | FREIGHT | 2795.53 | 2026-06-01 |
| 521 | 13 | STORAGE | 1172.89 | 2026-06-01 |
| 520 | 13 | FULFILLMENT | 243.60 | 2026-06-01 |
Newest row: June 2026. The live invoices table runs through November.
The other stale table, tmp_orders_backfill_0612, only covers June 1 to 12.
Miss it: Answers come from data that stopped updating.
Deleted orders still sitting in the orders table
| order_id | status | ordered_at | deleted_at |
|---|---|---|---|
| 17406 | SHIPPED | 2026-10-02 20:19 | 2026-10-15 |
| 17489 | SHIPPED | 2026-10-03 12:58 | 2026-10-15 |
| 17645 | SHIPPED | 2026-10-05 14:54 | 2026-10-15 |
Miss it: Orders that never happened get counted.
Times stored in UTC, warehouses in local time
| order_id | ordered_at (UTC) | warehouse | local time |
|---|---|---|---|
| 17311 | 2026-10-01 00:21 | CA1 | Sep 30, 5:21 PM |
| 17348 | 2026-10-01 00:23 | CA1 | Sep 30, 5:23 PM |
| 17360 | 2026-10-01 00:34 | NJ1 | Sep 30, 8:34 PM |
Miss it: Orders land in the wrong day or month.
Test accounts mixed in with real customers
| client_id | name | is_test |
|---|---|---|
| 13 | Pratt-Johnson Goods | false |
| 14 | Brady-Dominguez Co | true |
| 15 | Ayala-Franklin Co | true |
Miss it: Revenue and volumes come out too high.
Remember that revenue question? Here's the real one from our test: "What was net revenue after credits for Q3 2026?" Two test accounts are mixed in with real customers, and counting them adds about $20,000 (15%) of fake revenue. NVIDIA's definitions never said to leave them out, so every run answered $155,674. With SemantiCaptain's definitions, all four off-the-shelf models got the real answer, $135,512, every single time.
All 8 runs with NVIDIA's definitions counted test accounts as revenue. All 8 runs with SemantiCaptain's definitions matched the answer key.
Results
Accuracy by who wrote the definitions. Each bar pools Opus 5.5, Sonnet 5.5, Haiku 5.5 and GPT-5.6 Terra.
Why not just hand-write it? The hand-written dictionary is a ceiling, written by the person who built the test database and knew every trap we planted. Writing and keeping a rulebook current takes a data team most companies don't have. SemantiCaptain gets most of the way there without anyone writing a rule.
Semantic layers are hard to build even by hand, and building one automatically is harder still and a genuinely new problem. Tools like NVIDIA's Auto Ontology automate the structure and leave the business rules to people. Figuring those rules out straight from the tables is the piece we're tackling. As models get cheap enough that every company points an agent at its own data, the rulebook, not the model, becomes the bottleneck. That's why this problem matters now.
It's not just more accurate, it's faster. With SemantiCaptain's rulebook, Neo needed fewer tool calls and less time per answer than with no definitions, the same as with the hand-written rulebook. You can see the chart in Under the hood.
Under the hood
What each authoring tool actually wrote
Remember the revenue question? Here's the rulebook entry SemantiCaptain wrote for it:
{
"slug": "net_billed_revenue",
"name": "Net billed revenue",
"aliases": [
"revenue",
"3PL revenue",
"invoiced revenue",
"net billings"
],
"grain": "Client x billing month (invoices.period_month), aggregable upward; split by invoice_lines.line_type for fee mix",
"primaryTable": "invoice_lines",
"relatedTopicSlugs": [
"billing"
],
"requiredFilters": [
"invoices.status != 'VOID'",
"clients.is_test = FALSE"
],
"description": "3PL fees invoiced to clients net of credits, by invoices.period_month. OPEN and PAID invoices count; VOID invoices are excluded and are never re-issued. The latest period_month beyond the end of order activity is a spill-over stub (see topic billing).",
"calculation": "SUM(invoice_lines.amount)\nFROM invoice_lines\nJOIN invoices USING (invoice_id)\nJOIN clients USING (client_id)\nGross (pre-credit) billed = the same with invoice_lines.line_type != 'CREDIT'."
}
-
aliases People say 'revenue', 'invoiced revenue' or 'net billings'. All of them land on this one definition.
-
requiredFilters: clients.is_test = FALSE Leaves out test accounts. Without this line, Q3 comes out $155,674 instead of $135,512.
-
requiredFilters: invoices.status != 'VOID' Voided invoices never count.
-
description: net of credits Credits are subtracted, so it's net, not gross.
-
description: spill-over stub Warns that the latest billing month is a partial stub, so it isn't reported as a real month.
Written by SemantiCaptain from the raw database, with no human edits.
Every authoring tool inspected the same 27 tables, so the accuracy gap comes down to whether the tool extracted actual business rules or just described columns. SemantiCaptain got there by exploring the database, running test calculations against it, and using separate checking agents before saving a rule.
What each tool wrote for the same 27-table warehouse.
Writing a semantic layer automatically is hard because the rules that matter aren't in the schema, and column names and types don't tell you what counts as revenue or when an order is really shipped. Real databases also carry their history: old tables that stopped updating, test data, deleted rows, and timestamps in a different time zone than the business runs on, with nothing in the data labeling any of it. Worse, what a metric means depends on the industry and the customer, so you need domain knowledge to even know what to look for. SemantiCaptain starts from supply chain knowledge of what to look for, checks its guesses against the data, and writes the watch-outs into the rulebook.
Now look at the on_time_ship_rate definition SemantiCaptain wrote by itself:
NVIDIA: No On-Time Ship Metric
3 bugs in closest formulaf without ever joining a table aliased as f.
SELECT AVG(CASE WHEN CAST(TIMEZONE(w.timezone, TIMEZONE('UTC', 1sh.delivered_at)) AS DATE) > sh.promised_delivery_date THEN 1.0 ELSE 0 END)
FROM main.shipments AS sh
JOIN main.warehouses AS w
ON w.warehouse_id = 2f.warehouse_id
SemantiCaptain: On-Time Ship Rate
3 supply chain details righton_time_ship_rate requiredFilters: 1orders.status = 'SHIPPED', clients.is_test = FALSE description: Share of shipped orders whose last fulfillment shipped on or before ship_by_date, both as dates local to the order's home warehouse. calculation: 2MAX(DATE(fulfillments.shipped_at, 3home_wh offset)) <= ship_by_date
SemantiCaptain authored a complete on-time shipping metric with warehouse-local dates and split-shipment handling while NVIDIA's closest query measured delivery and referred to a table it never joined.
How the agent's work changes
A good rulebook replaces exploration, so the agent stops poking around the tables and goes straight to the right ones. NVIDIA's and ktx's definitions actually made Neo explore more than having no definitions at all. Fewer tool calls means faster answers and fewer chances to wander into a retired table. As each model call gets cheaper, the real cost moves to how many steps an agent takes and how long you wait, and a rulebook cuts both.
Median per answer with Neo answering the same 27 questions, by who wrote the definitions.
Performance across models and Neo
As models commoditize, teams will swap them freely, so a rulebook has to make any model better, and it outlasts each model generation. So we broke the results down by model.
Per answering model: no definitions to SemantiCaptain (shaded), with NVIDIA and the hand-written dictionary for reference.
A stronger model like Claude Opus 5.5 can poke around a database and catch the obvious traps on its own, but in a database it has never seen it doesn't know which way a business rule goes or what to look for. SemantiCaptain comes encoded with supply chain knowledge and watch-outs, like test accounts, retired tables, and warehouse-local time, and writes them right into the rulebook so the model doesn't have to stumble onto them. And since SemantiCaptain runs on these same models, as they get smarter it gets better at writing the rulebook too, so better models get more out of SemantiCaptain and make SemantiCaptain better.
A strong semantic layer got Haiku 5.5, the smallest model, all the way to 80%. To get past 80%, you need a human to settle the calls the database can't tell you.
What we learned and what comes next
Models keep getting smarter and cheaper, and they'll keep getting more accurate on their own.
But a smarter model still walks into a new customer's database cold. Agents are moving from answering questions to making decisions on their own, and today they don't know when they're wrong. In our test, 98% of the wrong answers came back with full confidence, no matter whose definitions the agent read.
That's where SemantiCaptain comes in. As models keep getting stronger, SemantiCaptain's supply chain domain knowledge and what it learns about each customer's business will amplify them, and each new model generation will make SemantiCaptain better in turn. That means we'll be able to give customers one trustworthy number, faster.
So here's what we're building next for SemantiCaptain and Neo:
- Ask instead of guessing. If a rule could go two ways, SemantiCaptain will write out both options and ask the customer to pick. Quick checklist, no painful audit.
- Say when a number rests on a guess. Every definition gets marked approved or unapproved. If Neo uses an unapproved rule to answer your question, it'll tell you right in the answer.
- Learn from use. SemantiCaptain will keep picking up new metrics from the questions people ask Neo and the queries teams run every day.
SemantiCaptain is just one piece of a bigger knowledge layer we're building for Neo. SemantiCaptain writes the rulebook up front, and Neo learns from the corrections people make.
If your AI doesn't know the unwritten rules hiding in your tables, it won't warn you. It'll hand you a clean chart and $20,000 of fake revenue.
Interested? Reach out!




