Skip to main content
Your ontology is built from four main pieces. Think of them like building blocks.
Example Ontology

Example ontology for a ticket selling business. The ontology shows objects (key business concepts) connected by links (relationships between data).

Objects (The “Things” in Your Business)

Objects are the main entities in your business. They’re the nouns. Examples:
  • Customer - People who buy from you
  • Order - Purchases made by customers
  • Product - Items you sell
  • Employee - People who work for you
In Simple Terms: If you can point to it and say “that’s a thing,” it’s probably an object. Technical Note: Each object maps to a table in your database or a custom SQL query, but you give it a business-friendly name.
Ontology graph showing objects

Objects shown in the ontology graph editor

Attributes (The “Details” About Things)

Attributes will auto populate according to the columns within the tables. You’ll need to label each attribute as primary key, dimension, or measure. Primary Key (PK): This is the unique identifier for each row in your object. This is what makes each customer unique and is usually an ID column. Each row must have a different value and there can only be one primary key for each object. Dimension (Dim): This is the descriptive attributes you use to group, filter, or categorize data. Typically, these are text, dates, categories, or anything you would use to “group by” or “filter by”. If you can filter by this, it’s a dimension. Measure (Meas): This is the numeric values you want to calculate with (sum, average, count, etc.). These are the numbers you want to perform math on. Examples:
  • Customer ID - Primary key
  • Order platform - dimension
  • Order value - measure
Links show how your objects relate to each other. They answer “how are these connected?” Two Types of Relationships: One-to-One
  • One person has one passport
  • One employee has one employee ID
One-to-Many (Most common)
  • One customer has many orders
  • One department has many employees
Why Links Matter: When you ask “Show me revenue by customer,” and order value and customers live in separate tables, Ana needs to know that order value connects to customers. Links teach her that.
Creating a link between objects

Creating links between objects

Metrics (The “Calculations” You Do Repeatedly)

Metrics are pre-defined calculations with exact business logic. They answer “how do we measure this?” Examples:
  • Total revenue = sum of all completed order amounts
  • Average order value = total revenue ÷ number of orders
  • Customer lifetime value = sum of all orders per customer
  • Monthly active users = count of distinct users who logged in this month
The Key Benefit: The calculation is defined once and used everywhere. No more inconsistency.