Skip to content

Wikidata Toolkit 0.6.0

Compare
Choose a tag to compare
@mkroetzsch mkroetzsch released this 10 Feb 08:19
· 922 commits to master since this release

The sixth release of the Wikidata Toolkit introduces support for two new Wikidata property types (external ids and math), adds several functions for creating bots, introduces additional helper methods to simplify your code, and fixes a prior incompatibility with the Web API. Main changes to the library are:

New features:

  • Support for new Wikidata property type "external identifier"
  • Support for new Wikidata property type "math"
  • Bots: support maxlag parameter and edit-rate throttling
  • Bots: better Wikidata API error handling
  • Bots: several real-world bot examples
  • New convenience methods for accessing Wikidata Java objects, for simpler code
  • full compatibility with Java 8

Bug fixes:

  • Fix NullPointerException when trying to establish API connection (issue #217)
  • Avoid test failures on some platforms (based on too strict assumptions)

Artifacts are also released on Maven Central and it is strongly recommend to use them. To do this, insert the following dependency into your pom.xml:

<dependency>
    <groupId>org.wikidata.wdtk</groupId>
    <artifactId>wdtk-dumpfiles</artifactId>
    <version>0.6.0</version>
</dependency>

Similar configurations can be used for other modules (e.g., wdtk-rdf or wdtk-datamodel), but most dependencies will be resolved for you by Maven. An example Java project using this library are the Wikidata Toolkit Examples. Further instructions are given in the Wikidata Toolkit user documentation.

Alternatively, you can also use the JAR packages attached to this release.