hi, I am trying to retreive wikidata items by label through wbsearchentities() using the "continue" parameter from https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&... Can i retreive more than 100 items using this? I notice the 'search-continue' returned by the search result disappears after 50 items. for ex https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&...
Is it possible to retreive all wikidata items with a particular label? For ex: Retreive all items with label "abc".
Thanks, Chinmay
Hi!
On Wed, Sep 11, 2013 at 11:01 PM, Chinmay Naik chin.naik26@gmail.comwrote:
hi, I am trying to retreive wikidata items by label through wbsearchentities() using the "continue" parameter from https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&... Can i retreive more than 100 items using this? I notice the 'search-continue' returned by the search result disappears after 50 items. for ex https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&...
If you want to set it for more than 50 you usually need bot flag. log out and login in your bot account and test again
Is it possible to retreive all wikidata items with a particular label? For ex: Retreive all items with label "abc".
Thanks, Chinmay
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Best
I tried logging in through ProteinBoxBot account. The behaviour is the same as reported.i.e.('search-continue' disappears after reaching limit 50) So is this not yet supported in the API?
On Thu, Sep 12, 2013 at 1:36 PM, Amir Ladsgroup ladsgroup@gmail.com wrote:
Hi!
On Wed, Sep 11, 2013 at 11:01 PM, Chinmay Naik chin.naik26@gmail.comwrote:
hi, I am trying to retreive wikidata items by label through wbsearchentities() using the "continue" parameter from https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&... Can i retreive more than 100 items using this? I notice the 'search-continue' returned by the search result disappears after 50 items. for ex https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&...
If you want to set it for more than 50 you usually need bot flag. log out and login in your bot account and test again
Is it possible to retreive all wikidata items with a particular label? For ex: Retreive all items with label "abc".
Thanks, Chinmay
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Best
Amir
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 11 September 2013 20:31, Chinmay Naik chin.naik26@gmail.com wrote:
Can i retreive more than 100 items using this? I notice the 'search-continue' returned by the search result disappears after 50 items. for ex https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities&...
The api docs at https://www.wikidata.org/w/api.php explicitly state the highest value for 'continue' is 50:
limit - Maximal number of results The value must be between 0 and 50 Default: 7 continue - Offset where to continue a search The value must be between 0 and 50 Default: 0
which indeed suggests there is a hard limit of 100 entries. Maybe someone in the Wikidata dev team can explain the reason behind this?
Merlijn