PHOENIX (AP) -- The Arizona Diamondbacks' dormant offense broke out Tuesday night.
A.J. Pollock doubled, tripled and drove in three runs, and Patrick Corbin scattered four hits over six innings to help the Diamondbacks beat the Chicago Cubs 10-4.
''It's definitely good to get the offense going,'' Pollock said. ''We know we have it. For whatever reason it's kind of been lacking in the last week or so. It's good to bust out and show we've got it. We've just got to relax.''
Corbin (12-1) allowed one run, struck out six and walked three for the Diamondbacks, who won for the second time in five games since the All-Star break to remain a half-game behind the first-place Los Angeles Dodgers in the NL West.
''Patrick wasn't very sharp early, but he's just really good at battling through things,'' said Arizona manager Kirk Gibson. ''It's only fitting he got the win.''
Eric Chavez also tripled and had three RBIs. Martin Prado homered and Paul Goldschmidt added a run-scoring double for Arizona, which reached 10 runs for the first time since June 21.
In a matchup of All-Stars on the mound, Cubs lefty Travis Wood (6-7) started strong but faded late, giving up four runs on eight hits and a pair of walks in 5 2-3 innings.
Wood also singled and scored the Cubs' first run in the second.
Cubs manager Dale Sveum was ejected by plate umpire Dana DeMuth for arguing balls and strikes after Cody Ransom was called out on strikes to end the top of the third.
''I didn't like the way he handled it, staring at Cody and following him,'' Sveum said. ''It was over with. No need to keep staring at my player and baiting him.''
Wood retired his first nine hitters but recorded only eight outs against the final 16 Diamondbacks he faced.
Prado tied the game at 1 with a long home run into the left-field stands with one out in the fifth. Arizona tacked on three more in the sixth.
Adam Eaton led off with a single and scored when Pollock lined a hit-and-run double just inside the left-field line to make it 2-1. Wood walked Goldschmidt and appeared on the verge of escaping further damage when Cody Ross grounded into a double play.
But Chavez tripled just past the extended glove of a sprinting Junior Lake and off the left-field wall to drive in Pollock. Wil Nieves' RBI single gave Arizona a 4-1 lead.
''The first five (innings) looked pretty good,'' Wood said. ''Unfortunately they kind of figured me out and were able to throw up three more.''
Chavez added a two-run, two-out single and Prado had an RBI single in the seventh off Hector Rondon to give the Diamondbacks a 7-1 cushion.
''It's contagious,'' Chavez said. ''When things are going bad, you just have to turn it around the other way. But tonight don't mean nothing if we don't come back and back it up tomorrow.''
Nate Schierholtz came off the bench in the eighth to hit a two-run homer into the swimming pool area behind the right-center fence off David Hernandez for his third career pinch-hit homer. That pulled Chicago to 7-3.
Arizona put together its third straight three-run inning in the eighth on a two-run triple by Pollock and an RBI double by Goldschmidt, who had been intentionally walked the inning before.
Lake homered with one out in the ninth for the Cubs, his third hit of the game.
NOTES: Arizona is 18-2 when Corbin starts. ... The Diamondbacks had totaled eight runs in their previous four games since the All-Star break. ... Corbin and Wood were the ninth set of All-Star pitchers since 2000 to face each other in their first start after the break. ... Lake finished 3 for 5 and is 12 for 22 with two homers, a double and four RBIs since he was recalled from Triple-A Iowa on Friday. ... Sveum has been ejected four times this season, including two of the Cubs' five games against the Diamondbacks. ... RHP Jeff Samardzija (6-9) will renew his personal rivalry with the Diamondbacks against RHP Ian Kennedy (3-7) on Wednesday. Samardzija found himself in a shouting match with Arizona third base coach Matt Williams in June after nearly hitting Kennedy a couple of times with pitches. Gibson had some harsh words for Samardzija, too.