Introduction to SHACL
A beginner-friendly introduction to SHACL — validating RDF graphs against shapes. Covers node/property shapes, constraints (cardinality, datatype, class), the conformance/violation validation report, the alternative shape language ShEx (Wikidata EntitySchemas), and the relationship to SPARQL (querying) and XML schemas. A sequel to the RDF and SPARQL explainers. An experimental, independently-composed video, fact-checked against the specifications.
SHACLShExRDFWikidataDigital 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:00RDFの「形」を検証する
- 0:40この動画について
- 1:32この回のゴール
- 2:16今日の流れ
- 2:41なぜ「検証」が要るのか
- 2:52RDF=三つ組が重なった「網」
- 3:15データの「形」はバラつく
- 3:53「期待する形」を決めて照らしたい
- 4:25シェイプで検証する ― SHACL
- 4:32シェイプ=期待する「形」の宣言
- 5:01書き方(SHACL/Turtle)
- 5:32いろいろな制約を組み合わせる
- 6:00検証すると「レポート」が返る
- 6:30ここまでのポイント
- 7:04もう一つの道 ― ShEx
- 7:08ShEx=別の書き味のシェイプ言語
- 7:39例:Wikidata の EntitySchemas
- 8:07SHACL と ShEx の使い分け
- 8:41位置づけ・使いどころ
- 8:47「検証」と「問い合わせ」は別もの
- 9:16XMLのスキーマに当たる層
- 9:48考えてみよう
- 10:10ここまでのポイント
- 10:33DHでの活用
- 11:03おさえておきたい前提
- 11:40始め方・学ぶには
- 12:14まとめ
- 12:48出典・ライセンス
- 13:19ご清聴ありがとうございました




























