Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.09 KB

HowToValidate.md

File metadata and controls

15 lines (12 loc) · 1.09 KB

OntPub Profile

How to validate

This document describes how you can use the validator in the OntPub Profile to test whether data is valid according to it.

Validation using VocPub's validator involves applying the SHACL validator file, provided in this profile to data using one of many available validator tools. Different approaches and tools are:

  1. Online validation
    • SHACL Playground
      • Simple 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.
  2. Command line validation
    • pySHACL
      • This is a Python tool that can run as a desktop command line application - see it's docs
  3. Integrationed application validation
    • use pySHACL above within your own Python scripts or programs. See pySHACL's documentation