Index: applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java
===================================================================
--- applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java	(revision 32613)
+++ applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java	(revision 32614)
@@ -103,5 +103,8 @@
                 }
                 if ("wikidata".equals(wikipediaLang)) {
-                    final Map<String, String> labels = getLabelForWikidata(names, Locale.getDefault());
+                    final Map<String, String> labels = new HashMap<>();
+                    for (final List<String> chunk : partitionList(names, 50)) {
+                        labels.putAll(getLabelForWikidata(chunk, Locale.getDefault()));
+                    }
                     final List<WikipediaEntry> entriesWithLabel = new ArrayList<>(nodes.getLength());
                     for (WikipediaEntry entry : entries) {
