Heliot Ramos hit a three-run homer, Logan Webb pitched six solid innings and the San Francisco Giants beat the Washington Nationals 10-5 on Friday night. Drew Gilbert and Casey Schmitt hit solo homers, and Matt Chapman had three hits and drove in three runs for the Giants, who had scored three runs or less in each of their past five games. Ramos drove in his fourth run with a bases-loaded walk in the ninth.