Design time Run time Mediated schema query reformulation Semantic mappings optimization execution wrapper wrapper wrapper wrapper wrapperwrapper wrapper wrapper wrapper wrapper Mediated Schema Semantic mappings optimization & execution query reformulation Design time Run time