Closed GeorgeSigoiu closed 4 months ago
Putting this here for anyone who might also run into this issue (as I have).
If I understood correctly, automatically only the last incremental dump is downloaded, and when it is parsed by the tool it fails as it is lacking some reference. So the full dump needs to be downloaded either manually or by setting value in the ExampleHelper.java.
Also, this repository is outdated (hasn't been updated in 5 years). But the examples are still in the upstream repository (https://github.com/Wikidata/Wikidata-Toolkit) and maintained there so the main repository should probably be what is used.
I have updated the examples to use the latest released version of WDTK, which should solve this issue. @TheEaterr can you confirm?
Yes there is no error now (though the script does "nothing" as it only downloads a recent diff but there's not much that can reasonably be done about that other than maybe adding a logging message).
Thank you !
Hello,
I cloned this project and run 'EntityStatisticsProcessor' class and this is the error that occurs
Project is using wikidata toolkit version 0.11.0.
I tried newer versions (https://mvnrepository.com/artifact/org.wikidata.wdtk/wdtk-datamodel) and got another error
i guess the data is downloaded from: https://dumps.wikimedia.org/other/wikidata/ (this link appeared in console)
What could i do in order to make this work?