Which sentence contains an analogy?

Sam is a human spell-checker
Samis the new Babe Ruth.
The spelling bee is Sam's favorite event of the year.
The spellilng bee is to Sam as the World Series is to a basdeball player.

The spellilng bee is to Sam as the World Series is to a basdeball player.