-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Qleverfile for the dataset from https://orkg.org/api/rdf/dump.
- Loading branch information
1 parent
e010e51
commit 7d47a3a
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Qleverfile for ORKG, use with the QLever CLI (`pip install qlever`) | ||
# | ||
# qlever get-data # Get the dataset | ||
# qlever index # Build index data structures | ||
# qlever start # Start the server | ||
|
||
[data] | ||
NAME = orkg | ||
GET_DATA_URL = https://orkg.org/api/rdf/dump | ||
GET_DATA_CMD = curl -LR -o ${NAME}.ttl ${GET_DATA_URL} 2>&1 | tee ${NAME}.download-log.txt | ||
VERSION = $$(date -r ${NAME}.ttl +%d.%m.%Y || echo "NO_DATE") | ||
DESCRIPTION = The Open Research Knowledge Graph (ORKG) (data from ${GET_DATA_URL}, version ${VERSION}) | ||
|
||
[index] | ||
INPUT_FILES = ${data:NAME}.ttl | ||
CAT_INPUT_FILES = cat ${INPUT_FILES} | ||
SETTINGS_JSON = { "ascii-prefixes-only": false, "num-triples-per-batch": 1000000, "prefixes-external": [""] } | ||
|
||
[server] | ||
PORT = 7053 | ||
ACCESS_TOKEN = ${data:NAME} | ||
MEMORY_FOR_QUERIES = 10G | ||
CACHE_MAX_SIZE = 5G | ||
|
||
[runtime] | ||
SYSTEM = docker | ||
IMAGE = docker.io/adfreiburg/qlever:latest | ||
|
||
[ui] | ||
UI_CONFIG = orkg |