A data ontology is a formal, machine-readable model of the things your business talks about, such as Customer, Order and Product, their properties, and how they relate to each other: an Order is placed by a Customer. In data teams, a useful ontology is also bound to the data: it records which tables and columns store each concept, so people and AI agents can find and query it by meaning rather than by table name.
A small example
| Concept | Definition | Relationships | Stored in |
|---|---|---|---|
| Customer | A person or company that has placed at least one order | places Orders; belongs to a Segment | dim_customer (Snowflake), contacts (CRM) |
| Order | A confirmed request to buy one or more products | is placed by one Customer; has many Order Lines | fct_orders |
| Product | An item we sell | appears on Order Lines; belongs to a Category | dim_product |
| Net revenue (metric) | Order line amount minus discounts, excluding refunds | measured on Order Lines by order date | fct_order_lines |
That table is already an ontology in spirit. Expressed in a standard such as OWL, it can be read by other tools and published with stable identifiers for each concept.
Ontology vs taxonomy vs glossary vs data model
| What it is | Example | |
|---|---|---|
| Glossary | Terms and definitions, for people | "Active customer: ordered in the last 90 days" |
| Taxonomy | A hierarchy of categories | Beverages → Coffee → Espresso |
| Data model | How data is stored: tables, keys, joins | fct_orders.customer_key → dim_customer |
| Ontology | Concepts, properties, relationships and rules, machine-readable, often bound to data | Customer places Order; Order has Order Line; Active customer is defined by a rule |
An ontology can contain a taxonomy and a glossary; it differs from a data model in starting from the business rather than from storage. See data catalog vs semantic layer vs ontology for how it fits alongside other tools.
Well-known ontologies
- schema.org: a shared vocabulary for web content, used by search engines.
- FIBO (Financial Industry Business Ontology): concepts for financial contracts, parties and instruments.
- SNOMED CT and other medical terminologies: clinical concepts and their relationships.
- gist: a compact upper ontology for business concepts.
Most companies do not adopt one wholesale; they reuse parts and build a domain ontology of their own.
What an ontology layer does for AI
An AI agent asked "what was net revenue from enterprise customers last quarter?" needs to know what net revenue means, which customers are enterprise, and which tables hold them. An ontology layer gives it those answers, so it can choose the right definitions instead of guessing from column names. Combined with a semantic layer that compiles the SQL, it is the basis of accurate answers on business data. See context layer for AI agents.
How to build a data ontology
- Start with the business processes and the questions people ask.
- List the core concepts and write a one-sentence definition for each.
- Add relationships with cardinality.
- Define metrics over the concepts.
- Bind each concept to the tables and columns that store it.
- Record where teams disagree and decide which definition applies.
- Publish it in a standard format and keep it versioned.
The full method is in how to build an ontology for your data.
Ontology builder software
Tools range from general ontology editors such as Protégé (OWL, for ontology specialists), to knowledge graph platforms, to data-focused tools that derive the ontology from the data model. offdataai is in the last group: it derives concepts, relations and metrics from a validated data model, lets your team review and approve them, binds them to real tables, and exports OWL, JSON-LD and RDF/XML. See the ontology builder.
Frequently asked questions
What is an ontology in data?
A formal model of the concepts in a domain, their properties and their relationships, usually machine-readable, used to give data a shared meaning.
What is the difference between an ontology and a knowledge graph?
The ontology is the schema: the types of things and relationships. A knowledge graph is the data: actual customers, orders and products connected according to that schema.
Do I need RDF or OWL to have an ontology?
No. Standards matter when you want to share the ontology with other tools or publish resolvable identifiers. The value comes from agreed definitions and bindings to data.
Is there a course on ontologies for data teams?
Yes. offdataai Learn has a hands-on ontology course where you build one from a data model.
