Difference between revisions of "Wikidata Import 2023-05-15"

From BITPlan Wiki
Jump to navigation Jump to search
Line 26: Line 26:
 
</source>
 
</source>
 
== setup wikidata ==
 
== setup wikidata ==
<source lang='bash'>
+
<source lang='bash' highlight='1-3'>
 
mkdir wikidata
 
mkdir wikidata
 
cd wikidata/
 
cd wikidata/
 
. ../qlever-control/qlever wikidata
 
. ../qlever-control/qlever wikidata
 +
 +
QLEVER CONFIG
 +
 +
Checking your PATH ...
 +
Added the directory "/hd/mantax/qlever/qlever-control" to your PATH
 +
 +
Setting up bash autocompletion ...
 +
Done, number of completions: 35
 +
 +
Creating new Qleverfile ...
 +
Copied pre-configured Qleverfile for "wikidata" into current directory.
 +
 +
Setup is complete
 +
Type qlever and use autocompletion to see which actions are available. Add a
 +
"show" in the end to see what an action does without executing it (for example,
 +
qlever index show). Edit your local Qleverfile to change settings. A typical
 +
sequence of actions if you have used a preconfigured Qleverfile is:
 +
 +
qlever get-data
 +
qlever index
 +
qlever start
 +
qlever example-query
 +
</source>
 +
<source lang='bash' highlight='1'>
 +
nohup qlever get-data&
 
</source>
 
</source>

Revision as of 10:50, 15 May 2023

Import

Import
edit
state  
url  https://wiki.bitplan.com/index.php/Wikidata_Import_2023-05-15
target  QLever
start  2023-05-15
end  
days  
os  Ubuntu 22.04.2 LTS
cpu  Intel(R) Xeon(R) Gold 6326 CPU @ 2.90GHz
ram  256
triples  
comment  

see Wikidata_Import_2023-01-24

QLever control

https://github.com/ad-freiburg/qlever-control

mkdir qlever
cd qlever
git clone https://github.com/ad-freiburg/qlever-control
Cloning into 'qlever-control'...
remote: Enumerating objects: 426, done.
remote: Counting objects: 100% (266/266), done.
remote: Compressing objects: 100% (170/170), done.
remote: Total 426 (delta 108), reused 231 (delta 95), pack-reused 160
Receiving objects: 100% (426/426), 131.00 KiB | 585.00 KiB/s, done.
Resolving deltas: 100% (163/163), done.

setup wikidata

mkdir wikidata
cd wikidata/
. ../qlever-control/qlever wikidata

QLEVER CONFIG

Checking your PATH ...
Added the directory "/hd/mantax/qlever/qlever-control" to your PATH

Setting up bash autocompletion ...
Done, number of completions: 35

Creating new Qleverfile ...
Copied pre-configured Qleverfile for "wikidata" into current directory.

Setup is complete
Type qlever and use autocompletion to see which actions are available. Add a
"show" in the end to see what an action does without executing it (for example,
qlever index show). Edit your local Qleverfile to change settings. A typical
sequence of actions if you have used a preconfigured Qleverfile is:

qlever get-data
qlever index
qlever start
qlever example-query
nohup qlever get-data&