Hi Haifeng,
As far as I know, there is no simple solution to this, especially if you
want to do it for many languages. I quickly wrote up a phabricator
<https://wikitech.wikimedia.org/wiki/Phabricator> ticket (T258514
<https://phabricator.wikimedia.org/T258514>) to request that WMF externally
publishes an internal table
<https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Edits/Wikidata_item_page_link>
that contains the information that you would need to generate your own API
(or more likely, just join into whatever data you're working with). I can't
make any promises on how long this will take to produce, but if this is
valuable to have in the next week or so, I can look into creating a
snapshot of this data and putting it on Figshare in the meantime until
there's a more sustainable solution to it.
Best,
Isaac
On Tue, Jul 21, 2020 at 1:05 PM Paul Albert <mrpaulalbert(a)gmail.com> wrote:
I've been using the Wikimapper API mentioned here:
https://opendata.stackexchange.com/questions/5467/mapping-all-wikipedia-url…
Regards,
Paul Albert
On 7/21/20, 12:39 PM, "Wiki-research-l on behalf of Haifeng Zhang" <
wiki-research-l-bounces(a)lists.wikimedia.org on behalf of
haifengz.suny(a)gmail.com> wrote:
Hi all,
Are you aware of any API that maps wikidata QIDs to their article Page
IDs?
Thanks,
Haifeng
_______________________________________________
Wiki-research-l mailing list
Wiki-research-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
_______________________________________________
Wiki-research-l mailing list
Wiki-research-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
--
Isaac Johnson (he/him/his) -- Research Scientist -- Wikimedia Foundation