If you query something, you check it by asking about it because you are not sure if it is correct.