qlever 0.5.29__py3-none-any.whl → 0.5.31__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of qlever might be problematic. Click here for more details.

@@ -18,7 +18,8 @@ FORMAT = ttl
18
18
  [index]
19
19
  INPUT_FILES = *.gz
20
20
  MULTI_INPUT_JSON = { "cmd": "zcat {}", "for-each": "*.gz" }
21
- SETTINGS_JSON = { "ascii-prefixes-only": false, "num-triples-per-batch": 5000000, "prefixes-external": [""] }
21
+ SETTINGS_JSON = { "num-triples-per-batch": 5000000 }
22
+ STXXL_MEMORY = 5G
22
23
 
23
24
  [server]
24
25
  PORT = 7015
qlever/commands/index.py CHANGED
@@ -219,8 +219,8 @@ class IndexCommand(QleverCommand):
219
219
  if args.encode_as_id:
220
220
  index_cmd += f" --encode-as-id {args.encode_as_id}"
221
221
  if args.only_pso_and_pos_permutations:
222
- index_cmd += " --only-pso-and-pos-permutations --no-patterns"
223
- if not args.use_patterns:
222
+ index_cmd += " --only-pso-and-pos-permutations"
223
+ if args.use_patterns == "no":
224
224
  index_cmd += " --no-patterns"
225
225
  if args.text_index in [
226
226
  "from_text_records",
qlever/commands/start.py CHANGED
@@ -34,7 +34,7 @@ def construct_command(args) -> str:
34
34
  start_cmd += " --persist-updates"
35
35
  if args.only_pso_and_pos_permutations:
36
36
  start_cmd += " --only-pso-and-pos-permutations"
37
- if not args.use_patterns:
37
+ if args.use_patterns == "no":
38
38
  start_cmd += " --no-patterns"
39
39
  if args.use_text_index == "yes":
40
40
  start_cmd += " -t"
qlever/qleverfile.py CHANGED
@@ -61,7 +61,7 @@ class Qleverfile:
61
61
  "--text-description",
62
62
  type=str,
63
63
  default=None,
64
- help="A concise description of the additional text data" " if any",
64
+ help="A concise description of the additional text data if any",
65
65
  )
66
66
  data_args["format"] = arg(
67
67
  "--format",
@@ -167,10 +167,10 @@ class Qleverfile:
167
167
  )
168
168
  index_args["use_patterns"] = arg(
169
169
  "--use-patterns",
170
- action="store_true",
171
- default=True,
172
- help="Precompute so-called patterns needed for fast processing"
173
- " of queries like SELECT ?p (COUNT(DISTINCT ?s) AS ?c) "
170
+ choices=["yes", "no"],
171
+ default="yes",
172
+ help="Whether to precompute the so-called patterns used for fast "
173
+ "processing of queries like SELECT ?p (COUNT(DISTINCT ?s) AS ?c) "
174
174
  "WHERE { ?s ?p [] ... } GROUP BY ?p",
175
175
  )
176
176
  index_args["text_index"] = arg(
@@ -283,10 +283,10 @@ class Qleverfile:
283
283
  )
284
284
  server_args["use_patterns"] = arg(
285
285
  "--use-patterns",
286
- action="store_true",
287
- default=True,
288
- help="Use the patterns precomputed during the index build"
289
- " (see `qlever index --help` for their utility)",
286
+ choices=["yes", "no"],
287
+ default="yes",
288
+ help="Whether to use the patterns precomputed during the index "
289
+ "build (see `qlever index --help` for their utility)",
290
290
  )
291
291
  server_args["use_text_index"] = arg(
292
292
  "--use-text-index",
@@ -438,6 +438,10 @@ class Qleverfile:
438
438
  server = config["server"]
439
439
  if index.get("text_index", "none") != "none":
440
440
  server["use_text_index"] = "yes"
441
+ if index.get("only_pso_and_pos_permutations", "false") == "true":
442
+ index["use_patterns"] = "no"
443
+ if index.get("use_patterns", None) == "no":
444
+ server["use_patterns"] = "no"
441
445
 
442
446
  # Add other non-trivial default values.
443
447
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qlever
3
- Version: 0.5.29
3
+ Version: 0.5.31
4
4
  Summary: Command-line tool for using the QLever graph database
5
5
  Author-email: Hannah Bast <bast@cs.uni-freiburg.de>
6
6
  License: Apache-2.0
@@ -4,9 +4,9 @@ qlever/config.py,sha256=gNw2_-jj1TjzhzqLOuUI_Dh19q_ViCiArrtrgXL2F4E,10354
4
4
  qlever/containerize.py,sha256=G1_ei9nBnYl5-7miiy0eWjb9HMnt06X21P7iU8bm6A0,5369
5
5
  qlever/log.py,sha256=WLscWV4fFF_w_uXSOfvWzhyzRM7t_61inE2ks3zf6Gw,1317
6
6
  qlever/qlever_main.py,sha256=QlVXq7azyuAG0QhH_pER2fdZL8el2mG0I6d9r0dGgOA,2593
7
- qlever/qleverfile.py,sha256=qiXOD5xGz-pyLFtwjlDRwZdMQaji3cDP1neJpom8nvU,18357
7
+ qlever/qleverfile.py,sha256=PMH8Bta6g1106na3FkTO27YDx-NscUNfQkjmf6Me7ts,18593
8
8
  qlever/util.py,sha256=n4sJoBCrCSVaDS20z5B5tfa5GMqo3vGOdn5D1efjkmY,10940
9
- qlever/Qleverfiles/Qleverfile.dblp,sha256=oVVPFMpKX0Lfe0HDYPuL3qYhlC-3Lz18AT2tHmJ32WE,1282
9
+ qlever/Qleverfiles/Qleverfile.dblp,sha256=G-sus-3SKHxXU1ZwevjzAXmosdJfLeOSb4SYmkjHY4o,1247
10
10
  qlever/Qleverfiles/Qleverfile.dblp-plus,sha256=TJHxp8I1P6JKJjbuAllEpB32-huuY1gH0FlenqPVJ5g,1334
11
11
  qlever/Qleverfiles/Qleverfile.dbpedia,sha256=aaNZZayE-zVePGSwPzXemkX__Ns8-kP_E7DNNKZPnqg,1160
12
12
  qlever/Qleverfiles/Qleverfile.default,sha256=Kj-J1Kkv8PWN7wuMdZU6DUUlEuBIcSNysJCE-R63we8,2407
@@ -34,22 +34,22 @@ qlever/commands/cache_stats.py,sha256=0bSfR8fxcmHREUWQW7CNXhaSJ4B1EG6CH65Ufm2elE
34
34
  qlever/commands/clear_cache.py,sha256=kwNayV4qtgqh_Gf5SjS6WzmfgUsJ-9YhPoWYWGoNNn8,2967
35
35
  qlever/commands/extract_queries.py,sha256=TZBmZLz_NknU1LKbl9nPmxdb82lsPeDhTWjIo81llvA,3942
36
36
  qlever/commands/get_data.py,sha256=nHOHMjv0tSLWJDOR0ba_LK-Bk-mcGnphb8hbqcVYFhE,1411
37
- qlever/commands/index.py,sha256=oudLc5f6wsWGPkfhsFXIkSH14Oh37bGqK76D5lXJmBk,13338
37
+ qlever/commands/index.py,sha256=f1mZ9QNJwmjPa0KGAPghrj4L5XnY1TAcgoZ2wWj-n3Y,13328
38
38
  qlever/commands/index_stats.py,sha256=9EBo1Oq5PGjajrvWJNafJ-Wg_d90DaO5AGq9a5plSRM,11720
39
39
  qlever/commands/log.py,sha256=vLqkgtx1udnQqoUBMWB5G9rwr-l7UKrDpyFYSMuoXWw,1987
40
40
  qlever/commands/query.py,sha256=rRiR4TFRZixLfBmITAvKVtWHn6mhOiboGG8a_Jcwc8k,4653
41
41
  qlever/commands/settings.py,sha256=thD3_-PV57cuM0aXDNhFiLKIcdfchTo2gF4Jmk12Hww,4208
42
42
  qlever/commands/setup_config.py,sha256=wEy1LAunpOnqrUCbazMpt1u9HJCKgXJEMxF3zjh0jb0,3344
43
- qlever/commands/start.py,sha256=g_5-BUiSYJjL10ae91jMA5SgI0zk4O4gPMN_BOuERmc,10854
43
+ qlever/commands/start.py,sha256=BHXkrL2vUkTBieNzcJAUvAH6z5hpd2MbtDhu_hhLWa8,10858
44
44
  qlever/commands/status.py,sha256=TtnBqcdkF3zTDKft07zpVcIX7kFu7d_nOy9b6Ohh9vQ,1650
45
45
  qlever/commands/stop.py,sha256=5BNKArOzoJ8kYiTVAmtN81w7nQ42fkxISgsxL-qJpO0,3463
46
46
  qlever/commands/system_info.py,sha256=I84EKgMO5J8pvsTDhkVKHzsRLtPajNg9KTQN5kWjqLU,4660
47
47
  qlever/commands/ui.py,sha256=Kjv5FKN0pjMCpJS6otbrczs364x24FAnsJjtnc98mJQ,9811
48
48
  qlever/commands/update_wikidata.py,sha256=MQWNTe7KtadlTAsxCsntKYWZLSoX6H8l6WI4s6UfFqY,24484
49
49
  qlever/commands/warmup.py,sha256=kJHzS7HJo8pD2CphJuaXDj_CYP02YDo2DVM-pun3A80,1029
50
- qlever-0.5.29.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
51
- qlever-0.5.29.dist-info/METADATA,sha256=Wv95p0tI8Nn6WUylsLGKWn3zXMKiLihB481G2WnT8yw,5151
52
- qlever-0.5.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
- qlever-0.5.29.dist-info/entry_points.txt,sha256=U_1U6SFIEZ-AnNlvk2nzcL0e4jnjEpuSbxYZ_E0XpEg,51
54
- qlever-0.5.29.dist-info/top_level.txt,sha256=kd3zsYqiFd0--Czh5XTVkfEq6XR-XgRFW35X0v0GT-c,7
55
- qlever-0.5.29.dist-info/RECORD,,
50
+ qlever-0.5.31.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
51
+ qlever-0.5.31.dist-info/METADATA,sha256=LQxxOUmh0vTIFbvKWHUi7HrgMvopwIpHHWFcC-iBiB8,5151
52
+ qlever-0.5.31.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
+ qlever-0.5.31.dist-info/entry_points.txt,sha256=U_1U6SFIEZ-AnNlvk2nzcL0e4jnjEpuSbxYZ_E0XpEg,51
54
+ qlever-0.5.31.dist-info/top_level.txt,sha256=kd3zsYqiFd0--Czh5XTVkfEq6XR-XgRFW35X0v0GT-c,7
55
+ qlever-0.5.31.dist-info/RECORD,,