Validate RDF data

This utility validates the conformity of an RDF dataset against a SHACL specification. You need to provide the RDF data to be validated, either by uploading it, providing its URL, or copy-pasting inline RDF. You also need to provide the SHACL shapes in the same ways, or by selecting them from the shapes catalog.
For an example, you can try validating the Shapes catalog data against the Shape "SHACL Play! Catalog Shapes" in the list below.

  Input Data

Remove Select file Change
You can select multiple files. Supported extensions : .rdf, .ttl, .n3, .trig. Other extensions will be treated as RDF/XML. You can also send zip files.
URL of an RDF file. Same extensions as file upload are supported.
Supported syntaxes : Turtle, RDF/XML, JSON-LD, TriG, TriX, N-Quads. We recommend Turtle.

  Shapes

Remove Select file Change
You can select multiple files. Supported extensions : .rdf, .ttl, .n3, .trig. Other extensions will be treated as RDF/XML
To have your Shapes in the catalog, add it to the catalog Github repository.
URL of an RDF file. Same extensions as file upload are supported.
Supported syntaxes : Turtle, RDF/XML, JSON-LD, TriG, TriX, N-Quads. We recommend Turtle.

  Options

Check this option to verify that each shape uses only properties explicitely declared in the shape file. \
Enable this option to also include in the validation report the "root" cause of a validation result triggered by an sh:or, sh:and, sh:node or sh:qualifiedNodeShape.
Use this option if the data to be validated contains ontology triples and you need to apply OWL-Micro inference on the data before it is validated. /!\ Inference can take a very long time

Documentation

If the RDF dataset to be validated is online, and if and only if the SHACL shapes are registered in SHACL Play shapes catalog, you can provide direct links to a validation report with the following URL : https://shacl-play.sparna.fr/play/{shapes-catalog-entry-id}/report?url={URL of the RDF data file to validate}

For example : https://shacl-play.sparna.fr/play/shaclplay-catalog/report?url=https://raw.githubusercontent.com/sparna-git/SHACL-Catalog/master/shacl-catalog.ttl

Generate shields.io validation badges

This validation utility is available as an API to generate shields validation badges for dataset. The API URL will return a JSON data that can be tunneled to https://img.shields.io/endpoint?url=.

This works if and only if the SHACL shapes are registered in SHACL Play shapes catalog.

The API general synopsis is https://shacl-play.sparna.fr/play/{shapes-catalog-entry-id}/badge?url={URL of the RDF data file to validate}

For example : https://shacl-play.sparna.fr/play/shaclplay-catalog/badge?url=https://raw.githubusercontent.com/sparna-git/SHACL-Catalog/master/shacl-catalog.ttl

The full badge URL is then https://img.shields.io/endpoint?url=https%3a%2f%2fshacl-play.sparna.fr%2fplay%2fshaclplay-catalog%2fbadge%3furl%3dhttps%3a%2f%2fraw.githubusercontent.com%2fsparna-git%2fSHACL-Catalog%2fmaster%2fshacl-catalog.ttl

When you insert the badge on your Github repository, you can use it to link to the "/report" URL (see above). See the Shapes catalog repository README for an example