<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Semantic-Layer on Debimate</title><link>https://debimate.jp/tags/semantic-layer/</link><description>Recent content in Semantic-Layer on Debimate</description><image><title>Debimate</title><url>https://debimate.jp/images/default-ogp.webp</url><link>https://debimate.jp/images/default-ogp.webp</link></image><generator>Hugo -- 0.166.0</generator><language>ja-JP</language><lastBuildDate>Thu, 12 Nov 2026 22:12:59 +0900</lastBuildDate><atom:link href="https://debimate.jp/tags/semantic-layer/index.xml" rel="self" type="application/rss+xml"/><item><title>Semantic Layer - 指標の定義を一箇所に置いて集計の SQL を組み立てる</title><link>https://debimate.jp/notes/database-systems/semantic-layer/</link><pubDate>Wed, 11 Nov 2026 00:00:00 +0000</pubDate><guid>https://debimate.jp/notes/database-systems/semantic-layer/</guid><description>&lt;p&gt;セマンティックレイヤー（semantic layer）は、「売上」「販売点数」のような指標の計算式と、テーブル同士のつなぎ方を一箇所に定義しておき、問い合わせのたびにその定義から集計の SQL を組み立てる層です。ダッシュボード、表計算、LLM（Large Language Model、大規模言語モデル）のエージェントは、テーブルに SQL を書く代わりに「どの指標を、どの切り口（地域別・月別のような集計の分け方）で」とだけ問い合わせます。実装には、SQL でテーブルの変換を定義・管理するツールの &lt;a href="https://docs.getdbt.com/docs/introduction"&gt;dbt&lt;/a&gt; の &lt;a href="https://docs.getdbt.com/docs/use-dbt-semantic-layer/dbt-sl"&gt;Semantic Layer&lt;/a&gt;（エンジンは OSS の &lt;a href="https://github.com/dbt-labs/metricflow"&gt;MetricFlow&lt;/a&gt; で、手元の dbt Core と組み合わせても動く）、Looker の &lt;a href="https://cloud.google.com/looker/docs/what-is-lookml"&gt;LookML&lt;/a&gt;、&lt;a href="https://cube.dev/docs/product/data-modeling/overview"&gt;Cube&lt;/a&gt; などがあります。&lt;/p&gt;</description></item></channel></rss>