/

Ontology

2026 Enterprise Ontology Playbook: Building a World Model for AI Agents

Intergalactic Data Labs

โ€”

โ€”

13 min read

Table of contents

Summarize

Updated October 2026

An enterprise ontology gives AI agents a shared world model of your business. To build one, scope it with real questions, model entities and actions with open standards, map and resolve source data, validate with tests, govern changes, serve it through a protocol like MCP, and measure accuracy. Start with one domain and one agent, then expand.

Step

What you produce

Who owns it

Done when

1. Scope

Use case, competency questions

Domain lead

Questions signed off

2. Model

Classes, relations, rules, actions

Modeling team

Every question maps to the model

3. Map and resolve

Source mappings, golden IDs

Data engineering

Duplicates merged, keys linked

4. Validate

SHACL shapes, test suite

Modeling team

Tests pass on real data

5. Govern

Owners, versions, change log

Domain owners

Releases are reviewed

6. Serve

MCP resources and tools

Platform team

Agents use scoped access

7. Measure

Accuracy and abstention scores

Agent owner

Scores beat the baseline

This playbook is about execution. For what an ontology is and why it improves analytics accuracy, read how ontology powers AI analytics first.

What is an enterprise ontology for AI agents?

An enterprise ontology for AI agents is a formal, machine readable model of your business. It defines entity types such as Customer and Contract, how they relate, the rules that constrain them, and the actions an agent may take on them. The agent treats it as its world model.

Analytics use cases mostly need the first three parts. Agents need the fourth as well, because they act. Palantir describes this split as semantic elements such as objects and links, plus kinetic elements such as actions, in its Foundry Ontology overview. Microsoft's Fabric IQ ontology, still in preview, likewise combines entity types, relationships, rules, and metrics for data agents and operations agents.

Why do AI agents need a world model?

Agents need a world model because language models guess when meaning is missing. In one benchmark, GPT-4 answered 16 percent of enterprise questions correctly over raw SQL and 54 percent over a knowledge graph of the same data, according to Sequeda, Allemang, and Jacob. A follow up added an ontology check and reached 72 percent (Allemang and Sequeda).

The cost of guessing rises when agents act. Gartner predicts that over 40 percent of agentic AI projects will be canceled by the end of 2027, citing escalating costs, unclear business value, and inadequate risk controls (Gartner). A shared world model addresses part of that risk. It tells the agent what things are and what it may do.

Why ownership matters

The ontology is institutional knowledge written down. It records how your company defines a customer, an active contract, or an approved refund. That knowledge is one of the most valuable assets a company has, so it should live in open formats on infrastructure you control, not only inside one vendor's proprietary model.

Galaxy is an applied lab that builds this semantic foundation with teams on the stack they already run, using internal tooling for ontologies and entity resolution. It builds in the open with its Filament by Galaxy data movement engine and plans to open source more of that tooling.

How do you scope an enterprise ontology?

Scope it with one use case, one agent, and a list of competency questions. Competency questions are the plain language questions the ontology must answer, such as which active customers have an open renewal this quarter. Ontology engineering research uses them as the yardstick for a finished model, as in Lippolis and colleagues.

Pick a use case where wrong answers are costly and data spans several systems. Renewals, claims, and supplier risk are common choices. Write twenty to forty questions with the people who ask them today. Then list the actions the agent will take, such as opening a case or drafting a credit memo.

Each question and action becomes a requirement. Anything not needed by them stays out of version one. This is the single most important rule in the playbook, because ontologies that try to model the whole company first rarely reach production.

How do you model the ontology?

Model the concepts your questions need, reuse public vocabularies wherever they fit, and write rules and actions alongside the classes. Keep the model in a neutral, versioned source format so you can generate whatever each tool needs.

LLMs can speed up drafting but not judgment. The OntoEKG study of LLM driven enterprise ontology construction reached a fuzzy match F1 of 0.724 in its Data domain and flagged weak hierarchy reasoning (Oyewale and Soru). Let models propose classes, and let owners decide.

Reuse before you invent

Start from existing ontologies. gist is a free upper ontology for business with about 100 classes under a CC BY 4.0 license. FIBO covers financial concepts, schema.org covers common web entities, and PROV-O models provenance with Entity, Activity, and Agent classes.

Pick a representation you can change later

RDF with OWL 2 gives formal semantics and portability. A property graph favors fast traversal and familiar tooling. LinkML, an Apache 2.0 modeling language, lets you author once in YAML and generate OWL, SHACL, JSON Schema, SQL DDL, and Pydantic classes. That keeps the decision reversible if your needs change later.

Model actions, not only things

For each action, define its inputs, the objects it changes, who may run it, and the checks it must pass. Palantir's action types show the pattern well. One action can edit several objects and links at once, with permissions and submission criteria attached. Agents should change data only through actions like these.

How do you map source data and resolve entities?

Map every class and property to the source fields that populate it, then resolve duplicates into one stable identifier per real world entity. Without resolution, the agent sees three customers where there is one, and its answers split across them.

Write mappings as declarative, reviewable files rather than buried transformation code. Record which system is authoritative for each property, and what happens when sources disagree. Our guide to ontology mapping covers the methods.

Entity resolution deserves its own workstream. Match on names, addresses, tax IDs, and domains, keep match evidence, and route low confidence pairs to a human. The identity resolution and entity mastering guide goes deeper on matching and survivorship rules.

How do you validate the ontology?

Validate it in two ways. Shape tests check that the data fits the model, and question tests check that the model answers what it was built to answer. Both should run automatically on every change, like unit tests in software.

SHACL, a W3C Recommendation since 2017, describes shapes that RDF data must satisfy, such as every contract having exactly one customer. SHACL 1.2 was a Working Draft as of September 2026. If you generate shapes from LinkML, they stay in sync with the model.

For question tests, store each competency question with an expected answer or query. Run the suite against real data after each release. A failing question means either the model, the mapping, or the data is wrong, and the test tells you which question broke.

How do you govern an ontology over time?

Govern it like a product with owners, versions, and a review process. Domain owners decide what a concept means. A small modeling team owns structure and standards. Data engineering owns mappings. Every change ships as a versioned release with a change log.

Treat breaking changes carefully. Renaming a class or splitting a relationship can break agent tools and stored queries. Deprecate first, keep the old term mapped for a release or two, and tell agent owners before removal.

Record provenance for derived facts. When an agent says a customer is at risk, someone will ask why. Modeling sources, transformations, and decisions with PROV-O gives that audit trail a standard shape. The provenance and lineage guide covers auditability in more depth.

How do you serve the ontology to agents?

Serve it through a governed interface, not direct database access. In 2026 the common choice is the Model Context Protocol, which defines resources for context and tools for functions a model can call. Anthropic donated MCP to the Agentic AI Foundation under the Linux Foundation in December 2025 (Anthropic).

A practical split looks like this. Expose the ontology itself, its definitions, and examples as resources. Expose read queries over entities as tools with typed inputs. Expose each governed action as its own tool, so the agent can never write outside the rules you modeled in step two.

Scope access per agent. Over HTTP, MCP authorization is based on OAuth 2.1, and servers can demand specific scopes for an operation. A renewals agent might read contracts and draft a credit memo but never approve one. The MCP spec also requires hosts to get explicit user consent before invoking tools.

How do you measure whether the ontology works?

Measure it against a baseline with the same questions. Run your competency question suite through the agent without the ontology, then with it. Track correct answers, honest abstentions, and confident wrong answers separately, because the last one causes the most damage.

The research gives a sense of scale. Allemang and Sequeda reported that an ontology check lifted accuracy to 72 percent, with 8 percent of answers returned as unknown rather than wrong (source). An April 2026 study found explicit business semantics added 17 to 23 points across Claude Opus 4.7, Sonnet 4.6, and GPT-5.4 (source).

Rerun the suite on every ontology release and every model upgrade. When a score drops, the failing questions point you to the concept, mapping, or tool that needs attention.

Which tools fit each layer of the playbook?

No single tool covers every step, and most teams combine an authoring format, a store, and an agent interface. The table lists common options with one strength and one limit each.

Tool

Layer

Strength

Limit

LinkML

Authoring

One schema generates OWL, SHACL, SQL

A modeling language, not a store

Graphwise GraphDB

Store and reasoning

RDF, SPARQL, and taxonomy tools

RDF skills required

Stardog

Store and reasoning

Reasons at query time

Inference adds query work

Palantir Foundry

Ontology and actions

Mature action types

Lives inside the Palantir platform

Microsoft Fabric IQ

Ontology and agents

Built from Power BI models

Ontology still in preview

Snowflake semantic views

Metrics

Native to Snowflake and Cortex

Metrics focus, Snowflake only

Build on your stack with a partner

All layers

Open formats you own

Needs internal domain owners

For a ranked view of graph platforms, see the top knowledge graph platforms for 2026.

What mistakes sink enterprise ontology projects?

Most failures come from scope and ownership, not technology. The patterns below show up again and again.

The first is modeling the whole company before any agent uses the ontology. The second is copying table schemas into classes, which gives agents the same confusion with new names. The third is having no named owner per domain, so definitions drift and nobody can settle disputes.

The fourth is letting agents write through raw SQL instead of modeled actions. The fifth is skipping measurement, which leaves no proof the ontology helped. The last is locking the model inside one vendor format, so a platform change means rebuilding years of institutional knowledge.

Frequently asked questions

What is an enterprise ontology for AI agents?

It is a formal model of your business that agents can read. It names the things that matter, such as customers, contracts, and shipments, how they relate, the rules that apply to them, and the actions allowed on them. Agents use it as a world model, so their answers and actions follow company logic instead of guesses from column names.

How long does it take to build a first enterprise ontology?

There is no fixed number, and claims of a set timeline should be treated with care. The scope drives the effort. One domain, one agent, and twenty to forty competency questions is a contained project. Modeling the whole company before any agent uses it is the pattern that stalls, so start narrow and expand by domain.

What are competency questions in ontology design?

Competency questions are the plain language questions the ontology must be able to answer, such as which active customers have an open renewal this quarter. They set the scope, drive which entities and relationships you model, and double as test cases. Ontology research uses them as the standard way to judge whether a model is complete.

Should we use RDF and OWL or a property graph?

Use RDF and OWL when you need formal semantics, standard validation with SHACL, and portability between tools. Use a property graph when traversal speed and developer familiarity matter more. Many teams author the model once in a neutral language such as LinkML and generate OWL, SHACL, JSON Schema, and SQL from it, which keeps the choice reversible.

How do AI agents access an enterprise ontology?

The common pattern in 2026 is the Model Context Protocol. An MCP server exposes the ontology and its documentation as resources and exposes queries and governed actions as tools. Over HTTP, MCP authorization is based on OAuth 2.1, so each agent gets scoped access rather than a shared database login. Fabric IQ and Palantir offer platform specific routes too.

Can an LLM build the ontology for us?

An LLM can draft one quickly, but it cannot decide what your business means. A 2026 study of LLM driven ontology construction for enterprise knowledge graphs reported a fuzzy match F1 of 0.724 in the Data domain and noted limits in scope definition and hierarchy. Use models to propose classes and mappings, then have domain owners review every change.

How is an enterprise ontology different from a semantic layer?

A semantic layer defines metrics and dimensions so numbers are calculated one way. An enterprise ontology defines the entities, relationships, rules, and actions behind those numbers. Agents need both. The semantic layer answers how much revenue, and the ontology answers which customer, which contract, and what the agent is allowed to do next.

Who should own the enterprise ontology?

Business domain owners should own the meaning of each concept, and a small modeling team should own structure, standards, and the release process. Data engineering owns the mappings from source systems. Without named owners per domain, definitions drift, agents start getting conflicting answers, and nobody has the authority to settle what a term means.

How do you know an enterprise ontology is working?

Measure it with a fixed test set. Run your competency questions through the agent before and after the ontology, and track accuracy, the rate of honest abstentions, and the rate of confident wrong answers. Research by Allemang and Sequeda showed an ontology check raised accuracy to 72 percent and turned some errors into explicit abstentions.

Why should a company own its ontology instead of renting it?

The ontology captures how your business works, which is institutional knowledge. If it lives only inside one vendor's proprietary model, moving platforms means rebuilding it. Keeping it in open formats such as OWL, SHACL, SKOS, or LinkML, on infrastructure you control, lets every tool and agent use the same model and keeps that knowledge yours.

More articles

Stay up to date with what weโ€™re building

Stay up to date with what weโ€™re building

Stay up to date with what weโ€™re building

Questions

Answered

FAQ

What does Galaxy do?

What is Filament?

What is enterprise context management?

What does working with Galaxy look like?

How do you handle security and compliance?

Why does Galaxy build in the open?

Own your knowledge stack

Own your knowledge stack

Copyright ยฉ 2026 Galaxy. All rights reserved.