Introduction to SPARQL
A beginner-friendly introduction to SPARQL — querying RDF graphs with triple patterns (SELECT … WHERE and ?variables), joining patterns to narrow results, FILTER / OPTIONAL / ordering, results as tables, and trying queries on public endpoints (Wikidata Query Service). An experimental, independently-composed video referencing open CC-licensed materials.
SPARQLRDFLinked DataLODWikidataDigital Humanities
⚠ This explainer is an experimental, AI-assisted production (including its structure, figures, and synthesized narration). It may contain inaccuracies—please use it with discretion.
Dialogue walkthrough (VOICEVOX)
Other versions
Narrated explanation
Chapters
- 1
Main
Narration script
- 0:00グラフに問いを投げる
- 0:35この動画について
- 1:24この回のゴール
- 2:11今日の流れ
- 2:43おさらい ― RDFという「網」
- 2:56RDF=三つ組が重なった「網」
- 3:27大きな網は「手で探す」のが難しい
- 3:54基本の形 ― トリプルパターン
- 4:02三つ組の一部を「?変数」にする
- 4:33基本の形:SELECT … WHERE
- 5:03パターンに「合う三つ組」を集める
- 5:53ここまでのポイント
- 6:24つなげて絞る ― パターンを重ねる
- 6:29パターンを二つ書くと「かつ」になる
- 7:00同じ変数が「つなぎ目」になる
- 7:24長いURIは PREFIX で短く書く
- 8:02ここまでのポイント
- 8:31結果を整える ― よく使う句
- 8:37FILTER=条件でしぼる
- 9:08OPTIONAL=あれば取る
- 9:35ORDER BY・LIMIT=並べる・件数をしぼる
- 10:06グラフに問うと「表」が返る
- 10:35ここまでのポイント
- 11:02実際に試す ― エンドポイント
- 11:08どこに問いを投げる?
- 11:38例:Wikidata に問いを投げる
- 12:26考えてみよう
- 12:50問いの立て方にも「判断」が入る
- 13:31始め方・学ぶには
- 14:12まとめ
- 14:57出典・ライセンス
- 15:35ご清聴ありがとうございました































