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
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.
- Nov 24, 2026A Newcomer Builds an ISPF SCADA Task in 6–11.5 Hours: Where They Get Stuck
- Nov 24, 2026Scientists Calculate How Many AI Agents It Takes for a Swarm to Grow on Its Own: The Example Threshold Is 463
- Nov 24, 2026OpenIDE 2026.3 puts Claude Code and Codex in one chat and supports 14 DBMSs
- Nov 24, 2026Microsoft Releases MAI Code 2 Coding Model: $0.31 Per Task Versus $6.31 for Claude
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.
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.
Waitlist: free vibecoding intensive + AI digest
Leave your email to reserve a spot in the free 2-day intensive and get the AI stories that matter.