Arge Bilişim
A large map sheet hangs over the factory floor. On it, an order, a sewing machine, an operator, a stopwatch and an efficiency gauge are stops joined by routes. Dotted lines drop from each stop to a garment cart, a sewing station and data tables below. An approval seal sits beside the efficiency stop, and a neural network on the left reads the map

What is an ontology in AI?

@rgemas · · 9 min read

In short: in AI, an ontology is the shared map that defines a company's business concepts, how those concepts connect, and which data they correspond to, in a form both people and machines can read. An AI assistant consults that map to answer questions about company data correctly. It holds four things:

  • Concepts: terms such as order, line, operator and efficiency, with their definitions.
  • Relationships: which concept connects to which.
  • Mapping and calculation: the table each concept lives in and the formula for each measure.
  • Certification: who confirmed the definition.

For a while, a word we kept hearing in AI was “harness”: the working setup that connects a model to tools and data. The next word in line is “ontology”. NVIDIA published version 1.3.0 of its open-source Auto Ontology library on GitHub on 24 November 2026, and as of 30 November 2026 the repository has about 18 thousand stars on GitHub. We expect to hear the word more often in the coming months. That is our prediction.

In philosophy the word means the study of being. The meaning used in AI is borrowed from there and does a different job. This post is about that second meaning. What is an ontology, why does an AI assistant need one, which six questions does it answer, what does it look like in a factory, and when is it unnecessary?

The definitions come from two sources: Thomas Gruber's 1993 paper and the README of NVIDIA Auto Ontology, version 1.3.0. The factory example comes from Arge Bilişim's article “Why is Correct Measurement Important?”. Examples that are not in these sources are marked “our example”.

What is an ontology?

The definition most often cited in computer science is Thomas Gruber's:

An ontology is an explicit specification of a conceptualization.

In the same passage Gruber notes that the term is borrowed from philosophy, where an ontology is a systematic account of existence.

In everyday terms: writing down which concepts exist in a line of work, what they mean and how they connect, in a form both people and machines can read.

NVIDIA applies the same idea to company data. The README first lists what an AI agent needs in order to answer accurately: what each business concept means, where it lives, how it connects, how to calculate it, where it comes from, and whether to trust it. Then comes the definition:

An ontology holds that context: a shared, governed map from the concepts people ask about to the data behind them.

Why does AI need an ontology?

Our reading. When a language model connects to your database it sees tables and columns. It cannot see that “efficiency”, in your factory, means these numbers from those tables combined with that formula. That knowledge usually sits in an engineer's head or in the corner of a spreadsheet.

The README's opening sentence describes the risk:

Agents can retrieve documents and query databases, but reliability gates agentic analytics: a revenue metric answered faster is worth nothing if the number is wrong.

Read revenue as efficiency, scrap or delivery date. The sentence holds for a factory too. That adaptation is ours.

The six questions an ontology answers

The README says the ontology answers six questions, each with its own element. The questions and elements are taken from there. The factory counterparts are our example, and they use the efficiency calculation from this blog.

  1. What does it mean? (Concept) A term, with a description and synonyms. Our example: “line efficiency”.
  2. Where is it? (Mapping) Ties the term to the tables and columns that hold it. Our example: which table holds pieces produced, which holds the standard time, which holds the time worked.
  3. What's connected? (Relationship) The joins between tables. Our example: an operator belongs to a line, a line to an order, an order to a style.
  4. How do I calculate it? (Metric) Reviewed logic stored under the term and reused, so every answer computes the measure the same way. Our example: pieces produced times standard time, divided by time worked.
  5. Where does it come from? (Lineage) Each term links to its source tables and columns, and each answer comes back with its query. Our example: does the piece count come from a counter or from the operator's entry?
  6. Should I use it? (Certification) Experts certify names, descriptions and attributes. Our example: the method engineer and the plant manager sign the definition of efficiency.

One word, two meanings on the factory floor

The first question looks harmless. The article “Why is Correct Measurement Important?” on our site shows that it is not:

For example, they said they produce product X and that its standard time is about 50 minutes. Having worked in many factories, we know that this product's standard time is not 50 minutes, in reality it is about 20 minutes.

The factory and the article's authors both said “standard time” and meant two different numbers. By the article's arithmetic, the gap made efficiency look 2.5 times higher than it was. The details are in our standard time post.

Our reading. An AI assistant connected to that factory's data answers “what is our efficiency?” with 90 percent, quickly and confidently. The error is in the definition, and the assistant repeats it.

Every factory has questions like this. Our examples:

  • Is “output” the pieces leaving the end of the line, or the pieces scanned at each operation?
  • Is “scrap” the fabric lost in cutting, or second-quality product?
  • Is the “delivery date” the date promised to the customer, or the date planning aims for?

Ontology, taxonomy, knowledge graph, semantic layer: the differences

Four other terms travel with ontology. The distinctions follow common usage in the field, and the factory examples are ours.

TermWhat it holdsFactory example
Business glossaryTerms and their definitions, as a flat listEfficiency: standard minutes produced divided by minutes worked.
TaxonomyA classification of terms, with parents and childrenDowntime is planned or unplanned. Unplanned downtime: breakdown, waiting for material.
OntologyConcepts, every kind of relationship between them, and rulesAn operator works on a line, a line produces an order, efficiency depends on standard time.
Knowledge graphThe ontology filled with real recordsOperator 114 works on line 3, and line 3 is sewing order 4512.
Semantic layerCalculations for measures, defined in one placeEfficiency is computed with the same formula in every report.

Our reading. The order usually runs top to bottom: first the glossary, then the classification, then the relationships.

What does Auto Ontology do?

According to the README in the GitHub repository, the library works in two stages: it generates an ontology that people certify, and the agent answers questions from it. The steps, shortened from the README:

  • Draft. It reads tables, columns, keys and query history from the source databases and builds a first draft.
  • Certify. The draft is tested with real questions. Experts refine and certify the terms, descriptions and calculations.
  • Answer. The model resolves the words in a question to terms in the ontology. Before a query runs, table and column names are checked against the catalog. The answer comes back with its SQL and the steps taken.
  • A question it cannot answer. The README's sample data has no advertising spend. Asked about return on ad spend, the agent says which data is missing and asks how you want to continue.

The step to watch is the second one. The machine produces the draft, and a person decides whether the definition is right. In the README's words:

Experts certify names, descriptions, and attributes, and certified elements are marked as reviewed

The library is licensed under Apache-2.0. It exposes the ontology to agents through MCP, a command line and an API. The README also reports the library's standing on two text-to-SQL benchmark leaderboards, BEAVER and BIRD-Interact. We have not verified those rankings ourselves.

Is an ontology only for answering questions?

NVIDIA's library concentrates on answering questions correctly. Palantir, on its own ontology page, draws the scope wider: the ontology encodes the enterprise's data, logic, actions and security together. Alongside concepts, operations such as updating a record are defined too, and written back to operational systems.

Our reading. The first step is the read side: let the assistant find the right number. The write side needs permissions and approval. We covered that in our trust post.

When is an ontology unnecessary?

The README is candid about this. It lists the situations where an ontology matters most, among them: questions are varied and ambiguous, data spans many sources with conflicting definitions, meanings have to be reused across teams and agents, and users ask in business terms. Then it draws the line:

With one well-modeled source and a fixed set of questions, direct SQL may be enough.

Our reading. A factory that pulls the same ten reports from a single system every day may have more urgent work than an ontology project. The picture changes when ERP, MES, quality and maintenance data sit in separate systems and managers want to ask open questions.

Before buying a tool: a ten-word glossary

Our suggestion and our worksheet. An ontology is an agreement before it is software. Pick the ten terms your factory uses most and write down the six answers for each:

  1. The term, the other names it goes by on the floor, and a one-sentence definition
  2. Which system and which record hold it
  3. Which other terms it depends on. Efficiency depends on standard time
  4. Its calculation, with the formula
  5. The source of the data: a counter, an operator's entry or the ERP
  6. Who approved the definition, and on what date

Our candidates for the first ten: efficiency, standard time, output, scrap, downtime, delivery date, capacity, bonus, quality rate, line balance. This blog has written out the calculation for four of them: efficiency, bonus, line balance and standard time.

If two managers write two different sentences for the same term, that is the work to finish before an AI project. We covered what AI in a factory depends on in our shop-floor data post, and who makes the decision in our trust post. Where the ontology sits inside an agent setup is the subject of our missing-piece post. Arge Bilişim's approach in this area is on the AI layer page.

Frequently asked questions

Is an ontology in AI the same as ontology in philosophy?

No. In philosophy, ontology is the branch that studies being. In AI it is a structure that defines the concepts of a domain and the relationships between them in a form a machine can read. The term is borrowed from philosophy.

Is an ontology the same as a knowledge graph?

An ontology is the schema: it defines which concepts exist and how they connect. A knowledge graph is that schema filled with real records.

What is the difference between an ontology and a semantic layer?

A semantic layer keeps the calculations for measures in one place, so every report returns the same number. An ontology adds what the concepts mean and how they relate to each other.

Who builds the ontology?

Tools such as NVIDIA Auto Ontology can produce a first draft from the database. People who know the business decide whether the definitions are right, and certify them.

Does every AI project need an ontology?

No. According to NVIDIA's documentation, with one well-modeled source and a fixed set of questions, direct SQL may be enough. An ontology matters more once data is spread across many systems and the questions become open-ended.

Sources

Share this post

All posts