WASHINGTON -- Wilson Ramos snapped a tie with a sixth-inning homer, Jordan Zimmermann pitched seven solid innings and the Washington Nationals beat the struggling San Francisco Giants 3-1 on Sunday night, completing a three-game sweep.