Google uses a few simple questions to figure it out.