Two technologies have been proposed for RDF validation based on the notion of shape: Shape Expressions (ShEx) and Shapes Constraint Language (SHACL). The adoption of both languages in different semantic web applications and domains has been gradually increasing since their appearance and they are claiming their space in the semantic web stack. ShEx was designed as a concise, human-readable language for RDF description and validation, while SHACL was designed as an RDF vocabulary that allows to describe constraints on RDF data. Although both have some similarities, they were designed from different perspectives. In this tutorial we will present both ShEx and SHACL using examples, discuss the rationales for their design and compare them.
We will also present some tools that are being developed around shapes, as well as some applications like the wikidata entity schema namespace which allows to create an ecosystem of shape expressions to validate wikidata entities.
RDF data can be considered the llingua franca of the semantic web. It possess a number of indisputable benefits like flexibility, easy integration and openness. It forms a core layer for knowledge representation in the semantic web stack and the availability of RDF data stores and SPARQL makes it a right choice for practical applications. Although RDF, and graph stores in general, don't demand an initial schema definition like SQL, and operates in a more flexible way, practical applications impose further demands. In that sense ShEx and SHACL work with the open spirit of RDF (natively schema-less), while giving developers and data architects a tool to impose and validate some specific constraints. The need to increase the quality of RDF data has made that the adoption of ShEx and SHACL in Semantic Web projects has been increasing and nowadays they are an important part of the semantic web tooling.
Since their appearance, both ShEx and SHACL have been increasingly adopted by semantic web data practitioners. SHACL has been adopted in enterprise data management scenarios as well as government. On the other hand ShEx has also been adopted in scenarios like the Gene Ontology or Wikidata
Like the popular http://www.cambridgesemantics.com/semantic-university/sparql-by-example tutorial, this tutorial is intended to provide step-by-step instructions with examples. Participants will be able to play with validation tools using web-based interfaces like RDFShape, WikiShape or ShEx Simple online validator} to validate their RDF data.
Anyone interested in Semantic Web technologies and tools is expected to attend this tutorial. Some rudimentary knowledge of RDF and Turtle is expected, although a short introduction to the RDF data model will be done.
To register, visit: ISWC'20 registration
The tutorial will be given between 2th/6th November, 2020 (see Program)
Examples and other material will be available at this repository