Compare · Ontology, semantic layer, knowledge graph
Ask “How many active customers do we have?” Three tools hear three different questions.
A semantic layer knows how to count them. An ontology knows what a customer is. Neither knows that Sales and Finance count them differently. Spotonix asks, and remembers the answer.
One question, three tools.
Same question each time: how many active customers did we have last month?
Semantic layer
The recipe.
It has a formula: customers with an order in the last 30 days. It runs it. It doesn’t know Finance uses 90 days.
Ontology
The dictionary.
It knows an active customer is a kind of customer, and a trial user isn’t one. It can’t tell you how to count them.
Spotonix Knowledge Graph
Your team’s memory.
It sees that “active” means two things here and asks which one you want. It finds the count your team built last quarter and reuses it. You see each step before it runs.
Recipe, dictionary, memory. You probably have the first two. Spotonix adds the third.
What is the difference between an ontology, a semantic layer and a knowledge graph?
A semantic layer is the recipe: formulas for your numbers, like “active customer = ordered in the last 30 days”. An ontology is the dictionary: what things are and how they relate, like “a trial user is not a customer”. A knowledge graph connects that meaning so software can use it. The Spotonix Knowledge Graph acts as your team’s memory. It asks when a word has two meanings, reuses work your team already did, and shows each step before it runs. It reads your semantic layer. It does not replace it.
The same idea, row by row.
Every example uses the same question about active customers.
Formulas. “Active customer = ordered in the last 30 days.”
Meanings. “An active customer is a kind of customer.”
Meanings, plus the questions your team already answered and how.
“How do I count this?”
“What is this?”
“Has my team answered this before, and what did they mean?”
Orders join to customers.
A trial user is not a customer.
This filter goes with that count, in this order.
Works if someone already wrote the formula.
Knows the word, not the math.
Finds similar work, even in new words. Asks when a word is unclear.
Picks a formula and runs it.
Looks up what a word means.
Shows you the steps before it runs anything.
The data team adds formulas.
Someone models it up front.
Each answered question adds to it. Earlier definitions are kept.
Under the hood: ontology, classification, algebra.
The ontology knows what “active customer” means. Classification finds last quarter’s count, even when you ask in new words. The algebra builds the answer one step at a time, so you can check each step.
The first two columns describe typical tools, not any one product. Some products called an “ontology” or a “semantic layer” do more, so judge what the product does, not its name.
Keep your recipe and your dictionary.
Spotonix reads both. They hold decisions an AI can’t guess from table names.
The recipe
Same number everywhere.
Revenue is counted one way, in every dashboard that uses it.
The dictionary
Same words everywhere.
Billing and support agree on what a customer is.
Both
Written by people who know the business.
That work feeds Spotonix. It doesn’t get replaced.
What this page does not ask you to assume.
Keep what you have
Spotonix reads your models.
dbt, LookML, Power BI and others stay where they are.
Names vary
Judge the product, not the label.
TextQL calls its definitions an Ontology. Databricks has Genie Ontology. Check what each one does.
Try it
Use a word with two meanings.
Ask about “active customers”. See if the answer says which meaning it used, and if the next question reuses it.
Field notes on this comparison
Longer write-ups behind the evaluation criteria above.
Sep 9, 2026
What is a governed AI answer?
A governed AI answer resolves meaning against a definition your company owns and shows the plan before any query runs.
Nov 4, 2026
We Already Have a Semantic Layer
The strongest objection I heard in October was polite and fair: we already have a semantic layer, and our agents are connected to it. Where that holds, where it stops, and a test you can run on your own setup this week.
Sep 30, 2026
The Failure That Starts Before SQL
Wrong fields, unexplained choices, and silent interpretation changes can begin before query generation—when the intended analysis was never made explicit.
Bring a question your formulas don’t cover.
See which meaning Spotonix picks, where it came from, and each step, before anything runs.
Book DemoSee how it works