Raveesh Meena
2018-11-30 17:12:18 UTC
Hi,
The search results obtained by these two approaches are ordered differently:
method1: using the wikidata API
<https://www.wikidata.org/w/api.php?action=help&modules=main>
https://www.wikidata.org/w/api.php?action=wbsearchentities&search=Maruti&language=en
method2: search on wikidata Page
<https://www.wikidata.org/w/index.php?search=&search=&title=Special%3ASearch&go=Go>
https://www.wikidata.org/w/index.php?search=&search=Maruti&title=Special%3ASearch&go=Go
Intrestingly, in method2, the search suggestion drop-down list has the same
order as that of method1 (see screenshot).
q1. How can I obtain results in the same order as that of method2 using the
wikidata API (i.e., method 1).
q2. Which of the two ordering is in general more "relevant/accurate/better"
Thanks for any help/hints.
Best regards,
Raveesh
The search results obtained by these two approaches are ordered differently:
method1: using the wikidata API
<https://www.wikidata.org/w/api.php?action=help&modules=main>
https://www.wikidata.org/w/api.php?action=wbsearchentities&search=Maruti&language=en
method2: search on wikidata Page
<https://www.wikidata.org/w/index.php?search=&search=&title=Special%3ASearch&go=Go>
https://www.wikidata.org/w/index.php?search=&search=Maruti&title=Special%3ASearch&go=Go
Intrestingly, in method2, the search suggestion drop-down list has the same
order as that of method1 (see screenshot).
q1. How can I obtain results in the same order as that of method2 using the
wikidata API (i.e., method 1).
q2. Which of the two ordering is in general more "relevant/accurate/better"
Thanks for any help/hints.
Best regards,
Raveesh