Skip to main content

Enabling Ontology & Knowledge Graph

Ontology and the knowledge graph are two different things with two different requirements. Knowing which is which saves a lot of unnecessary infrastructure.

What Works with No Extra Infrastructure

The ontology is stored relationally. Everything below works on a stock OpenMetadata deployment:
  • Ontology Studio View mode — graph, tree, filters, health, inspector
  • Ontology Studio Edit mode — concepts, typed relations, attributes, axioms, mappings, patterns, subsets, merges, change sets, impact previews
  • Relationship type management
  • Ontology Library pack installation
  • Ontology import and export (OWL, Turtle, N-Triples, JSON-LD, SKOS, CSV)
  • Glossary-scoped SPARQL (POST /api/v1/glossaries/{id}/sparql)
  • The ontology_describe MCP tool

What Needs the RDF Triple Store

  • Ontology Studio Query mode and the standalone SPARQL Playground
  • The 3D Knowledge Graph tab on tables
  • Catalog-wide SPARQL, graph exploration, and graph export
  • Inference and SHACL validation over the catalog
  • Graph insights — importance, centrality, communities, paths, recommendations, tag analytics
  • The sparql_query, entity_neighborhood, find_by_tag, and shacl_validate MCP tools
  • Linked Open Data IRI dereferencing

What Needs an LLM Provider

  • Ontology Studio AI mode — relationship, mapping, SPARQL, and domain-draft proposals
Requires RDF_ASK_COLLATE_ENABLED=true and a configured LLM provider.

Turning on RDF

The RDF knowledge graph is Beta and disabled by default. Turning it on for a large existing catalog adds meaningful load while the initial index runs. Test in a non-production environment first and schedule the initial index for a low-traffic window.
Full deployment instructions — Docker, Kubernetes, Helm, sizing, and troubleshooting — are in Enable RDF (Knowledge Graph). The short version:
1

Run Apache Jena Fuseki

Reachable from the OpenMetadata server. The repository ships one at docker/rdf-store.
2

Set the environment variables on both containers

The migrations container loads the ontology and shapes graphs and registers RdfIndexApp; the server container does everything else. If only one has RDF configured, installation fails with RdfRepository not initialized.
3

Run the initial index

Settings → Applications → RDF Knowledge Graph Indexing → Run Now, or:
4

Verify

Expect enabled: true and projectionState: READY. REBUILDING means the index is still running; DEGRADED means something needs attention.

Trying It Locally

The repository ships a startup script that brings up the whole stack with RDF and Fuseki enabled:
It sets sensible development defaults, including materialized inference and CUSTOM as the default inference level.

Configuration Reference

All settings live under rdf: in openmetadata.yaml and are overridable by environment variable.

Core

Connection and Write Tuning

Inference

Validation and Profile

Linked Data, AI, Federation

Federation is a data-exfiltration surface. A SERVICE clause sends parts of your query — and potentially your data — to a third-party endpoint. It is disabled by default, and the allowlist is empty. Enable it only for endpoints you control or explicitly trust.

Indexing Application

RdfIndexApp configuration (Settings → Applications): Only one reindex job can be active per cluster at a time.

Verifying the Whole Thing

In the UI: Govern → Ontology Studio should show a Query tab, and any table should show a Knowledge Graph tab.

Next

Deployment guide

Docker, Kubernetes, Helm, sizing, and troubleshooting.

Knowledge Graph

What you get once it is on.