Dictionary.com
Thesaurus.com

had been querying

  • past perfect progressive
    of query.
    query
    noun
    a question; an inquiry.