SHACL Play! free online SHACL validator for RDF data

SHACL Play! free online SHACL validator for RDF data

SHACL Play! at is a free online RDF validator based on SHACL. It encapsulates TopQuadrant’s Java SHACL implementation as the actual validation engine. The code of SHACL Play is available on Github.

  1. Give the input RDF data to be validated, by uploading an RDF file, pointing to a URL, or copy/pasting inline data;
  2. Give the SHACL rules to use for validation, by uploading a file, pointing to a URL, copy/pasting inline data, or selecting the shapes from the catalog (see below);
  3. Validate, and get a human-readable report generated from the SHACL raw validation report;
  4. Access to the report in its RDF or CSV variant;

Here is a screenshot of how the validation report looks like :


SHACL Play! features :

  1. Free, no registration required, no limit;
  2. Easy-to-use input form;
  3. Multiple RDF serialisations supported (Turtle, RDF/XML, n3, TriG);
  4. Versatile input methods for both RDF data and SHACL rules (upload, URL, copy/paste, catalog);
  5. Human-readable validation report, for quick analysis of the issues to be fixed in the data (or adjusted in the shapes);
  6. Downloadable validation reports in CSV or raw RDF;
  7. Asynchronous validation to avoid timeouts, for large datasets (greater than 100000 triples);
  8. Permalinks to validation reports when both RDF dataset and SHACL rules are online;
  9. Catalog of online public shapes for documentation and quick validation (see below);

SHACL Play also features a command-line variant (see the documentation on the Github wiki).

Future features could include :

  1. Improved display of validation report, with possibly different styles of report (depending on the « styles » of the Shapes):
  2. Human-readable display of a SHACL graph;
  3. Online data transformation engine based on SHACL Rules, with a first focus on converting an OWL ontology to SHACL constraints (see this excellent description of one possible set of rules to derive SHACL shapes from an OWL ontology, by Irene Polikoff from TopQuadrant);


The Shapes Catalog

SHACL Play includes a catalog of online Shapes. The catalog is collaboratively editable by modifying the Shapes Catalog source file on Github, through pull requests.

Adding an entry to the catalog allows to:

Another SHACL Validator

Another SHACL validator is the SHACL playground is at However the UI is too technical for newcomers, and it relies on a Javascript validator in the browser, thus I am not sure it would be capable of validating large Datasets.

How to edit/create SHACL rules ?

You need to create your own set of SHACL rules ? You don’t have a tool to do that and you don’t want to write Turtle file by hand ? One technique I use is to edit them in an Excel spreadsheet that is converted in RDF using SKOS Play Excel 2 RDF converter. Here are 1 example of such a file : OpenArchaeo shapes in Excel.

You could start from this template and modify it to create your own Shapes Graph.

Now let’s SHACL Play!


Post illustration : « Calculateur » Bulletin des sciences mathématiques 1922, found from, from Gallica at

Next Post:

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>