Hi all, Are you aware of any API that maps wikidata QIDs to their article Page IDs?
Thanks, Haifeng
I've been using the Wikimapper API mentioned here:
https://opendata.stackexchange.com/questions/5467/mapping-all-wikipedia-urls...
Regards,
Paul Albert
On 7/21/20, 12:39 PM, "Wiki-research-l on behalf of Haifeng Zhang" <wiki-research-l-bounces@lists.wikimedia.org on behalf of haifengz.suny@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
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@gmail.com wrote:
I've been using the Wikimapper API mentioned here:
https://opendata.stackexchange.com/questions/5467/mapping-all-wikipedia-urls...
Regards,
Paul Albert
On 7/21/20, 12:39 PM, "Wiki-research-l on behalf of Haifeng Zhang" < wiki-research-l-bounces@lists.wikimedia.org on behalf of haifengz.suny@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
Wiki-research-l mailing list Wiki-research-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
Issac, thanks a lot! Look forward to the data .
Best, Haifeng
On Tue, Jul 21, 2020 at 1:51 PM Isaac Johnson isaac@wikimedia.org wrote:
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_...
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@gmail.com wrote:
I've been using the Wikimapper API mentioned here:
https://opendata.stackexchange.com/questions/5467/mapping-all-wikipedia-urls...
Regards,
Paul Albert
On 7/21/20, 12:39 PM, "Wiki-research-l on behalf of Haifeng Zhang" < wiki-research-l-bounces@lists.wikimedia.org on behalf of haifengz.suny@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
Wiki-research-l mailing list Wiki-research-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
-- Isaac Johnson (he/him/his) -- Research Scientist -- Wikimedia Foundation _______________________________________________ Wiki-research-l mailing list Wiki-research-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
Paul, Sorry, I did not read your response carefully. Will try the wikimapper API as suggested.
Thanks a lot!
On Tue, Jul 21, 2020 at 1:05 PM Paul Albert mrpaulalbert@gmail.com wrote:
I've been using the Wikimapper API mentioned here:
https://opendata.stackexchange.com/questions/5467/mapping-all-wikipedia-urls...
Regards,
Paul Albert
On 7/21/20, 12:39 PM, "Wiki-research-l on behalf of Haifeng Zhang" < wiki-research-l-bounces@lists.wikimedia.org on behalf of haifengz.suny@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
Wiki-research-l mailing list Wiki-research-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wiki-research-l
wiki-research-l@lists.wikimedia.org