instance Bifunctor Query