Am 10.05.2017 um 12:57 schrieb Miguel Paraz:
Hi Lydia!
Thanks! Yes this is the Wikipedia Toolkit, though I think this is a problem on
the server side and not in the Toolkit.
What server side? As far as I know, WDT doesn't use the Wikidata server, just
the dumps. Or can it access the API directly, now? I have not looked at it in a
while.
The problem may be that WDToolkit does not consider redirects, because they are
not in the Wikidata JSON dump. We have been considering providing them in a
separate dump, but this has not happened yet, see
<https://phabricator.wikimedia.org/T98320>.
In our own RDF mapping (which is similar to, but different from, the WDT
mapping), redirects are represented by owl:sameAs. Sadly, this does not mean
that the query service (or rather, BlazeGraph) resolves them transparently.
--
Daniel Kinzler
Principal Platform Engineer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.