Skip to content
Snippets Groups Projects
Commit d667cc41 authored by Sebastian Hellmann's avatar Sebastian Hellmann
Browse files

documented

parent 1cfa09c2
No related branches found
No related tags found
No related merge requests found
...@@ -16,13 +16,13 @@ This contribution by TIB is a great push towards incentivizing Open Data and est ...@@ -16,13 +16,13 @@ This contribution by TIB is a great push towards incentivizing Open Data and est
## Downloading the wikimedia dumps ## Downloading the wikimedia dumps
TODO TODO
## Running the extraction ## Update and Run the extraction
TODO TODO
## Deploy on Databus ## Deploy MARVIN on Databus
TODO TODO
## Run Databus-Derive (clone and parse) ## [Manual] Run Databus-Derive (clone and parse)
On the respective server there is a user marvin-fetch, that has access to `/data/derive` containing the pom.xml of https://github.com/dbpedia/databus-maven-plugin/tree/master/dbpedia On the respective server there is a user marvin-fetch, that has access to `/data/derive` containing the pom.xml of https://github.com/dbpedia/databus-maven-plugin/tree/master/dbpedia
``` ```
...@@ -37,15 +37,12 @@ SELECT distinct (?derive) WHERE { ...@@ -37,15 +37,12 @@ SELECT distinct (?derive) WHERE {
BIND (CONCAT("<version>",?artifact,"/${databus.deriveversion}</version>") as ?derive) BIND (CONCAT("<version>",?artifact,"/${databus.deriveversion}</version>") as ?derive)
} }
order by asc(?derive) order by asc(?derive)
```
``` ```
#######
# This is still manual, will be a cronjob soon
#######
su marvin-fetch su marvin-fetch
tmux a -t derive tmux a -t derive
WHAT=mappings WHAT=mappings
NEWVERSION=2019.08.30 NEWVERSION=2019.08.30
# prepare # prepare
...@@ -53,12 +50,24 @@ cd /data/derive/databus-maven-plugin/dbpedia/$WHAT ...@@ -53,12 +50,24 @@ cd /data/derive/databus-maven-plugin/dbpedia/$WHAT
git pull git pull
mvn versions:set -DnewVersion=$NEWVERSION mvn versions:set -DnewVersion=$NEWVERSION
# run # run
mvn -T 23 databus-derive:clone -Ddatabus.deriveversion=$NEWVERSION mvn databus-derive:clone -Ddatabus.deriveversion=$NEWVERSION
``` ```
## Move data to download server (internal) ## [Manual] pull data to downloads.dbpedia.org server
run marvin-fetch.sh script in databus/dbpedia folder run marvin-fetch.sh script in databus/dbpedia folder
```
cd /media/bigone/25TB/releases/databus-maven-plugin/dbpedia
./marvin-fetch.sh wikidata 2019.08.01
```
## Deploy official files ## Deploy official files
```
cd /media/bigone/25TB/releases/databus-maven-plugin/dbpedia/mappings
mvn clean
mvn validate
mvn -T 8 deploy
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment