(GDQS) and Grid Query Evaluator Service (GQES). Query processing in DQP consists of the following five stages: Logical optimisation.