Question: Here is one sentence: The floor of a cave served the refugees as a home.
Here is another sentence: They needed rugs to cover the bare floors.
Does the floor mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: I wish I could go home now.
Here is another sentence: I wish that Christmas were over.
Does the wish mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: He said that architecture is the art of wasting space beautifully.
Here is another sentence: How great thou art!
Does the art mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: The Times is not the voice of New York.
Here is another sentence: The voice of the law.
Does the voice mean the same thing in the two sentences?

Answer:
the same meaning