Lab: SHACL
From info216
Topics
- Validating RDF graphs with SHACL
- Running pySHACL
Useful materials
SHACL:
- Section 7.4 Expectation in RDF in Allemang, Hendler & Gandon's textbook (Semantic Web for the Working Ontologist)
- Chapter 5 SHACL in Validating RDF (available online)
- Interactive, online SHACL Playground
pySHACL:
- pySHACL at PyPi.org After installation, go straight to "Python Module Use".
Tasks
Task: Go to the interactive, online SHACL Playground. The file [File:xxx.txt] contains a small Turtle file you can paste into the
Task: Install pySHACL into your virtual environment:
pip install pyshacl