This repository hosts the website for ACQF QCP hosted at https://data.acqf-qcp.africa.
In order to generate the SHACL documentation using SHACL Play using the Ontology terms (and not in SHACL terms) the following can be done:
In order to generate the SHACL documentation using SHACL Play using the Ontology terms (and not in SHACL terms) the following can be done:
- Download Jena binary distribution and unzip it to
$JENA_HOME
and update the variable ingenerate-documentation.sh
accordingly. - Generate diagram and input for (it downloads ELM and transforms the SHACL through
queries/generate-shacl-for-shacl-play.rq
)
export JENA_HOME=~/soft/apache-jena-5.2.0/
export JENA_SPARQL=$JENA_HOME/bin/sparql
export JENA_RIOT=$JENA_HOME/bin/riot
./generate-documentation.sh docs/model/exchange-model.ttl
- Use
generated/acqf-f or-shacl-play.ttl
as the input to SHACL play. The resulting documentation should be using only original ontology IRIs. Class/property labels/descriptions should be taken from the SHACL shapes, falling back to the ontology ones in case the labels/descriptions are not defined in SHACL.