Hi,
Is there any API call that does a string search for entities on their labels and aliases, accross all languages?
(As a test case, it should return results both for "Universität Toulouse" and "university of toulouse" without changing any other parameter.)
I have tried: - action=query&list=wbsearch -> monolingual - action=wbsearchentities -> monolingual - action=query&list=search&srnamespace=0 -> multilingual
The last one is multilingual but performs a full text search instead of a search on labels and aliases, which gives less reliable results.
I also wonder what is the meaning of the "wbsstrictlanguage" parameter described here: https://www.wikidata.org/w/api.php?action=help&modules=query+wbsearch
I am looking for such an API call to improve the OpenRefine interface: https://github.com/wetneb/openrefine-wikidata One possibility would be to first try action=wbsearchentities with the language of the user and then fall back on action=query&list=search if no result was returned by the first one, or only use the second one and rely on my reranking which ignores the initial order of the results.
Any thoughts?
Antonin