qlever 0.5.23__py3-none-any.whl → 0.5.24__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.
- qlever/Qleverfiles/Qleverfile.ohm-planet +1 -1
- qlever/commands/benchmark_queries.py +1022 -0
- qlever/commands/cache_stats.py +2 -0
- qlever/commands/index.py +3 -0
- qlever/commands/query.py +1 -0
- qlever/commands/settings.py +7 -0
- qlever/commands/ui.py +11 -7
- qlever/commands/update_wikidata.py +551 -0
- qlever/qlever_main.py +1 -2
- qlever/qleverfile.py +14 -0
- qlever/util.py +1 -1
- {qlever-0.5.23.dist-info → qlever-0.5.24.dist-info}/METADATA +4 -2
- {qlever-0.5.23.dist-info → qlever-0.5.24.dist-info}/RECORD +17 -16
- {qlever-0.5.23.dist-info → qlever-0.5.24.dist-info}/WHEEL +1 -1
- qlever/commands/example_queries.py +0 -605
- {qlever-0.5.23.dist-info → qlever-0.5.24.dist-info}/entry_points.txt +0 -0
- {qlever-0.5.23.dist-info → qlever-0.5.24.dist-info}/licenses/LICENSE +0 -0
- {qlever-0.5.23.dist-info → qlever-0.5.24.dist-info}/top_level.txt +0 -0
qlever/qleverfile.py
CHANGED
|
@@ -116,6 +116,20 @@ class Qleverfile:
|
|
|
116
116
|
"files (default: 1048576 when the total size of the input files "
|
|
117
117
|
"is larger than 10 GB)",
|
|
118
118
|
)
|
|
119
|
+
index_args["vocabulary_type"] = arg(
|
|
120
|
+
"--vocabulary-type",
|
|
121
|
+
type=str,
|
|
122
|
+
choices=[
|
|
123
|
+
"on-disk-compressed",
|
|
124
|
+
"on-disk-uncompressed",
|
|
125
|
+
"in-memory-compressed",
|
|
126
|
+
"in-memory-uncompressed",
|
|
127
|
+
"on-disk-compressed-geo-split",
|
|
128
|
+
],
|
|
129
|
+
default="on-disk-compressed",
|
|
130
|
+
help="The type of the vocabulary to use for the index "
|
|
131
|
+
" (default: `on-disk-compressed`)",
|
|
132
|
+
)
|
|
119
133
|
index_args["index_binary"] = arg(
|
|
120
134
|
"--index-binary",
|
|
121
135
|
type=str,
|
qlever/util.py
CHANGED
|
@@ -99,7 +99,7 @@ def run_curl_command(
|
|
|
99
99
|
default_result_file = "/tmp/qlever.curl.result"
|
|
100
100
|
actual_result_file = result_file if result_file else default_result_file
|
|
101
101
|
curl_cmd = (
|
|
102
|
-
f'curl -
|
|
102
|
+
f'curl -Ls -o "{actual_result_file}"'
|
|
103
103
|
f' -w "%{{http_code}}\n" {url}'
|
|
104
104
|
+ "".join([f' -H "{key}: {value}"' for key, value in headers.items()])
|
|
105
105
|
+ "".join(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qlever
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.24
|
|
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
|
|
@@ -15,6 +15,8 @@ Requires-Dist: psutil
|
|
|
15
15
|
Requires-Dist: termcolor
|
|
16
16
|
Requires-Dist: argcomplete
|
|
17
17
|
Requires-Dist: pyyaml
|
|
18
|
+
Requires-Dist: rdflib
|
|
19
|
+
Requires-Dist: requests-sse
|
|
18
20
|
Dynamic: license-file
|
|
19
21
|
|
|
20
22
|
# QLever
|
|
@@ -56,7 +58,7 @@ qlever setup-config olympics # Get Qleverfile (config file) for this dataset
|
|
|
56
58
|
qlever get-data # Download the dataset
|
|
57
59
|
qlever index # Build index data structures for this dataset
|
|
58
60
|
qlever start # Start a QLever server using that index
|
|
59
|
-
qlever
|
|
61
|
+
qlever query # Launch an example query
|
|
60
62
|
qlever ui # Launch the QLever UI
|
|
61
63
|
```
|
|
62
64
|
|
|
@@ -3,9 +3,9 @@ qlever/command.py,sha256=nI-UG1GWrZ24DxD0Ly8dvupCpsD9e3n9-eskkCMTx6c,2767
|
|
|
3
3
|
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
|
-
qlever/qlever_main.py,sha256=
|
|
7
|
-
qlever/qleverfile.py,sha256=
|
|
8
|
-
qlever/util.py,sha256=
|
|
6
|
+
qlever/qlever_main.py,sha256=QlVXq7azyuAG0QhH_pER2fdZL8el2mG0I6d9r0dGgOA,2593
|
|
7
|
+
qlever/qleverfile.py,sha256=0sMNuqz0NbuiYGaykfYAAZm06T5dY5iFOrq6yOLsirI,17962
|
|
8
|
+
qlever/util.py,sha256=n4sJoBCrCSVaDS20z5B5tfa5GMqo3vGOdn5D1efjkmY,10940
|
|
9
9
|
qlever/Qleverfiles/Qleverfile.dblp,sha256=oVVPFMpKX0Lfe0HDYPuL3qYhlC-3Lz18AT2tHmJ32WE,1282
|
|
10
10
|
qlever/Qleverfiles/Qleverfile.dblp-plus,sha256=TJHxp8I1P6JKJjbuAllEpB32-huuY1gH0FlenqPVJ5g,1334
|
|
11
11
|
qlever/Qleverfiles/Qleverfile.dbpedia,sha256=aaNZZayE-zVePGSwPzXemkX__Ns8-kP_E7DNNKZPnqg,1160
|
|
@@ -14,7 +14,7 @@ qlever/Qleverfiles/Qleverfile.dnb,sha256=43w_CVi00yf7FHdDvBtHHQR3yU1d-JCNnD_uxYZ
|
|
|
14
14
|
qlever/Qleverfiles/Qleverfile.fbeasy,sha256=9dwCMltT0BIMN4LRmaZFp1a7aV0kh0nJ9XLiQb_NJNo,940
|
|
15
15
|
qlever/Qleverfiles/Qleverfile.freebase,sha256=eFMOxeyuWVbb06Gv2-VFkuKE5tTyckddTDHdw5wbZN8,1028
|
|
16
16
|
qlever/Qleverfiles/Qleverfile.imdb,sha256=1xUBFimgnEHKP_o6tlqwJvIVpEE4Zx6UK_JnnQsG7Ew,1638
|
|
17
|
-
qlever/Qleverfiles/Qleverfile.ohm-planet,sha256=
|
|
17
|
+
qlever/Qleverfiles/Qleverfile.ohm-planet,sha256=pYfi1ygKrO0d4f3o1EgOuAgPV3Pb52T5g-M-YjUsHYo,2225
|
|
18
18
|
qlever/Qleverfiles/Qleverfile.olympics,sha256=5w9BOFwEBhdSzPz-0LRxwhv-7Gj6xbF539HOXr3cqD0,1088
|
|
19
19
|
qlever/Qleverfiles/Qleverfile.orkg,sha256=Uizz-RhlSeExgfckWztewa4l_v3zMN8IR7NaGYKrqt4,937
|
|
20
20
|
qlever/Qleverfiles/Qleverfile.osm-country,sha256=Pb9o5H3b7wVlVRgdiPHWCvrnkIRS1YUhxOazbUmoKZE,1897
|
|
@@ -28,26 +28,27 @@ qlever/Qleverfiles/Qleverfile.wikipathways,sha256=UFEVLrtOBiSQfibBN9xc2wDXrnWcnx
|
|
|
28
28
|
qlever/Qleverfiles/Qleverfile.yago-4,sha256=hAS_2ZmC1zxNsKXip7t1F_iqu3CC-6O7v6HZhuFbnWY,1819
|
|
29
29
|
qlever/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
qlever/commands/add_text_index.py,sha256=xJ49Iq1-CszXjHDvOpllqLw1J1kCxQl7H848XD1vEz0,3820
|
|
31
|
-
qlever/commands/
|
|
31
|
+
qlever/commands/benchmark_queries.py,sha256=2KZ8lwPz-i4cQqjDDjeru3IqQHFyZ-Kk_M2jgqUXZbs,39257
|
|
32
|
+
qlever/commands/cache_stats.py,sha256=FzNOZ9VLNaaDxb7j2DpQ_A7rvckUAQdS393-y8lRMSQ,4280
|
|
32
33
|
qlever/commands/clear_cache.py,sha256=kwNayV4qtgqh_Gf5SjS6WzmfgUsJ-9YhPoWYWGoNNn8,2967
|
|
33
|
-
qlever/commands/example_queries.py,sha256=4oKCBYYO_uhBNGrSyAd69UA1--bPPcjp88aULaNaT-o,24051
|
|
34
34
|
qlever/commands/extract_queries.py,sha256=TZBmZLz_NknU1LKbl9nPmxdb82lsPeDhTWjIo81llvA,3942
|
|
35
35
|
qlever/commands/get_data.py,sha256=nHOHMjv0tSLWJDOR0ba_LK-Bk-mcGnphb8hbqcVYFhE,1411
|
|
36
|
-
qlever/commands/index.py,sha256=
|
|
36
|
+
qlever/commands/index.py,sha256=sT78x_4W3Fs8Pd9nRME3ld308kpXFVOw9C-3oItIgW8,13212
|
|
37
37
|
qlever/commands/index_stats.py,sha256=9EBo1Oq5PGjajrvWJNafJ-Wg_d90DaO5AGq9a5plSRM,11720
|
|
38
38
|
qlever/commands/log.py,sha256=vLqkgtx1udnQqoUBMWB5G9rwr-l7UKrDpyFYSMuoXWw,1987
|
|
39
|
-
qlever/commands/query.py,sha256=
|
|
40
|
-
qlever/commands/settings.py,sha256=
|
|
39
|
+
qlever/commands/query.py,sha256=AToaw_ydtUqdApQ7RJ-OHaDDRa7aS4DrnfcbS3_tS7U,4652
|
|
40
|
+
qlever/commands/settings.py,sha256=eoxVj-Lr9SXtDCUPAPiPh-cbsC3GKGDkDTx1QntEbnA,4121
|
|
41
41
|
qlever/commands/setup_config.py,sha256=wEy1LAunpOnqrUCbazMpt1u9HJCKgXJEMxF3zjh0jb0,3344
|
|
42
42
|
qlever/commands/start.py,sha256=g_5-BUiSYJjL10ae91jMA5SgI0zk4O4gPMN_BOuERmc,10854
|
|
43
43
|
qlever/commands/status.py,sha256=TtnBqcdkF3zTDKft07zpVcIX7kFu7d_nOy9b6Ohh9vQ,1650
|
|
44
44
|
qlever/commands/stop.py,sha256=5BNKArOzoJ8kYiTVAmtN81w7nQ42fkxISgsxL-qJpO0,3463
|
|
45
45
|
qlever/commands/system_info.py,sha256=I84EKgMO5J8pvsTDhkVKHzsRLtPajNg9KTQN5kWjqLU,4660
|
|
46
|
-
qlever/commands/ui.py,sha256=
|
|
46
|
+
qlever/commands/ui.py,sha256=Kjv5FKN0pjMCpJS6otbrczs364x24FAnsJjtnc98mJQ,9811
|
|
47
|
+
qlever/commands/update_wikidata.py,sha256=PeGCIlQAEzEv4a4C8msN9xQib4McbFAUhFfQjAhgHWA,23187
|
|
47
48
|
qlever/commands/warmup.py,sha256=kJHzS7HJo8pD2CphJuaXDj_CYP02YDo2DVM-pun3A80,1029
|
|
48
|
-
qlever-0.5.
|
|
49
|
-
qlever-0.5.
|
|
50
|
-
qlever-0.5.
|
|
51
|
-
qlever-0.5.
|
|
52
|
-
qlever-0.5.
|
|
53
|
-
qlever-0.5.
|
|
49
|
+
qlever-0.5.24.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
50
|
+
qlever-0.5.24.dist-info/METADATA,sha256=23PstaSu9g0BpmTNKkFmqIr0L1rQo-LxdmIg9rzLtfA,4698
|
|
51
|
+
qlever-0.5.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
52
|
+
qlever-0.5.24.dist-info/entry_points.txt,sha256=U_1U6SFIEZ-AnNlvk2nzcL0e4jnjEpuSbxYZ_E0XpEg,51
|
|
53
|
+
qlever-0.5.24.dist-info/top_level.txt,sha256=kd3zsYqiFd0--Czh5XTVkfEq6XR-XgRFW35X0v0GT-c,7
|
|
54
|
+
qlever-0.5.24.dist-info/RECORD,,
|