This would call wbsearchentities on the federated repo.
Customize query in gerrit
|Resolved||None||T246124 [EPIC ] Use Wikidata properties to manually add statements about local items|
|Resolved||None||T246349 Make search work with remote properties (wbsearchentities)|
|Resolved||Rosalie_WMDE||T247070 Implement an EntitySearchHelper that is backed by an API|