What is an Ontology?
A Business Glossary answers "what does this word mean?". A business ontology answers the next question: "how do these words relate to each other?"
An ontology is the Business Glossary plus a layer of typed, directional relationships between terms. Instead of a flat list of definitions, you get a connected model that both people and machines can read: Individual Customer is a Customer, Customer has a Customer ID, Client is a synonym of Customer, and Customer is governed by GDPR.
Why relationships matter
A definition on its own is only useful to whoever reads it. A relationship is information the rest of DataHub can use:
- Discovery. Someone searching for Customer should also find assets tagged Individual Customer and Business Customer — because the ontology says those are kinds of Customer.
- Governance. If Customer is governed by GDPR, every concept beneath Customer inherits that obligation. The relationship is what lets you propagate the policy instead of restating it on every term.
- Impact analysis. Retiring or redefining a term is only safe once you can see everything that depends on it — the terms that inherit from it, contain it, or translate it.
- AI and agents. An LLM answering "which tables hold revenue data?" does far better when it can walk Revenue → Turnover (synonym) → MRR/ARR (kinds of) than when it can only string-match the word "revenue".
How DataHub models an ontology
DataHub does not introduce a separate "ontology" entity. Your ontology is your glossary, viewed through its relationships:
| Piece | What it is |
|---|---|
| Glossary Term | A concept — the node in your ontology. |
| Glossary Term Group | A folder for organizing terms. Hierarchy for humans, not a semantic relationship. |
| Built-in relationships | The relationship vocabulary DataHub ships with — inheritance, containment, synonyms, antonyms, translations, and valid values. |
| Custom relationships | Relationship types you define yourself, for vocabulary your business needs that the built-ins do not cover — governed by, derived from, supersedes. |
Built-in and custom relationships behave the same once created. Every relationship becomes an edge in DataHub's metadata graph — the same graph that holds lineage, ownership, and domains — so your ontology is drawn in the same views and queried through the same APIs as the rest of your metadata.
Which relationships exist and when to use each is covered in Relating Glossary Terms and Adding Custom Relationships.
Where to go next
- Relating Glossary Terms — build the ontology by connecting the terms you already have.
- Visualizing Your Ontology — explore the resulting graph in the UI, globally or from a single term.
- Querying Your Ontology — walk the relationship graph from the API, or let an AI agent walk it for you.
- Adding Custom Relationships — extend the vocabulary with your own relationship types.
- Advanced Querying with SPARQL — query the graph with standard SPARQL.
Importing an existing ontology
If your organization already maintains an ontology in RDF, OWL, or SKOS, you do not have to rebuild
it by hand. DataHub's RDF ingestion source imports SKOS concepts as glossary terms, derives term
groups from IRI path hierarchies, and maps standard predicates such as skos:broader /
skos:narrower onto DataHub relationships:
source:
type: rdf
config:
source: path/to/glossary.ttl
environment: PROD
sink:
type: datahub-rest
config:
server: "http://localhost:8080"
token: "${DATAHUB_TOKEN}"
Related reading
- Business Glossary — creating and organizing the terms themselves.
- Structured Properties — the mechanism behind custom relationship types.