Hi WG members and others,
Here is a small command line tool that uses the open-source pySHACL tool [1] to validate RDF graphs using a profiles hierarchy to find relevant validators.
The hierarchy must be composed according to the Profiles Vocabulary (PROF) [2] and we create such hierarchies so we can relate dependent validators and then validate data using small SHACL files that can be composed into a large validation graphs, rather than having to create monolithic validators for everything that we want to validate. This will allow us to reuse small, generic validators that we create within our ontologies and for our datasets, such as the very simple SKOS Concept validator within this repo: https://github.com/geological-survey-of-queensland/vocabularies/blob/master/shapes/agent.shape.ttl. We could profile this simple validator, using PROF, every time we wanted to extend its few rules and we need only declare the new rules each time. Cheka will find the new rules and the original rules in this validator if it’s told they are related.
A major thing that this tool and other things are dependent on is having good profile hierarchies out there on the web!
I will likely write up use of this tool for current projects within a paper about PROF for this year’s International Semantic Web conference.
My company will be maintaining this software and building enhanced versions of it within our platforms for enterprise use.
Regards,
Nick
[1] https://github.com/RDFLib/pySHACL <https://github.com/RDFLib/pySHACL>
[2] https://www.w3.org/TR/dx-prof/ <https://www.w3.org/TR/dx-prof/>
______________________________________________________________________________________
Dr Nicholas Car
Data Systems Architect
SURROUND Australia Pty Ltd
Address P.O. Box 86, Mawson, Canberra ACT 2607
Phone +61 477 560 177 <tel:+61+414+99+55+43?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
Email nicholas.car@surroundaustralia.com
Website https://surroundaustralia.com
Enhancing Intelligence Within Organisations
delivering evidence that connects decisions to outcomes