This document summarizes an Apache Jena track presentation about SHACL (Shapes Constraint Language) in Apache Jena. The presentation introduces SHACL as a W3C standard for validating RDF graphs, provides examples of using SHACL shapes to validate FOAF profiles, and demonstrates the SHACL validation process. It also covers the SHACL compact syntax, SHACL-SPARQL constraints, SHACL operations, and Apache Jena's support for SHACL including command line tools and Fuseki validation services.
3. Today
About
SHACL Core
Example walkthrough
SHACL Compact syntax
SHACL-SPARQL
SHACL operations
4. SHACL
Describes what the data looks like
W3C standard: https://www.w3.org/TR/shacl/
Use for:
Validation
Schema
HTML forms
. . .
5. SHACL-AF
Also SHACL Advanced features : https://www.w3.org/TR/shacl-af/
Custom Targets
Rules
Node expressions
Functions
Active Community Group
https://www.w3.org/community/shacl/
6. Why validate?
Unexpected data makes applications harder to write
Unexpected data in a database is hard to clean up
External data may be missing/incomplete/changed/. . .
Unnoticed data changes
Unexpected or missing data is a signal
仂于亠磺, 仆仂 仗仂于亠磺
Trust but verify
-- Russian Proverb