Ontology, Semantics, and Knowledge Graphs: The Context Layer Enterprise AI Is Missing
Quick Answer
Ontology defines what exists in a business domain: the entities, their attributes, and the rules governing relationships between them.
Semantics adds business meaning, specifying what a term means in a particular context, how a metric is calculated, and how a user's role affects interpretation.
A knowledge graph connects those defined, enriched concepts into a navigable network that systems can traverse to answer complex, multi-entity business questions.
Forrester Research says that together, these three layers transform raw enterprise data into context-rich, machine-readable knowledge: the foundation AI needs to reason accurately over business questions.
Ontology, semantics, and knowledge graphs must work together as a semantic foundation if AI is to understand — not just process — enterprise data. The June 2026 Forrester report, Combine Semantics, Ontology, And Knowledge Graphs For AI-Ready Data, warns that even the most advanced AI will confidently give the wrong answer unless organizations first transform their data into context-rich, machine-readable knowledge that encodes definitions, relationships, and business rules.
Ask an AI assistant a seemingly simple question:
Who are our top five customers?
The answer may arrive in seconds, complete with names, figures, and a polished explanation. But without a structured, machine-readable representation of what enterprise data means — built from ontology, semantics, and knowledge graphs — the answer may be confidently wrong.
Did the AI rank customers by revenue, profit, contract value, transaction volume, loyalty, or growth potential? Did it include subsidiaries? Did it use the current fiscal year or the trailing 12 months? Would the answer change for a chief financial officer, a sales director, or a marketing leader?
The same problem appears with individual terms. A question about the "Jaguar account" may refer to an automotive company, a brand, a product line, or even the animal. Humans often resolve these ambiguities without noticing, drawing on knowledge of the organization, the conversation, the user, and the business situation.
AI does not automatically possess that context.
Refined Prompting Doesn't Solve the Problem
Better prompts may reduce some uncertainty, but the deeper challenge sits within the enterprise data architecture. For AI to interpret business questions consistently, it needs access to definitions, meanings, relationships, and rules in a form that machines can understand.
That is where ontology, semantics, and knowledge graphs come in.
"AI fails without context-rich data."
— Forrester Research, Combine Semantics, Ontology, And Knowledge Graphs For AI-Ready Data, June 2026
Ontology: What Exists in the Business?
An ontology is a structured description of a business domain. It identifies the concepts that matter, defines their attributes, and establishes the rules governing how those concepts relate to one another.
"Ontology defines the fabric of your business domain — the entities (people, events, processes) that matter, their attributes, and the rules governing relationships."
— Forrester Research, Combine Semantics, Ontology, And Knowledge Graphs For AI-Ready Data, June 2026
In plain language, an ontology provides the conceptual map of an organization. It tells systems what exists in the business, how different entities are classified, and which relationships are possible.
The specific concepts vary greatly by industry because a bank, hospital, and manufacturer operate in very different domains.
Industry | Classes and structure | Relationships and rules |
|---|---|---|
Financial services | Customer: name, ID, credit score. Product subtypes: accounts, loans, credit cards. | Customers own products. Customers carry loans. |
Healthcare | Patient: name, ID, birthdate. Medical service subtypes: diagnoses, treatments, prescriptions. | Patients receive diagnoses and undergo treatments. |
Manufacturing | Product: ID, name. Machine: ID, type. Process: production steps. | Machines produce products. Products require defined processes. |
These definitions create shared understanding across systems and teams.
In financial services, one department may describe an organization as a customer, another as a borrower, and another as a counterparty. Each term may be valid within its own process. The ontology establishes how those concepts differ and when they refer to the same real-world entity.
In healthcare, it can distinguish patients from research participants and connect medical services to diagnoses and treatments. In manufacturing, it defines how products, components, machines, and production processes fit together.
Think of ontology as the rulebook. It defines the pieces on the board and the basic rules governing how they can interact.
Semantics: What Does it Mean Here?
An ontology may define a customer, but that alone does not resolve every question involving customers.
Semantics adds the business meaning needed to interpret concepts in a particular situation. It clarifies terminology, resolves ambiguity, and connects familiar business language to governed data definitions.
The word "customer," for example, might refer to an account holder, borrower, cardholder, buyer, subscriber, or corporate parent. The intended meaning depends on the organization, business process, user, and question.
"Top five customers" introduces another layer of ambiguity: top according to which measure?
The answer can change not only between industries, but also between roles within the same organization.
Industry | Disambiguation | Meaning | User context |
|---|---|---|---|
Financial services | "Customer" may mean borrower, account holder, or cardholder. | "Top five customers" could mean by revenue, transaction volume, or loyalty. | A chief customer officer may prioritize lifetime value; a chief marketing officer may focus on campaign response. |
Healthcare | "Patient" differs from "subject" or "participant" in clinical settings. | "Top five patients" could mean by visits, cost, or risk level. | A physician may prioritize urgent cases; an administrator may focus on cost or revenue. |
Manufacturing | "Product" could mean finished goods, components, or raw materials. | "Top five products" could mean by output, defect rate, or margin. | A plant manager may track throughput; a sales director may focus on leading SKUs. |
Semantics captures these distinctions. It defines what a term means, how a metric is calculated, which time period applies, which hierarchies should be followed, and how the user's role affects interpretation.
It also separates business users from the technical structure of the data. Someone can ask for "revenue by region" without knowing which table contains revenue, how customer records are joined, or where geographic hierarchies are stored.
A semantic layer maps the business term to the appropriate governed data logic, giving applications, analysts, and AI systems a consistent definition to follow.
Ontology defines the concept of revenue. Semantics specifies what the organization means by revenue in a given analytical context.
Knowledge Graphs: How is Everything Connected?
Once concepts have been defined and enriched with meaning, a knowledge graph connects them into a navigable network.
Traditional tables organize data into rows and columns. Real business questions, however, often depend on relationships that span many tables, systems, and domains.
A knowledge graph makes those relationships explicit.
Industry | Example relationships |
|---|---|
Financial services | Customer123 → owns → Account456; Account456 → type → Checking |
Healthcare | Patient001 → diagnosed with → COVID-19; Diagnosis → recorded on → 2023-11-15 |
Manufacturing | ProductA123 → requires → Assembly Process; Machine MX200 → type → CNC |
These examples are simple, but enterprise graphs can contain millions of entities and relationships.
A manufacturer investigating a product defect could trace the affected product to a component, the component to a supplier, the supplier to a shipment, and the shipment to other production batches.
A bank investigating suspicious activity could follow connections among transactions, accounts, devices, owners, and counterparties.
A healthcare provider could connect a patient's diagnoses, medications, laboratory results, clinicians, and care plans to identify relevant risks or treatment dependencies.
The graph provides the network through which systems can traverse relationships, uncover dependencies, and infer connections that may not be visible within a single dataset.
"These pillars transform raw data into the fuel for reasoning machines."
— Forrester Research, Combine Semantics, Ontology, And Knowledge Graphs For AI-Ready Data, June 2026
How the Three Pillars Work Together
Ontology, semantics, and knowledge graphs are not three unrelated technologies. Each supplies a different part of the context an enterprise system needs.

Let's return to the original question:
Who are our top five customers?
With all three elements in place, we finally get the same answer, no matter who asks the question. The ontology defines what qualifies as a customer. It establishes relevant concepts such as account, organization, subsidiary, contract, and revenue.
Semantics interprets "top" according to a governed business definition. For this user, it might mean customers ranked by annual recurring revenue over the trailing 12 months. It also determines whether subsidiaries should be consolidated under a parent organization.
The knowledge graph connects each customer to its accounts, contracts, purchases, regions, products, and other relevant activity. It allows the system to assemble the relationships needed to answer the question across different sources.
Together, the three pillars turn a vague phrase into a defined, contextualized, and traceable business query.
The relationship works in both directions. The ontology structures the concepts captured in the graph. Semantics enriches those concepts with business meaning. The graph can reveal new relationships that help the organization refine its definitions over time.
The result is a living representation of enterprise knowledge rather than a static dictionary.
Context Becomes Part of the Architecture
Most enterprises already have large volumes of data. Many are also investing in AI models, assistants, and agents. The missing layer often sits between them: a shared, machine-readable representation of what the data means and how it relates to the business.
Ontology establishes the conceptual map. Semantics makes that map understandable in a particular business context. Knowledge graphs connect the mapped concepts into a network that systems can navigate.
The foundation becomes increasingly important as AI moves beyond summarizing information and begins making recommendations or taking actions. In an agentic AI environment, an ambiguous definition can influence a decision, trigger a workflow, or execute an action at scale.
Context needs to become part of the architecture. Without shared meaning, even a powerful model is left to infer how an individual enterprise defines its customers, products, performance, risk, and value.
Building the Semantic Foundation with Strategy Mosaic
Strategy Mosaic is the semantic foundation for enterprise AI — translating governed business definitions, ontologies, and knowledge relationships into a unified layer that AI systems, analysts, and automated agents can rely on.
Most organizations already have the data. The harder question is whether their systems understand what that data means.
Read the full Forrester Report to learn how a semantic layer closes the context gap so your AI stops guessing on business logic and starts delivering consistent, trustworthy answers.
Frequently Asked Questions
What is the difference between ontology and a knowledge graph?
An ontology defines the concepts, categories, and rules that govern a business domain — what entities exist and how they can relate to one another. A knowledge graph applies those definitions to actual data, connecting specific instances of entities (a particular customer, account, or product) into a navigable network of relationships. Ontology is the schema; the knowledge graph is the populated structure built on that schema.
What does a semantic layer do in an enterprise AI context?
A semantic layer translates business terminology into governed data logic. When a user or AI system asks for "revenue by region," the semantic layer maps that phrase to the correct tables, joins, hierarchies, and time definitions — without requiring the user to know the underlying data structure. In an AI context, the semantic layer ensures that every query resolves against a consistent, validated business definition rather than an inference.
Why do knowledge graphs matter for agentic AI?
Agentic AI systems take actions — triggering workflows, making recommendations, and executing decisions — rather than simply retrieving answers. When an agent acts on an ambiguous definition, the error scales with every downstream step. Knowledge graphs give agentic systems a structured, traversable representation of enterprise relationships, reducing the risk that a misinterpreted entity or relationship produces a cascading error.
How are ontology, semantics, and knowledge graphs related to data fabric and data mesh architectures?
Data fabric and data mesh architectures address where data lives and how it is managed across distributed domains. Ontology, semantics, and knowledge graphs address what the data means and how concepts relate across those domains. The two approaches are complementary: a data fabric or mesh provides the distribution layer; semantic infrastructure provides the meaning layer that makes distributed data interpretable by both humans and machines.
Can an organization build this context layer without replacing its existing data infrastructure?
In most cases, yes. Ontologies, semantic layers, and knowledge graphs are typically implemented as a logical layer above existing data sources — relational databases, data warehouses, data lakes, or cloud storage. The goal is to establish consistent meaning and relationships without requiring organizations to migrate or restructure the underlying data.
Information in Forrester publications is based on Forrester’s efforts to compile and analyze the best resources reasonably available to Forrester at any given time. Opinions reflect judgment at the time and are subject to change. This report is part of a broader collection of Forrester resources, including interactive models, frameworks, tools, data, and access to analyst guidance.
Content:
- Refined Prompting Doesn't Solve the Problem
- Ontology: What Exists in the Business?
- Semantics: What Does it Mean Here?
- Knowledge Graphs: How is Everything Connected?
- How the Three Pillars Work Together
- Context Becomes Part of the Architecture
- Building the Semantic Foundation with Strategy Mosaic
- Frequently Asked Questions








