Difference between revisions of "Workdocumentation 2022-08-23"

From BITPlan ceur-ws Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
wf@wikidata:/hd/mantax/qlever$ mkdir dblp
 
wf@wikidata:/hd/mantax/qlever$ mkdir dblp
 
wf@wikidata:/hd/mantax/qlever$ cd dblp
 
wf@wikidata:/hd/mantax/qlever$ cd dblp
wf@wikidata:/hd/mantax/qlever/dblp$ . ../qlever-control/qlever  
+
wf@wikidata:/hd/mantax/qlever/dblp$ . ../qlever-control/qlever dblp
  
 
QLEVER CONFIG
 
QLEVER CONFIG
Line 43: Line 43:
 
qlever start
 
qlever start
 
qlever example-query
 
qlever example-query
 +
</source>
 +
<source lang='bash'>
 +
qlever get-data
 +
 +
This is the "qlever" script, call without argument for help
 +
 +
Executing "get-data":
 +
 +
wget -nc -O dblp.ttl.gz https://dblp.org/rdf/dblp.ttl.gz
 +
 +
Getting data using GET_DATA_CMD from Qleverfile ...
 +
 +
--2022-08-24 08:42:22--  https://dblp.org/rdf/dblp.ttl.gz
 +
Resolving dblp.org (dblp.org)... 192.76.146.204
 +
Connecting to dblp.org (dblp.org)|192.76.146.204|:443... connected.
 +
HTTP request sent, awaiting response... 200 OK
 +
Length: 1068155173 (1019M) [application/x-gzip]
 +
Saving to: ‘dblp.ttl.gz’
 +
 +
dblp.ttl.gz        100%[===================>]  1019M  39.2MB/s    in 30s   
 +
 +
2022-08-24 08:42:52 (33.8 MB/s) - ‘dblp.ttl.gz’ saved [1068155173/1068155173]
 
</source>
 
</source>

Revision as of 07:43, 24 August 2022

Participants

Agenda

new server

New Server

qlever dblp

wf@wikidata:/hd/mantax/qlever$ git clone https://github.com/ad-freiburg/qlever-control
Cloning into 'qlever-control'...
remote: Enumerating objects: 399, done.
remote: Counting objects: 100% (239/239), done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 399 (delta 94), reused 211 (delta 88), pack-reused 160
Receiving objects: 100% (399/399), 125.08 KiB | 7.36 MiB/s, done.
Resolving deltas: 100% (149/149), done.
wf@wikidata:/hd/mantax/qlever$ mkdir dblp
wf@wikidata:/hd/mantax/qlever$ cd dblp
wf@wikidata:/hd/mantax/qlever/dblp$ . ../qlever-control/qlever dblp

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 ...
No pre-configuration name specified (as argument of ". qlever"). Copied default
Qleverfile to current directory, please edit and check.

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
qlever get-data

This is the "qlever" script, call without argument for help

Executing "get-data":

wget -nc -O dblp.ttl.gz https://dblp.org/rdf/dblp.ttl.gz

Getting data using GET_DATA_CMD from Qleverfile ...

--2022-08-24 08:42:22--  https://dblp.org/rdf/dblp.ttl.gz
Resolving dblp.org (dblp.org)... 192.76.146.204
Connecting to dblp.org (dblp.org)|192.76.146.204|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1068155173 (1019M) [application/x-gzip]
Saving to: ‘dblp.ttl.gz’

dblp.ttl.gz         100%[===================>]   1019M  39.2MB/s    in 30s     

2022-08-24 08:42:52 (33.8 MB/s) - ‘dblp.ttl.gz’ saved [1068155173/1068155173]