This document describes how you can use validators, such as the VocPub Profile's validator, to test whether data is valid according to it a specification.
Validation using SHACL validators involves applying a SHACL validator file, such as the one provided in this profile to data using one of many available validator tools. Different approaches and tools are:
- Online validation
- KurrawongAI's RDFTools
- Pre-loaded with a number of validators, including the one provided in this profile
- You can supply your own validator too
- You can past in RDF data or upload a data file
- SHACL Playground
- Simply go to the web page, copy the validator file's contents into the Shapes Graph text box and your target data into the Data Graph text box and hit the "Update" button! The tool will present any errors found to you on screen.
- KurrawongAI's RDFTools
- Command line validation
- pySHACL
- This is a Python tool that can run as a desktop command line application - see it's docs
- Jena's SHACL
- the SHACL implementation within the Java-based Jena RDF toolkit
- presented as a command line application and also as a Java library
- pySHACL
- Integrated application validation
- use pySHACL or Jena's SHACL tooling within your own scripts or programs
- See pySHACL's & Jena's documentation
This profile provides two options for validation:
- validation of present data
- standard validation of data using
validator.ttl
- standard validation of data using
- validation of expanded data
- validation of data after it has been expanded with the rules in
expander.ttl
- validation of data after it has been expanded with the rules in
The KurrawongAI RDFTools system provides allows selection of either option