Implementation of the ENEXA service The project documentation can be found here. For the repository-specific documentation, visit this link.
mvn package -DskipTests
docker build -t enexa-service:latest .
You will need a triplestore. The following command starts a Fuseki triplestore with the same configurations as is defined in fuseki-deployment.yaml.
docker pull stain/jena-fuseki
docker run -e ADMIN_PASSWORD=pw123 -e FUSEKI_DATASET_1=enexa -p 3030:3030 stain/jena-fuseki:latest
The triplestore can be tested using this query.
Requirements: You need to create the mentioned local directories (i.e., /tmp/modules, /tmp/enexa, /tmp/enexa-shared-dir-claim)
export ENEXA_MODULE_DIRECTORY=/tmp/modules; \
export ENEXA_SERVICE_URL=http://localhost:8080; \
export ENEXA_SHARED_DIRECTORY=/tmp/enexa; \
export ENEXA_SHARED_VOLUME=/tmp/enexa-shared-dir-claim; \
export ENEXA_META_DATA_ENDPOINT=http://localhost:3030/enexa/; \
export ENEXA_META_DATA_GRAPH=http://example.org/meta-data; \
export ENEXA_RESOURCE_NAMESPACE=http://example.org/resource/; \
java -jar target/enexa-service-0.0.1-SNAPSHOT.jar
sudo docker run --name fuseki-dev -p 3030:3030 -e FUSEKI_DATASET_1=mydataset -e FUSEKI_DATASET_2=otherdataset -e ADMIN_PASSWORD=pw123 -v /home/farshad/test/enexa/metadata:/fuseki stain/jena-fuseki