When the BI team reports a revenue figure in Tableau and the AI assistant in the next meeting quotes a different one, even though both sit on the same data, it is rarely a technical bug. Each tool simply has its own idea of how “revenue” is calculated. This is exactly where Apache Ossie comes in: an open format for semantic models that lets BI tools and AI systems speak the same language.
Of course, this is at first exactly the situation from the well-known xkcd comic “Standards”: semantic layers already exist in dbt MetricFlow, Cube, LookML, Power BI, Snowflake and Databricks, and at first glance Ossie is simply one more. The important difference is that Ossie does not belong to any single tool but is a neutral specification in YAML or JSON that every vendor can use.
The background is a trend seen in many companies: the data sits centrally in a platform such as Databricks or Snowflake, but it is no longer analyzed only there. The BI team works with Tableau or Power BI, and at the same time the same data should be available to AI assistants. Each of these tools needs its own description of what is in the data and how metrics are calculated. This is exactly where Apache Ossie comes in. It is an open format for semantic models, built for BI and AI. In this post we explain what Ossie is today, what it is meant to become, and what the specification looks like. We also compare it briefly with dbt MetricFlow and look at how far the project has come.
What is a semantic model?
Before we dive into the details of Apache Ossie, let's take a step back and clarify what a semantic model actually is. The best way to think of it is as a dictionary for your own data. A data warehouse only knows tables and columns, for example orders.o_totalprice. But people ask for “revenue” or “customers per region”, and nobody wants to explain in a board presentation what “o_totalprice” means. In between sits the semantic layer, which records what such terms mean: which tables belong together, how they are joined, and how a number like revenue is actually calculated.
The written description of a domain such as “sales” is called a semantic model. Dashboards, data tools and AI assistants look it up instead of each coming up with its own SQL. The goal is boring in the best sense: everyone gets the same answer to the same question.
Why a common format at all?
Semantic layers already exist in many tools: dbt MetricFlow, Cube, LookML, Power BI, Snowflake Semantic Views, Databricks Metric Views. Each of them describes datasets, relationships and metrics in its own way. As a result, the same question gets a different answer depending on the tool, and at some point two departments argue about which number is right, even though both calculated correctly. This is especially true when new AI systems are supposed to interpret the current data.
The idea behind Ossie is simple: you describe the model once in a neutral YAML or JSON file, and every tool imports and exports exactly that file. Instead of writing a converter for every pair of tools, each tool only needs one importer and one exporter.
What Apache Ossie is
Ossie, formerly known as Open Semantic Interchange (OSI), started in September 2025 as an initiative led by Snowflake, together with dbt Labs, Salesforce and others. The name change was mainly there to avoid confusion with the Open Source Initiative.
A specification. A JSON and YAML format for semantic models, validated by a JSON Schema. A separate ontology specification describes business concepts.
Converters. Small tools that translate between Ossie and a specific product, for example dbt, Cube, Databricks, Power BI or Snowflake.
Not an engine. Ossie does not run queries. It only describes what a model contains and leaves the actual work to the tools.
Not a catalog, not a governance tool, not a BI tool. Ossie does not try to be everything. Those jobs stay with the surrounding systems.
How the spec looks
Each file contains exactly one semantic model, whose properties sit directly at the root level. Five building blocks matter most:
Datasets are logical tables. They point to their source, can define primary and unique keys, and contain a list of fields.
Fields are row-level expressions used for grouping and filtering. Optionally, they have a logical datatype.
Relationships connect a dataset on the many side (
from) to a dataset on the one side (to). Composite keys are possible as well.Metrics are aggregate expressions such as sums or averages. They can be declared on a dataset or at model level, where they may span several datasets.
ai_context and nonportable_extensions give LLMs hints at every level, and provide room for vendor-specific data that Ossie itself does not interpret. You can think of it as a drawer where each tool puts whatever does not fit anywhere else.
As an example, we use a small web shop. The model consists of a single file, which we split into three parts here, starting with the datasets and their fields:
The relationship connects the two datasets through their customer_id fields:
Finally, a metric that adds up the order amounts and, incidentally, tells the AI that “sales” and “turnover” mean the same thing:
Expressions are SQL strings. The sql key holds the portable form, written in OSSIE_SQL_2026. It builds on ANSI SQL but is specified so precisely that an expression means the same in every tool. ANSI_SQL on the other hand is just a label that Ossie does not define further. Variants for specific products, for example SNOWFLAKE, can sit next to it under dialects, and a converter picks the one that fits its target. Datatypes are deliberately coarse: String, Integer, Decimal, Date, DateTime and a few more.
Time is only a flag. A dimension can be marked with is_time: true (the default for date and time types), but that is as far as it goes: Ossie has no time granularities, no calendar and no hierarchies yet. Anyone who wants “revenue per quarter” has to express the quarter in SQL themselves.
What the spec does not cover yet
In the spirit of the Apache Incubator, the project is still very much a “work in progress”. Filters work through CASE WHEN or FILTER (WHERE ...) inside an aggregation, but there are no reusable named filters. Much of what a semantic layer usually offers cannot be described in Ossie yet: metric types, time logic such as year-over-year comparisons, references between metrics (only to a limited extent), as well as verified queries and governance features such as ownership, certification or lineage.
That sounds like a long list of shortcomings, but most of it is already on the roadmap, which lists 16 topics, or in open issues and pull requests.
Ossie compared to dbt MetricFlow
To get a feel for the current status and potential of Ossie, it helps to compare it with something established. So the question is: what is already out there as a reasonably settled format? Every tool brings its own, and one of the best known in the open-source data stack is MetricFlow, the semantic layer of dbt. In a dbt project you describe tables, relationships and metrics in YAML files, and MetricFlow turns them into SQL. That makes it a good yardstick for what Ossie is and what it is not.
MetricFlow is an engine that executes queries. It knows metric types, entities, time spines and granularities and generates the SQL as well. Ossie, by contrast, is only a file format: it knows much less and generates nothing. The table shows the main differences:
| dbt MetricFlow | Apache Ossie | |
|---|---|---|
| Role | Semantic layer and query engine | Interchange format |
| Metric types | simple, ratio, derived, cumulative, conversion | one SQL expression per metric |
| Time | time spine, granularities, offsets | an is_time flag only |
| Joins | derived from entities and keys | explicit many-to-one relationships |
| Runs queries | yes, through dbt and the warehouse | no |
| Portability | dbt projects | any tool with a converter |
| Maturity | established, shipped with dbt | incubating, draft spec |
Anyone starting from scratch can write Ossie files directly. Most teams, however, already have their model in a tool such as MetricFlow and export it from there as soon as another tool needs it. The interesting question then is: how much of it actually arrives on the other side?
How far is it?
Ossie is a young project. The specification is new, the draft is still changing, and there is no stable release line yet.
The only tagged version is 0.1.1, and that tag is still a release candidate. There is no 1.0.
The project was accepted into the Apache Incubator in June 2026. Governance, decision-making and releases still have to settle in.
The roadmap lists 16 topics. Metric semantics, catalog integration and ontologies are among the ongoing working groups. A draft query interface exists, but a reference engine and verified queries are still a thing of the future.
The apache/ossie-converters repository contains converters for quite a number of tools, though they differ in maturity. The validator checks a document's structure, names, references and SQL syntax, but not whether the metrics make sense. A metric that is formally perfect and still calculates nonsense therefore passes the check without a problem.
The specification and the converters are evolving quickly, with changes almost daily. It is a very lively project with many contributors.
Conversion is not one-to-one
Every tool knows concepts that the specification does not cover, such as metric types, time granularities, filters or calculation logic that exists on only one platform. A converter can only translate what both sides can express. The rest is either lost or rephrased, and which of the two happens is exactly the question.
Good converters therefore do three things. They map what is common, they store vendor-specific details in nonportable_extensions so that a round trip does not lose them, and they honestly report what they could not map. Anyone who relies on a conversion should check the result anyway, especially for metrics that depend on time or on complex calculations. At least: first portability tests for converters are already running.
Summary
Apache Ossie is a common format for semantic models. The specification is small and easy to read: it covers datasets, fields, relationships, metrics and AI context and leaves execution to other tools. Compared to MetricFlow it is much simpler, and today that is both a strength and a limit. The project is still young, the specification is a draft, and a conversion between tools is never a perfect copy. The very active participation of well-known stakeholders shows that the standard has attracted a lot of interest.
Our recommendation: keep an eye on the project and experiment with it. For a shared glossary, a documentation export or AI context, Ossie is already useful. As the single source of truth for production metrics, we would rather wait for a stable release and compare your own metrics against the conversion results first. Trust is good, checking the numbers is better.
In a follow-up blog post, we will take a deeper look at how Ossie, the converters and the ontology work, and share the findings from our first tests with dbt and Databricks.
Further reading
apache/ossie on GitHub, including the core specification and the roadmap
The status described here reflects November 2026.
More articles in this subject area
Discover exciting further topics and let the codecentric world inspire you.
Blog author
Janis Poggemann
Do you still have questions? Just send me a message.
Do you still have questions? Just send me a message.