Free · WaitlistJoin the waitlist for the free 2-day Vibecoding & AI Agents Intensive (autonomous Hermes + DeepSeek agent · led by Jemal Hamidun, Head of AI at Alpina Digital & MIPT)Join the waitlist →
ReleaseInsight · On RadarHabr AI→ original

dbt and Cube Don't Patent the Metrics Semantic Layer, but Microsoft and IBM Do

A semantic layer is a shared dictionary of metric formulas, so a dashboard and an AI agent calculate the same revenue. The authors of the Habr analysis reviewed patents from 2010 to 2026. dbt Labs, Cube, and Looker do not patent the layer's design; they are betting on the open OSI standard. IBM and Microsoft, by contrast, patent the semantic layer itself and the verification of AI answers through it. The practical takeaway: build the foundation on open specifications, and check publication rights yourself.

AI-processed from Habr AI; edited by Hamidun News
dbt and Cube Don't Patent the Metrics Semantic Layer, but Microsoft and IBM Do
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
AtScale is the exceptionpatent US12079180B2 covers generating the layer
Key metric #2The market for semantic layers and knowledge graphs will grow from $1.73 billion (2025) to $4.93 billion (2030)
Key metric #3OSI brings together Snowflake, dbt Labs, Cube, Salesforce, ThoughtSpot, and Mistral

A dashboard and an AI agent run two correct queries against the same database, yet the revenue figures differ: one subtracted refunds, the other forgot to. To prevent this, companies introduce a semantic layer, a single place that records exactly how each metric is calculated. But there is a second, less obvious problem: the right to read a number does not grant the right to publish it.

A team designing a control framework for AI agents over corporate metrics set out to find which architectural decisions in this area are already covered by patents, and described the search on Habr. The main finding: the companies that created the Headless BI market (dbt Labs, Cube, Looker) do not patent the layer's design, while Microsoft and IBM do.

Three Roles That Get Confused in Patents

The authors separate three things. The ontology answers the question "what is a client or a refund": it describes entities (Client, Contract), relationships (Client makes a Payment), and classifications (active or inactive client). The semantic layer answers the question "how is revenue calculated": it turns these definitions into formulas, aggregation rules, and access policies, which the engine uses to build queries against the warehouse. For example, the ontology says a refund is an event, while the layer defines the formula "revenue = sales − refunds" and decides which period it belongs to: the sale date or the refund date.

The third layer is the publication gateway. Suppose company policy prohibits showing revenue broken down by region in a general Slack channel. An agent correctly calculates revenue for Moscow and prepares a chart, but the channel is public. The gateway checks not the math but the combination of "result + recipient + policy" and blocks the send. According to the authors, popular solutions such as Styra/OPA and Microsoft Grounding control either API calls or content before it reaches the model, but not the business logic for publishing an already calculated number.

How We Searched and What We Found

Searching directly for "semantic layer" is pointless: the CPC and IPC classifiers have no separate code for it, and patent holders write "data abstraction layer," "virtual data model," or "knowledge graph" in their claims. So the search was split into five operations: metric definition, dimension selection, query generation (Text-to-SQL), access verification, and authorization of external actions. The team worked through the USPTO and EPO databases, collected "beacon documents" in the G06F 16 and G06N 5 branches, then ran multi-axis queries in Lens.org and separately checked "silent zones" for specific companies.

The picture that emerged:

  • BI abstraction from 2010 to 2022 is densely occupied by IBM and Oracle teams. In 2010, IBM patented mapping tables, meaning the layer's design itself.
  • The Text-to-SQL and knowledge graph area from 2023 to 2026 is being filled by Microsoft, Google, and SAP. In January 2026, Microsoft received patent US12524403B2 for generating queries based on semantic context.
  • For dbt Labs and Cube.dev, the search returns nothing. Looker/Google and Databricks do not patent the layer either.
  • The only notable exception is AtScale: patent US12079180B2 and application US20250103561A1 on generating the layer.
  • Application US20260044717A1 (Text-to-SQL chat with enforced access levels, published February 12, 2026) belongs to Toronto-Dominion Bank.

Why Some Patent and Others Open-Source

The authors attribute the difference to the technology's stage. While it is young, patents protect the design. Once it becomes a standard, patents protect its application. This explains the path from IBM's mapping tables to Microsoft's patents on verifying LLM answers through the layer.

Instead of patents, Headless BI vendors agreed on an open model-exchange standard, OSI (Open Semantic Interchange, Apache Ossie). Participants include Snowflake, dbt Labs, Cube, AtScale, Salesforce, ThoughtSpot, and Mistral AI. The logic mirrors SQL: when the format is shared, a platform's value lies in speed and computation quality. The market is growing: according to Mordor Intelligence's forecast, semantic layers and knowledge graphs for agentic AI will grow from $1.73 billion in 2025 to $4.93 billion by 2030.

What to Do in Practice

For those building agents on top of corporate data, the conclusion is this. The base layer should not be reinvented: open specifications and tools such as dbt and Cube already occupy that niche. But a "safety valve" that stops an agent from clicking "Send" with a correct yet prohibited-to-show number is a separate task. Patent clusters are currently forming around exactly this, and it is better to design it in from the start.

Limitations

This is the team's engineering analysis, not a legal opinion: a patent attorney must review the product before launch. The authors themselves name blind spots. Patents are published with a lag of about 18 months. A search of the Chinese CNIPA database through Lens returned no results for the relevant term combination. In AI safety, the word "semantic" often means filtering toxic responses rather than the structure of metrics, so the results are full of noise.

Story

Key Questions Answered

What are the key details on Three Roles That Get Confused in Patents?

The authors separate three things. The ontology answers the question "what is a client or a refund": it describes entities (Client, Contract), relationships (Client makes a Payment), and classifications (active or inactive client). The semantic layer answers the question "how is revenue calculated": it turns these definitions into formulas, aggregation rules, and access policies, which the engine uses to build queries against the warehouse.

How We Searched and What We Found?

Searching directly for "semantic layer" is pointless: the CPC and IPC classifiers have no separate code for it, and patent holders write "data abstraction layer," "virtual data model," or "knowledge graph" in their claims. So the search was split into five operations: metric definition, dimension selection, query generation (Text-to-SQL), access verification, and authorization of external actions.

Why Some Patent and Others Open-Source?

The authors attribute the difference to the technology's stage. While it is young, patents protect the design. Once it becomes a standard, patents protect its application. This explains the path from IBM's mapping tables to Microsoft's patents on verifying LLM answers through the layer. Instead of patents, Headless BI vendors agreed on an open model-exchange standard, OSI (Open Semantic Interchange, Apache Ossie). Participants include Snowflake, dbt Labs, Cube, AtScale, Salesforce, ThoughtSpot, and Mistral AI.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
What do you think?
Loading comments…