This repository sets up three QLever SPARQL endpoints:
- ORDO – Orphanet Rare Disease Ontology
- HOOM – The HPO-ORDO ontological module
- WikiPathways – RDF export of biological pathways
Each endpoint is configured using a Qleverfile and includes a get-data.sh script for downloading or preparing its data.
- Python 3.10+ with
venv - Docker (including Compose plugin)
- Recommended: Add your user to the Docker group
sudo usermod -aG docker $USER
sudo reboot-
Clone this repository and enter it:
git clone https://github.com/ERDERA/qlever-sparql-deployment.git cd qlever-sparql-deployment -
Create and activate a Python virtual environment:
python3 -m venv qlever-venv source qlever-venv/bin/activate pip install --upgrade pip pip install qlever
For each endpoint folder (ordo/, hoom/, wikipathways/), run the following commands:
cd <folder>
./get-data.sh # Downloads or prepares the RDF data
qlever index # Indexes the data using the Qleverfile
qlever start # Starts the SPARQL endpointExample:
cd ordo
./get-data.sh
qlever index
qlever start
qlever uiRepeat the same steps for hoom/ and wikipathways/.
Then visit http://localhost: in your browser.
.
├── ordo/
│ ├── Qleverfile
│ └── get-data.sh
├── hoom/
│ ├── Qleverfile
│ └── get-data.sh
├── wikipathways/
│ ├── Qleverfile
│ └── get-data.sh
└── qlever-ui-multi-config.json
This is a first draft release of a set of configuration scripts and documentation for setting up QLever SPARQL endpoints for ERDERA. The scripts are not yet fully tested and may require adjustments for specific use cases. The documentation is a work in progress and may not cover all aspects of the setup process. Please use this repository at your own risk and feel free to contribute improvements or report issues.