To run the SPARQL endpoints locally we recommend to use Docker Compose (https://docs.docker.com/compose/) with the following docker-compose.yml
:
version: "2"
services:
blazegraph:
image: "lyrasis/blazegraph:2.1.5"
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)
- http://lod.onb.ac.at/downloads/bigdata_anno_bibframe_20201008.jnl.xz (ANNO BIBFRAME)
to /var/lib/jetty/bigdata.jnl
inside the Docker Container. Do a chmod a+w bigdata.jnl
before you start the Container with docker-compose up
.
After starting the Container
- select the desired namespace: http://localhost:8889/bigdata/#namespaces (anno or akon)
- write your SPARQL query: http://localhost:8889/bigdata/#query and execute it