Skip to content

Commit

Permalink
Fix Qleverfile for DNB
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Aug 7, 2024
1 parent 4f19ff3 commit 78d4d3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qlever/Qleverfiles/Qleverfile.dnb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
[data]
NAME = dnb
BASE_URL = https://data.dnb.de/opendata
GET_DATA_CMD = curl -L -C - --remote-name-all ${BASE_URL}/authorities-gnd_lds.nt.gz ${BASE_URL}/dnb-all_lds.nt.gz ${BASE_URL}/dnb-all_ldsprov.nt.gz ${BASE_URL}/zdb_lds.nt.gz 2>&1 | tee ${data:NAME}.getdata-log.txt
GET_DATA_CMD = curl -L -C - --remote-name-all --remote-time ${BASE_URL}/authorities-gnd_lds.nt.gz ${BASE_URL}/dnb-all_lds.nt.gz ${BASE_URL}/dnb-all_ldsprov.nt.gz ${BASE_URL}/zdb_lds.nt.gz 2>&1 | tee ${data:NAME}.getdata-log.txt
VERSION = $$(date -r dnb-all_lds.nt.gz +%d.%m.%Y || echo "NO_DATE")
DESCRIPTION = DNB data from ${BASE_URL} (authoritities-gnd_lds, dnb_all_lds, dnb-all_ldsprov, zdb_lds), version ${VERSION}

[index]
INPUT_FILES = *.nt.gz
CAT_INPUT_FILES = zcat ${INPUT_FILES}
SETTINGS_JSON = { "ascii-prefixes-only": true, "num-triples-per-batch": 1000000 }
CAT_INPUT_FILES = zcat ${INPUT_FILES} | sed '/"\$$R0"/d;/"0\.03013\$$D"/d'
SETTINGS_JSON = { "ascii-prefixes-only": false, "num-triples-per-batch": 1000000 }

[server]
PORT = 7035
Expand Down

0 comments on commit 78d4d3a

Please sign in to comment.