qlever 0.5.29__tar.gz → 0.5.31__tar.gz
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.
- {qlever-0.5.29/src/qlever.egg-info → qlever-0.5.31}/PKG-INFO +1 -1
- {qlever-0.5.29 → qlever-0.5.31}/pyproject.toml +1 -1
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.dblp +2 -1
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/index.py +2 -2
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/start.py +1 -1
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/qleverfile.py +13 -9
- {qlever-0.5.29 → qlever-0.5.31/src/qlever.egg-info}/PKG-INFO +1 -1
- qlever-0.5.31/src/qlever.egg-info/top_level.txt +1 -0
- qlever-0.5.29/src/qlever.egg-info/top_level.txt +0 -6
- {qlever-0.5.29 → qlever-0.5.31}/LICENSE +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/README.md +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/setup.cfg +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.dblp-plus +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.dbpedia +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.default +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.dnb +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.fbeasy +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.freebase +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.imdb +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.ohm-planet +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.olympics +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.orkg +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.osm-country +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.osm-planet +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.osm-planet-from-pbf +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.pubchem +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.scientists +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.uniprot +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.vvz +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.wikidata +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.wikipathways +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/Qleverfiles/Qleverfile.yago-4 +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/__init__.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/command.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/__init__.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/add_text_index.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/benchmark_queries.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/cache_stats.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/clear_cache.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/extract_queries.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/get_data.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/index_stats.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/log.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/query.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/settings.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/setup_config.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/status.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/stop.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/system_info.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/ui.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/update_wikidata.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/commands/warmup.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/config.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/containerize.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/log.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/qlever_main.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever/util.py +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever.egg-info/SOURCES.txt +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever.egg-info/dependency_links.txt +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever.egg-info/entry_points.txt +0 -0
- {qlever-0.5.29 → qlever-0.5.31}/src/qlever.egg-info/requires.txt +0 -0
|
@@ -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 = { "
|
|
21
|
+
SETTINGS_JSON = { "num-triples-per-batch": 5000000 }
|
|
22
|
+
STXXL_MEMORY = 5G
|
|
22
23
|
|
|
23
24
|
[server]
|
|
24
25
|
PORT = 7015
|
|
@@ -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
|
|
223
|
-
if
|
|
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",
|
|
@@ -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
|
|
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"
|
|
@@ -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
|
|
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
|
-
|
|
171
|
-
default=
|
|
172
|
-
help="
|
|
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
|
-
|
|
287
|
-
default=
|
|
288
|
-
help="
|
|
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:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
qlever
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|