implemented QueryDeducor
wired the QueryDeducor with the ConsolidatedQuery