Finds the query a reference names among candidates.
candidates
The reference's category path, as text or segments; empty for a query with no category.
The reference's query name. Names and segments compare ignoring case and surrounding spaces.
Finds the query a reference names among
candidates.