This service allows you to deploy any ontology as a rest api with graph traversal. To support a particular
ontology you must update ontology.sh
and if you are leveraging github actions .github/workflows/ontology-cron.yml
Java 17
ONTOLOGY_SERVICE_ONTOLOGY=<ontology-to-use>
ONTOLOGY_SERVICE_LOAD=true
ONTOLOGY_SERVICE_INTERNATIONAL=<true if babelon translations enabled>
./gradlew run
- Get the data
bash ontology.sh hp
- Configure envrionment
export ONTOLOGY_SERVICE_ONTOLOGY=hp export ONTOLOGY_SERVICE_LOAD=true export ONTOLOGY_SERVICE_INTERNATIONAL=true
- Build container
./gradlew dockerBuild
- Run container
docker run ontology-service:<version> -p 8080:8080
- Open http://localhost:8080/api/hp/docs