WASHINGTON -- Gio Gonzalez pitched seven innings of two-hit ball, Trea Turner and Wilson Ramos homered and the Washington Nationals beat the San Francisco Giants 5-1 on Friday night in a matchup of first-place teams.