diff --git a/hosts/oxigraph/default.nix b/hosts/oxigraph/default.nix index 63f8600c..26119360 100644 --- a/hosts/oxigraph/default.nix +++ b/hosts/oxigraph/default.nix @@ -29,4 +29,6 @@ ExecStart = "${pkgs.oxigraph}/bin/oxigraph_server serve -l ${config.users.users.oxigraph.home}/data"; }; }; + + # curl https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.nt.bz2 |bzip2 -cd - | parallel -j`nproc` --pipe -L 100000 --joblog /tmp/split_log.txt --resume-failed 'F=$(mktemp /tmp/wikidata-XXXXXX); cat > $F && time curl -X POST -H 'Content-Type:application/n-triples' -T $F "http://localhost:7878/store?graph=https://wikidata.org/"; rm $F' }