Going Meta S03E06 – Validating Neo4j Graphs with SHACL

Season 03 Episode 6 of Going Meta – a Series on Semantics, Knowledge Graphs and All Things AI
Topic: Validating Neo4j Graphs with SHACL

Jesús Barrasa: https://twitter.com/BarrasaDV
Repository: https://github.com/jbarrasa/goingmeta
Knowledge Graph Book: https://bit.ly/3LaqE6b
Previous Episodes: https://neo4j.com/video/going-meta-a-series-on-graphs-semantics-and-knowledge/

SHACL: https://www.w3.org/TR/shacl/
Graphexpectations: https://github.com/neo4j-labs/graphexpectations
Going Meta Ep11: https://www.youtube.com/watch?v=JrBOvdVkjU4

00:00 Introduction & Episode Overview
01:49 Why Graph Validation Matters
05:28 Data Quality vs Business Rules
09:00 What is SHACL?
10:34 Anatomy of a SHACL Shape
14:38 Graph Expectations: A Pythonic Alternative
19:22 Exploring the Northwind Graph in Neo4j
22:29 Generating SHACL Shapes with Code
31:50 Running Validation Against the Graph
44:50 Inspecting the Generated Cypher Queries

#graphdatabase #neo4j #graphrag #knowledgegraphs #ontology #data