#!/bin/bash -x

export SEMPIPES_ONTOLOGIES_PATH="/home/blcha/projects/inbas/git/inbas-model/lib:/home/blcha/projects/inbas/git/inbas-model/forms/eccairs-0.2/:/home/blcha/projects/inbas/git/inbas-model/vocabularies/reporting-tool/:/home/blcha/projects/inbas/git/inbas-model/vocabularies/eccairs/model.ttl"

OUTPUT_FILE=./target/test-cli-formgen.jsonld.txt

mkdir -p ./target


id=generateEccairsForms
repositoryUrl=http://martin.inbas.cz/rdf4j-server/repositories/form-generator


#reportGraphId=http://www.inbas.cz/ontologies/reporting-tool/formGen1480881537849
#dataGraphId=http://www.inbas.cz/ontologies/reporting-tool/formGen1480881537860
#eventType=undefined
#event=http://onto.fel.cvut.cz/ontologies/eccairs/model/instance#instance828983787-4010400

reportGraphId=http://www.inbas.cz/ontologies/reporting-tool/formGen1480886229894
dataGraphId=http://www.inbas.cz/ontologies/reporting-tool/formGen1480886229895


#sempipes execute $id -P repositoryUrl=$repositoryUrl -P reportGraphId=$reportGraphId -P dataGraphId=$dataGraphId -P eventType=undefined -P event=$event  > $OUTPUT_FILE
sempipes execute $id -P repositoryUrl=$repositoryUrl -P reportGraphId=$reportGraphId -P dataGraphId=$dataGraphId > $OUTPUT_FILE
