I don't get it. Voting and rating something is two sepete things, so your example doesn't really have anything todo with voting.
Polls are a good example of a vote, where one can choose 1 or more options from a list of options, where rating is more something where one can choose on a scale, of say 1 - 10, how good something is