Prototype of validation checks for OBO ontologies using the Shapes Constraint Language (SHACL). This test runner is only a shell for the SHACL implementation by TopQuadrant.
An initial set of implemented constraints can be found in shapes.ttl.
First, install the TopBraid SHACL library since it is not yet in Maven central:
git clone git@github.com:TopQuadrant/shacl.git
cd shacl
mvn install
Install sbt
on your system. For Mac OS X, it is easily done using Homebrew: brew install sbt
sbt compile
To run from sbt:
Download an ontology to the project directory (e.g. pato.owl
).
sbt -mem 8000 "run pato.owl shapes.ttl"