wèn​niú​zhī​mǎ

to infer the truth from clues