Question: what are the layers of query processing?
Answer: Query Decomposition. The first layer decomposes the calculus query into an algebraic query on global relations. ... 
Data Localization. The input to the second layer is an algebraic query on global relations. ... 
Global Query Optimization. The input to the third layer is an algebraic query on fragments. ... 
Distributed Query Execution.