Q: Sentence (1) A wall of prejudice.
Sentence (2) A wall of water.. Word: wall.
==--==
A: the same meaning

Q: Sentence (1) They serve a restricted role on the bench.
Sentence (2) She served in Congress for two terms.. Word: serve.
==--==
A: different meanings

Q: Sentence (1) Refine paper stock.
Sentence (2) Refine pig iron.. Word: refine.
==--==
A:
the same meaning