Hi all,
I am happy to announce the release of Wikidata Toolkit 0.5.0 [1], the Java library for programming with Wikidata and Wikibase.
The most prominent new feature of this release is Wikibase API support, which allows you create Java programs that read and write data to Wikidata (or any other Wikibase site). The API write functionality checks the live data before making edits to merge statements for you and to detect edit conflicts. New example programs illustrate this functionality. Overall, we think this will make WDTK interesting for bot authors.
Other prominent features include:
* Unit support (just in time before it is enabled on Wikidata.org ;-) * Processing of local dump files not downloaded from Wikimedia (useful for other Wikibase users) * New builder classes to simplify construction of the rather complex data objects we have in Wikidata * WorldMapProcessor example (the code used to build the Wikidata maps) * Improved output file naming for examples, taking dump date into account * Several improvements in RDF export (but the general RDF structure is as in 0.4.0; updating this to the new structure we have for the official SPARQL endpoint is planned for the next release).
Maven users can get the library directly from Maven Central (see [1]); this is the preferred method of installation. It might still take a moment until the new packages become visible in Maven Central. There is also an all-in-one JAR at github [3] and of course the sources [4] and updated JavaDocs [5].
Feedback is very welcome. Developers are also invited to contribute via github.
Cheers,
Markus
[1] https://www.mediawiki.org/wiki/Wikidata_Toolkit [2] https://www.mediawiki.org/wiki/Wikidata_Toolkit/Client [3] https://github.com/Wikidata/Wikidata-Toolkit/releases [4] https://github.com/Wikidata/Wikidata-Toolkit/ [5] http://wikidata.github.io/Wikidata-Toolkit/