towards mapped queries