Hello dear wikidata list participants,
I use a MediaWiki API https://www.wikidata.org/w/api.php to query for Wikidata items. I faced a problem when using 'wbsearchentities' action. I have a query string 'Blue Angel' and I need to find the entities that have a title containing this query string, in particular entity with property id equal to 'Q158047'. But to find it I have to search for '*The* Blue Angel'. I tried to increase the limit of maximal number results up to 50, but still entity Q158047 does not appear in the resultant list.
Is there a way to have partial matches?
Thanks, Almer
Hey,
wbsearchentities is prefix-only for performance reasons and there is no way around it. Try to use MediaWikis regular search API.
Best Thiemo
wikidata-tech@lists.wikimedia.org