> 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.
WDT provides a small API client: https://github.com/Wikidata/Wikidata-Toolkit/tree/master/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi > 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>. Yes, it's probably that. There is a workaround for reading daily MediaWiki dumps but it has not been implemented in the API client. Thomas > Le 10 mai 2017 à 18:28, Daniel Kinzler <[email protected]> a écrit : > > 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. > > _______________________________________________ > Wikidata-tech mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Wikidata-tech mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
