wrap the query as citation provider in history panel