-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQleverfile
51 lines (46 loc) · 2.39 KB
/
Qleverfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Default Qleverfile, use with https://github.com/ad-freiburg/qlever-control
#
# If you have never seen a Qleverfile before, we recommend that you first look
# at the example Qleverfiles on http://qlever.cs.uni-freiburg.de/qlever-control/
# src/qlever/Qleverfiles . Or execute `qlever setup-config <dataset>` on the
# command line to obtain the example Qleverfiles for <dataset>.
# As a minimum, each dataset needs a name. If you want `qlever get-data` to do
# something meaningful, you need to define GET_DATA_CMD. Otherwise, you need to
# generate (or download or copy from somewhere) the input files yourself. Each
# dataset should have a short DESCRIPTION, ideally with a date.
[data]
NAME = massbank
GET_DATA_CMD =
DESCRIPTION = Massbank dataset
# The format for INPUT_FILES should be such that `ls ${INPUT_FILES}` lists all
# input files. CAT_INPUT_FILES should write a concatenation of all input files
# to stdout. For example, if your input files are gzipped, you can write `zcat
# ${INPUT_FILES}`. Regarding SETTINGS_JSON, look at the other Qleverfiles for
# examples. Several batches of size `num-triples-per-batch` are kept in RAM at
# the same time; increasing this, increases the memory usage but speeds up the
# loading process.
[index]
INPUT_FILES = *.ttl
CAT_INPUT_FILES = cat ${INPUT_FILES}
SETTINGS_JSON = { "num-triples-per-batch": 1000000 }
# The server listens on PORT. If you want to send privileged commands to the
# server, you need to specify an ACCESS_TOKEN, which you then have to set via a
# URL parameter `access_token`. It should not be easily guessable, unless you
# don't mind others to get privileged access to your server.
[server]
PORT = 7047
ACCESS_TOKEN = massbank_w9Z9e59mw4w3
# Use SYSTEM = docker to run QLever inside a docker container; the Docker image
# will be downloaded automatically. Use SYSTEM = native to use self-compiled
# binaries `IndexBuilderMain` and `ServerMain` (which should be in you PATH).
[runtime]
SYSTEM = docker
IMAGE = docker.io/adfreiburg/qlever:latest
# UI_PORT specifies the port of the QLever UI web app, when you run `qlever ui`.
# The UI_CONFIG must be one of the slugs from http://qlever.cs.uni-freiburg.de
# (see the dropdown menu on the top right, the slug is the last part of the URL).
# It determines the example queries and which SPARQL queries are launched to
# obtain suggestions as you type a query.
[ui]
UI_PORT = 8186
UI_CONFIG = default