/shacl-api

Implementation of Imaging Plaza Microservice for SHACL Validation

Primary LanguageJupyter NotebookGNU Affero General Public License v3.0AGPL-3.0

shaclAPI

Implementation of Imaging Plaza Microservice for SHACL Validation

Based in https://github.com/SDSC-ORD/shacl

How to use it?

How to use docker?

docker build -t caviri/shaclapi:latest . 
docker run -it --rm -p 8000:15400 -p 8501:8501 caviri/shaclapi:latest 
docker run -it --rm -p 7200:15400 -p 3000:8501 caviri/shaclapi:latest 
docker-compose up # add -d for detached

LOGS

if [ $1 == validate ] ; then
	set -- shaclvalidate.sh "$@"
elif [ $1 == infer ] ; then
	set -- shaclinfer.sh "$@"
root@cbb169b97823:/# shaclvalidate.sh
Missing -datafile, e.g.: -datafile myfile.ttl
root@cbb169b97823:/# shaclinfer.sh
Missing -datafile, e.g.: -datafile myfile.ttl

Changelog

v0.0.4: Update Ontology to v0.6 v0.0.3: Update shapesfile to v0.0.3