I am attempting to do alignments for a set of known VIAF IDs. I would like to query the Wikidata REST API with a VIAF ID (P214) and get back a set of one or more Wikidata entity IDs (QXXXXX) that correspond to that VIAF entity. I am unable to find any examples of this either in the Wikidata API documentation or otherwise online.
I've noodled around with various permutations of queries using action=wbsearchentities
and action=query
, all to no avail.
Could anyone kindly point me to set of docs or example code that enumerates the correct query parameters for such a search?