Cloud Computing 11 min read

Why Google Is Extending the Semantic Layer with Business Relationships for Agents

The article analyzes how Google Cloud’s new BigQuery Graph with Measures expands the traditional semantic layer—adding explicit business entities and relationships—to enable agents to trace why metrics change, illustrated with retail case studies, Graph‑Measure integration, and Knowledge Catalog enhancements.

DataFunSummit
DataFunSummit
DataFunSummit
Why Google Is Extending the Semantic Layer with Business Relationships for Agents

From "What Happened" to "Why It Happened"

Historically, the semantic layer focused on defining metric calculations and unifying definitions across BI tools. In the Agent era, the problem shifts to explaining why a metric changes and how that change propagates through business relationships. Google Cloud’s recent updates to BigQuery Graph with Measures place governed Measures and Graph in a single model, extending the semantic layer from pure metrics to entities, relationships, and business context.

Graph Finds Paths, Measures Ensure Numbers

BigQuery Graph with Measures does more than combine graph queries with SQL aggregation. Because graph traversal can duplicate rows, ordinary SUM or AVG would over‑count. Google defines MEASURE objects (SUM, AVG, COUNT, COUNT DISTINCT, MIN, MAX) on node or edge properties, binding aggregation to a unique key. This guarantees correct results even after expansion. Queries use GRAPH_EXPAND to materialize the graph as a table and then apply the predefined Measure. The official example shows how a Measure on the User node avoids double‑counting customers when counting distinct users served by each distribution center.

Semantic Layer Boundary: From Metrics to Business Structure

Google’s retail case study illustrates the need for multi‑hop relationship tracing: a 12% drop in Seattle jacket sales can be linked to downstream suppliers affected by a storm. The analysis pipeline consists of three layers—Metadata Grounding (identifying available data), Business Metrics (calculating measures), and Relationship Mapping (using the graph to trace causality). Without the graph, agents would only see the sales dip and might suggest price cuts, missing the supply‑chain root cause.

Google’s Real Focus: The Agent Business‑Context Layer

Beyond BigQuery, Google’s Knowledge Catalog (announced April 22) aims to become an enterprise Context Engine, aggregating Measures, LookML, data products, and metadata from various platforms. It enriches entities, relationships, and business vocabularies, addressing the “semantic gap” that causes hallucinations in agents. Integration with Looker allows LookML to reference Graph definitions and vice‑versa, ensuring a single source of truth for KPIs across dashboards and agents.

The overall direction is a shift from the classic "Metrics + Dimensions + Joins" model to "Metrics + Entities + Relationships + Business Context". While the semantic layer, Knowledge Graph, and Ontology remain distinct products, Google is progressively incorporating business relationships and context into the governed data model, enabling agents to move from answering single‑point queries to root‑cause analysis and cross‑domain decision making.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Semantic LayerGoogle CloudGraphBigQueryData AgentMeasures
DataFunSummit
Written by

DataFunSummit

Official account of the DataFun community, dedicated to sharing big data and AI industry summit news and speaker talks, with regular downloadable resource packs.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.