|
|
To run the SPARQL endpoints locally we recommend to use Docker Compose (https://docs.docker.com/compose/) with the following `docker-compose.yml`:
|
|
|
```yaml
|
|
|
version: "2"
|
|
|
services:
|
|
|
blazegraph:
|
|
|
image: "lyrasis/blazegraph:2.1.4"
|
|
|
ports:
|
|
|
- "8889:8080"
|
|
|
volumes:
|
|
|
- "./bigdata.jnl:/var/lib/jetty/bigdata.jnl"
|
|
|
```
|
|
|
|
|
|
Mount the corresponding journal file:
|
|
|
|
|
|
* https://lod.onb.ac.at/downloads/bigdata_anno_akon.jnl.xz (ANNO and AKON)
|
|
|
* https://lod.onb.ac.at/downloads/bigdata_anno.jnl.xz (ANNO)
|
|
|
* https://lod.onb.ac.at/downloads/bigdata_akon.jnl.xz (AKON)
|
|
|
|
|
|
to `/var/lib/jetty/bigdata.jnl` inside the Docker Container. Do a `chmod a+w bigata.jnl` before you start the Container with `docker-compose up`.
|
|
|
|
|
|
After starting the Container
|
|
|
1. select the desired namespace: http://localhost:8889/bigdata/#namespaces (anno or akon)
|
|
|
2. write your SPARQL query: http://localhost:8889/bigdata/#query and execute it |