the Query Service