Daap config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
915 B

HOW TO MANUALLY PUT DATA FROM WIKIBASE INTO WQDS
# dump the data:
docker exec wikibase-docker_wikibase_1 php ./extensions/Wikibase/repo/maintenance/dumpRdf.php --server http://daap.bannerrepeater.org --output /tmp/rdfOutput
# copy from container to container
docker cp wikibase-docker_wikibase_1:/tmp/rdfOutput /root/rdf_dump_[date]
docker cp /root/rdf_dump_15052020 wikibase-docker_wdqs_1:/tmp/rdf_dump_[date]
# jump into the container
docker exec -it wikibase-docker_wdqs_1 bash
# import with munge using directly the java executable
java -cp lib/wikidata-query-tools-*-jar-with-dependencies.jar org.wikidata.query.rdf.tool.Munge --from /tmp/rdf_dump_[date] --to /tmp/mungeOut/wikidump-%09d.ttl.gz --skipSiteLinks --chunkSize 100000 -w daap.bannerrepeater.org
# load the data into the wdqs
docker exec wikibase-docker_wdqs_1 ./loadData.sh -n wdq -d /tmp/mungeOut