Q: Does "mine" have the same meaning in the following two sentences?

This diamond comes from a mine in South Africa.

Most coal and ore comes from open-pit mines nowadays.

A: the same meaning

Q: Does "work" have the same meaning in the following two sentences?

This dough does not work easily.

Can you work an electric drill?

A: different meanings

Q: Does "shelve" have the same meaning in the following two sentences?

Shelve books.

The library needs volunteers to help shelve books.

A:
the same meaning