On 21.04.2015 17:31, Alan Said wrote:
Hi Markus et al. Thank you for the answer. I have a few follow-up questions as I'm not quite grasping the toolkit.
Alternative 1: So, if I'd like to do 1) I need a dump file, I've downloaded a *-current dump (http://dumps.wikimedia.org/wikidatawiki/20150330/wikidatawiki-20150330-pages...) and am trying to process it using the DumpProcessingController class - which I'm assuming is the wrong way to go about this. Is there a guide on how to parse local dumps?
Right now, the main way of using WDTK is to have it download the dumps automatically. They will then be put into the place where the program is looking for them. As you know, using arbitrary local files in other places will hopefully be supported soon:
https://github.com/Wikidata/Wikidata-Toolkit/issues/136
Alternative 2: I've been looking at the FetchOnlineDataExample and this seems to do pretty much what I need, except for retrieving interlanguage links for a page given the entity title - not the id. Is this possible, or is there a possibility of getting the entity id given a page title in a given language?
This is another small extension that is currently up for grabs:
https://github.com/Wikidata/Wikidata-Toolkit/issues/138
Cheers,
Markus