Skip to main content

Ontology & Knowledge Graph

Telling you what exists is the easy part: this table has these columns, this dashboard reads that table. A Context Platform has to tell you what it means: that cust_acct_bal_amt is a Customer Account Balance, that a Customer Account Balance is calculated from Transactions, that Transactions are regulated by AML, and that anything regulated by AML must be retained for seven years. That second kind of knowledge is what an ontology captures — and once it is captured, OpenMetadata projects it, together with every asset in your catalog, into a single knowledge graph that people and AI agents can query.

Ontology Explorer

Visualize your glossary terms and their relationships as an interactive graph.

Knowledge Graph

Every asset, relationship, tag, and lineage edge as one RDF graph.

For AI Agents

MCP tools that let an agent traverse the graph instead of guessing.

Enable It

What works out of the box, and what needs a triple store.

What Is an Ontology?

An ontology is a formal, machine-readable model of the concepts in a domain, the properties those concepts have, and the relationships between them. A glossary tells you that “Churn Rate” exists and gives you a paragraph of prose. An ontology tells you, in a form software can act on:
  • Churn Rate is a Metric.
  • It is calculated from Active Subscriptions and Cancelled Subscriptions.
  • It is part of the Retention concept.
  • It has the attributes unit = percentage and grain = monthly.
  • It is exactly equivalent to fibo-fnd:CustomerAttritionRate in an external standard.
  • calculatedFrom is not symmetric, so nothing can silently infer the reverse.
The difference matters because the second version is computable. Ask “what breaks if the Cancelled Subscriptions definition changes?” and you get an answer, because the derivation is written down as data rather than described in a paragraph.
Ontology, taxonomy, glossary, knowledge graph — the short versionIn OpenMetadata, the ontology is the blueprint and the knowledge graph is the building.

Why Ontologies Matter Now

Ontologies are a decades-old idea from the semantic web. They are having a moment for a specific and practical reason: LLMs are extremely good at language and extremely bad at knowing which table you meant.

Retrieval Is Not the Bottleneck; Disambiguation Is

Ask an agent “what was revenue last quarter?” and it will happily find fourteen tables with a revenue column. Semantic search narrows that down by similarity — but similarity cannot tell you that Recognized Revenue is the one Finance signs off on, that it is calculated from Booked Revenue minus Deferred Revenue, and that the revenue_v2_final table is deprecated. Only a model of the business can. An ontology gives the agent a small, dense, human-curated map of the domain to reason over, instead of asking it to reconstruct that map from thousands of column names on every request.

Graph Shape Beats Chunk Shape

RAG over text chunks answers “what does the docs say about X.” Enterprise questions are usually multi-hop and structural:
  • “Which dashboards would break if we drop this column?”
  • “Everything classified PII that flows into a system outside the EU.”
  • “Which of my Tier-1 tables have no owner and no data contract?”
Those are graph traversals, not similarity lookups. A knowledge graph answers them exactly, in one query, with no hallucination surface — because the answer is a set of edges, not a generation.

Agents Need Guardrails They Can Read

An agent acting on your data needs to know not just where the data is but what it is allowed to conclude. Typed relationships carry logical characteristics — symmetric, transitive, functional — and OWL axioms carry constraints like disjointness. That is a contract the agent can consult and that OpenMetadata can validate against, rather than a convention living in someone’s head.

Semantics Outlive Pipelines

Tables get renamed, warehouses get migrated, dbt models get refactored. The concept Customer does not. Modeling meaning separately from storage is what lets the catalog survive a re-platform — and what lets two systems that disagree about column names still agree about concepts.
The one-line case. Search tells an agent what exists. Lineage tells it what flows. An ontology tells it what things mean — and a knowledge graph is the only place where all three are queryable together.

How OpenMetadata Implements It

OpenMetadata does not ask you to stand up a separate semantic-modeling tool and then reconcile it with your catalog. Ontologies are first-class OpenMetadata entities. You can version them as releases and bind their concepts to the data assets in your catalog through the API. Collate adds Ontology Studio, a workspace for authoring and publishing ontologies. Two consequences worth understanding before you go further:
  1. Your relational database stays authoritative. Ontologies, concepts, properties, constraints, and releases are stored as ordinary OpenMetadata entities with versioning, ownership, reviewers, and change events. Authoring, import and export, publishing releases, and SPARQL over an ontology’s draft or active release all work with no triple store deployed.
  2. The RDF knowledge graph is a projection. When you enable RDF, OpenMetadata mirrors the ontology and every other entity in the catalog into an Apache Jena Fuseki triple store as a derived index, the same way it mirrors entities into Elasticsearch/OpenSearch for search. That projection is what unlocks catalog-wide SPARQL, reasoning, SHACL validation, graph insights, and the knowledge-graph MCP tools.
The RDF knowledge graph and Ontology Explorer are Beta features. RDF is disabled by default. The Ontology Explorer works without it. The AI proposals, the Knowledge Graph tab, and the knowledge-graph MCP tools require it. For more information, see Enabling Ontology & Knowledge Graph.

What Needs What

Not every surface needs the triple store. This is the fastest way to tell which half of the feature you are looking at.

The Pieces

1

Model your domain in the glossary

Create glossary terms and connect them with typed relationships. Browse the result in the Ontology Explorer. To manage ontologies, concepts, constraints, and releases programmatically, see the Ontology API Reference.Ontology Explorer →
2

Attach concepts to real assets

Assign glossary terms to tables, columns, dashboards, and pipelines the way you already do. This is the join between the blueprint and the building.Glossary assets →
3

Project it into the knowledge graph

Enable RDF and run the indexing application. Every entity, tag, owner, and lineage edge becomes triples in a queryable named graph.Knowledge Graph →
4

Query it — as a human or as an agent

Ask graph-shaped questions in the SPARQL console, or let an AI assistant call the knowledge-graph MCP tools directly.SPARQL → · AI agents →

Where to Go Next

Core Concepts

Concepts, relationship types, attributes, axioms, IRIs, and the standards behind them.

Ontology Explorer

Explore glossary terms and their relationships as a graph.

Knowledge Graph

What OpenMetadata projects, and what you can ask of it.

Ontology & KG for AI Agents

The MCP tool surface and agent recipes.