Hello, Lucy,
Thank you for your answer. I suppose that the following three sentences are all correct and they have the same meaning. Right?
Who do you know is the richest man in this town?
Do you know who is the richest man in this town?
Do you know whom the richest man is in this town?