rd_query function

Identification of Queries