Please check if the following are metaphors:

A yellow lantern lost at sea

Along a taut and singing string

These are too short to tell.

Which two unlike things is each sentence comparing?