This book describes two languages for implementing constraints on RDF data, describing the main features of both Shape Expressions (ShEx) and Shapes Constraints Language (SHACL) from a user perspective, and also offering a comparison of the technologies. The authors develop a small number of examples that typify validation requirements and demonstrate how they can be met with ShEx and SHACL. The book is not intended to be a formal specification of the languages, for which the interested reader can consult the corresponding reference documents, but rather, it is meant to serve as an introduction to the technologies with some background about the rationale of their design and some points of comparison.

Keywords: Shape Expressions (ShEx), Shapes Constraints Language (SHACL), Data validation
Author: Kontokostas, Dimitris
Publisher: Morgan & Claypool Publishers
Date created: 2017-08-01 04:00:00.000
Time required: P8H
Educational use: instruction
Educational audience: teacher-educationSpecialist
Interactivity type: expositive

  • Competencies