Snowflake Semantic Views give Cortex agents trusted metrics. Production agents also need the relationships that connect your entities and the knowledge your analysts have already approved, wherever that data lives. That is the job of a governed enterprise context layer.
Ask Snowflake Cortex Analyst for net revenue by region last quarter and, with a well-designed Semantic View behind it, the agent has a strong foundation for producing an accurate answer. The metric is defined, its aggregation is governed, and the relationship between orders and regions is established in the model. Snowflake has done serious work to make these analytical questions more reliable.
Now consider a more complicated request. What did we sell last quarter to Acme Holdings and every subsidiary beneath it, including subsidiaries of subsidiaries? Or: how many open escalations belong to employees anywhere within a particular VP’s reporting organization? The calculations are straightforward. The complexity comes from determining which entities belong to the requested group, how they connect, and how far those connections extend.
Answering these questions reliably takes two things a metric definition does not provide: a model of how entities relate, which is what an ontology supplies, and a record of what the organization has already approved as the right way to answer, which is the role of institutional memory. Together they form a governed enterprise context layer.
Snowflake has built a strong semantic foundation for Cortex
Snowflake Semantic Views are native database objects that define logical tables, relationships, facts, dimensions and metrics on top of physical data. They give organizations consistent analytical definitions that Cortex Analyst, Cortex Agents and supported BI applications can all use. Instead of asking an LLM to recreate a revenue calculation for every question, the organization defines that calculation once and reuses it.
Snowflake also provides a Verified Query Repository, where approved natural-language questions and their corresponding SQL help Cortex Analyst interpret similar requests. Cortex Analyst evaluations add another layer by comparing generated query results with verified examples, helping teams measure accuracy and catch regressions.
At Summit 2026, Snowflake introduced Horizon Context, which collects schemas, query logs, lineage and dashboard definitions from Snowflake and from systems such as PostgreSQL, SQL Server, Tableau and Power BI, enriches them with AI-generated descriptions and popularity signals, and helps agents find the right semantic views. Most of these capabilities are in preview.
These investments address real enterprise requirements, and for analytical questions that fit the definitions in a Semantic View, Snowflake’s native approach works well. Horizon Context adds valuable context about data. Agents answering connected questions also need context about the business: how entities relate, across how many levels, and what the organization has already approved as the right answer. In most enterprises, those entities don’t all live in Snowflake.
Why relationship modeling matters for production agents
Snowflake’s Cortex Analyst Routing Mode demonstrates an important principle. When possible, Cortex Analyst generates semantic SQL through the SEMANTIC_VIEW() function, so the query references definitions already established in the Semantic View instead of reconstructing joins and metric calculations. In Snowflake’s words, “Shorter SQL is easier for an LLM to produce correctly.”
Coverage, however, depends on what the model can express. Snowflake’s documentation states that Routing Mode “only results in semantic SQL for about 10% of queries,” and recommends expanding the Semantic View to reduce fallbacks. When the Semantic View cannot satisfy a question, Cortex Analyst falls back to standard SQL against the physical tables, and the generated query has to reconstruct joins, calculations and other logic itself.
Snowflake can still answer sophisticated questions this way, including through recursive SQL. The architectural question is how much of that complexity the agent must rebuild at query time.
Timbr’s SQL-native ontology approaches this differently by modeling entities and their relationships as reusable semantic structures. Relationships can be named, queried and traversed directly, including many-to-many connections, inverse relationships, and transitive relationships that extend across multiple levels. Instead of generating physical-table joins for every traversal, an AI agent references the modeled relationship through Timbr’s semantic SQL. The relationship logic already exists in the model before the agent receives the question. It also changes the cost of an answer. Without modeled relationships, an agent spends tokens working out how tables connect: inspecting schemas, guessing join keys and retrying when a join fails. A named relationship gives the agent a deterministic join path, which Timbr resolves into SQL, so that exploration and its token cost are largely avoided.
In an ontology, those paths are not limited to a single subject area. Snowflake’s modeling guidance recommends keeping each Semantic View focused on a single business domain, and notes that “each semantic view is queried independently; Cortex Agents does not join across separate semantic views.” A question that spans domains has to fit inside one view’s scope. An ontology lets the agent compose new paths through connected concepts at query time, from a customer to its parent company, up the acquisition chain and out to its suppliers, without anyone having anticipated that combination.
When a question requires navigating a hierarchy
Consider a company structure where Acme Holdings owns several subsidiaries, some of which own additional companies. The organization wants total revenue across the entire corporate group, regardless of how many levels separate each subsidiary from Acme Holdings.
In a conventional relational database, the hierarchy might be represented through an accounts table containing a parent-account reference. A SQL query can traverse that structure recursively:
WITH RECURSIVE account_tree AS (
SELECT account_id
FROM accounts
WHERE account_name = 'Acme Holdings'
UNION ALL
SELECT a.account_id
FROM accounts a
JOIN account_tree t
ON a.parent_account_id = t.account_id
)
SELECT SUM(o.net_amount) AS revenue
FROM orders o
JOIN account_tree t
ON o.account_id = t.account_id
WHERE o.order_date >=
DATE_TRUNC('quarter',
DATEADD('quarter', -1, CURRENT_DATE))
AND o.order_date <
DATE_TRUNC('quarter', CURRENT_DATE);
Illustrative SQL assuming an acyclic, single-parent hierarchy without duplicate traversal paths.
Snowflake can execute this recursive query. What it cannot do today is represent the hierarchy natively in a Semantic View. According to Snowflake’s Semantic View validation rules, a table cannot reference itself in a relationship, and the documentation names employee-manager hierarchies as the example.
Engineers can flatten the hierarchy into a view that the Semantic View references, or Cortex can generate recursive SQL against the underlying tables. Both can work, but in each case the hierarchy lives outside the semantic model, as logic someone has to maintain or the agent has to reconstruct.
In Timbr, a relationship between instances of the same concept can be modeled as transitive, so queries navigate multiple levels through a named relationship path. The hierarchy becomes part of the ontology rather than logic that every consuming application must reconstruct.
There is a second complication. In most enterprises, the legal-entity tree lives in the ERP or master-data system, while the orders live in Snowflake. A Semantic View can only model what is in Snowflake. Timbr’s ontology maps the subsidiary hierarchy from the ERP and the orders from Snowflake into one connected model and queries both where they live, without moving data. The relationship is defined once and is available to Cortex agents and to every other agent, BI tool and application connected to Timbr.
A real example: acquisition chains across multiple levels
This distinction is not limited to hypothetical account hierarchies. In October 2026, we ran a Crunchbase NL2SQL benchmark comparing how different AI-agent approaches handled a question involving multi-level acquisitions:
“For each company that has been acquired, trace the full acquisition chain up to the ultimate parent (A acquired by B, B acquired by C, and so on). Show the ultimate parent, the chain depth, and the total funding raised by all companies in the chain.”
Answering it requires navigating an acquisition relationship repeatedly, tracking how many levels were traversed, and combining measures across the connected companies. Timbr’s agent generated SQL using the ontology’s transitive acquisition relationship:
SELECT
`organization_id` AS `acquired_company_id`,
`organization_name` AS `acquired_company_name`,
MAX(
`acquired_by[company*10]_transitivity_level`
) AS `chain_depth`,
(
SUM(
`measure.acquired_by[company*10].total_funding_total_usd`
)
+ SUM(`measure.total_funding_total_usd`)
) AS `chain_total_funding_usd`
FROM `dtimbr`.`company`
WHERE `status` = 'acquired'
GROUP BY
`organization_id`,
`organization_name`
HAVING MAX(
`acquired_by[company*10].organization_id`
) IS NOT NULL
ORDER BY
`chain_depth` DESC,
`chain_total_funding_usd` DESC
LIMIT 100;
Abbreviated from the captured benchmark query to show the traversal, depth and aggregation expressions.
The key expression is acquired_by[company*10]. It references the modeled acquisition relationship and traverses up to ten levels. The _transitivity_level expression exposes the traversal depth, and the measure expressions combine funding values across the connected companies. The agent expresses the traversal and the aggregation in one SQL statement, without constructing a recursive common table expression.
What the benchmark showed
In this test, Timbr returned acquisition chains up to ten levels deep, while Snowflake Cortex returned chains reaching four levels. The difference reflects this run and the SQL each agent generated, not a hard limit in Snowflake, which supports deeper recursive SQL. The point is architectural: Timbr makes multi-level traversal available directly through the ontology’s SQL interface, so the agent does not have to construct the recursive joins, and has less to get wrong.
Relationships as part of the semantic model
Hierarchies offer a clear example, but the distinction extends to other relationship types. Snowflake Semantic Views represent relationships between logical tables and use them to support joins, metric calculations and indirect relationship inference. Timbr ontologies represent relationships as named semantic elements connecting concepts, with explicitly named inverses and transitive traversal across multiple levels.
Snowflake’s validation rules also prohibit circular relationships, “even through transitive paths”: a relationship from orders to customer cannot coexist with one from customer to orders. In an ontology, has_order and ordered_by are simply the two directions of one relationship.
| Modeling need | Snowflake Semantic Views | Timbr ontology |
|---|---|---|
| Recursive hierarchies | Self-referencing relationships aren't allowed; hierarchy logic can be pre-flattened in an underlying view | Named transitive relationships supporting multi-level traversal |
| Many-to-many connections | Modeled using bridge tables and corresponding logical relationships | Named relationships between concepts, mapped through linking structures |
| Inverse relationships | A relationship can't be declared in both directions; circular relationships aren't allowed, even through transitive paths | Relationship definitions include explicitly named inverses |
The distinction is not that one platform supports joins and the other does not. It is how relationships become available to agents. For enterprises working with supplier networks, organizational hierarchies, legal ownership structures or product dependencies, that difference is significant, because the complexity of a question often comes less from the calculation than from determining which entities belong in the answer.
Memory answers familiar questions. The ontology answers new ones.
Verified queries are an important part of reliable agents. When a user asks something similar to an approved example, Cortex Analyst can use that example as guidance rather than generating SQL without relevant context.
Timbr’s Institutional Memory goes beyond a list of verified queries. Approved question-to-SQL examples, query patterns, business rules and analyst guidance grow out of analysts’ everyday work and corrections, and each reuse is checked against the ontology and role-based access controls before an agent relies on it. When nothing in memory fits, the agent generates from the ontology alone. And because the memory lives in the context layer rather than inside a single semantic view, agents across the enterprise draw on the same approved knowledge.
That approval matters. Horizon Context uses query and access logs to calculate popularity as a signal for authoritativeness. Popularity is a useful signal for search, but popular is not the same as approved. For regulated teams, the knowledge an agent reuses should be something the organization has explicitly signed off on and can audit.
No memory can anticipate every question. An unfamiliar question may require connecting entities across domains, traversing organizational structures, or following relationships that no existing example covers. When those relationships already exist in the ontology, the agent has an explicit foundation for constructing the answer. Memory establishes how familiar questions should be answered, and the ontology provides structure for the questions no one anticipated. Production agents need both.
Cortex and Timbr work together
Snowflake and Timbr do not have to be competing architectural choices. In June 2026, Timbr announced context graph capabilities for Snowflake Cortex AI, enabling Cortex agents to work with ontology-based concepts, relationships and metrics over Snowflake data.
As described in Timbr’s Snowflake Cortex integration documentation, Cortex Agents connect to Timbr through an external Model Context Protocol (MCP) server and can invoke Timbr capabilities as tools. Depending on how the agent is configured, it can discover ontology structure, use Timbr’s semantic context to generate SQL, or submit queries against the ontology for Timbr to execute. When Timbr executes the query, it resolves the modeled relationships into the underlying SQL operations, so the agent does not have to reconstruct every physical join itself.
Snowflake continues to provide storage, compute, governance and native analytical capabilities. Timbr adds governed enterprise context on top: an ontology of connected entities, hierarchies and relationship paths, plus the Institutional Memory agents draw on, deployed in the customer’s own environment. Because the same ontology spans Snowflake and the other platforms an enterprise runs, such as Databricks, SAP and SQL Server, definitions stay consistent wherever the data lives. For a broader comparison, see Timbr vs. Snowflake Horizon Context.
Metrics are the start. Production agents need relationships and memory.
Snowflake has built a strong foundation for AI-powered analytics through Semantic Views, trusted metric definitions, Verified Queries and evaluation workflows. But enterprise questions frequently go beyond metrics across familiar dimensions. They involve subsidiaries within subsidiaries, suppliers connected through several tiers, and organizational hierarchies that must be traversed before an accurate answer can be produced, often across more than one platform.
Timbr is the governed enterprise context layer for these questions: SQL-native ontologies that name, traverse and reuse relationships, and Institutional Memory that captures what the organization has already approved.
For Snowflake teams, the opportunity is not to replace the semantic foundation they have built. It is to put governed enterprise context around it, so Cortex agents can answer the connected questions the business actually asks.
See how Timbr adds governed enterprise context to Snowflake Cortex or book a live demo to see SQL-native ontologies and Institutional Memory working with Cortex agents.