Question: Steve Carell starred alongside Emma Stone in "Battle of the Sexes", which was loosely based on whom?

Context paragraphs:
The Legend of Barney Thomson: The Legend of Barney Thomson, known in the United States as Barney Thomson, is a 2015 British comedy thriller based on the novel "The Long Midnight of Barney Thomson" by Douglas Lindsay.  It is the directorial debut of Robert Carlyle, who also stars in the film, alongside Emma Thompson, Ray Winstone, Ashley Jensen and Brian Pettifer.  It was previewed at the 2015 Edinburgh International Film Festival in June 2015 before its release on 24 July 2015.

Casino Night: "Casino Night" is the second season finale of the American comedy television series "The Office", and the twenty-eighth episode overall.  Written by Steve Carell, who also acts in the show as Michael Scott, and directed by Ken Kwapis, the episode originally aired in the United States on May 11, 2006 on NBC.  The episode guest stars Nancy Carell as Carol Stills and Melora Hardin as Jan Levinson.

Crazy, Stupid, Love: Crazy, Stupid, Love (stylized as Crazy, Stupid, Love.)  is a 2011 American romantic comedy film directed by Glenn Ficarra and John Requa, written by Dan Fogelman, and starring Steve Carell, Ryan Gosling, Julianne Moore, Emma Stone, Marisa Tomei and Kevin Bacon.  It follows a recently divorced man who seeks to rediscover his manhood and is taught how to pick up women at bars.

Office Olympics: "Office Olympics" is the third episode of the second season of the television series "The Office", and the show's ninth episode overall.  It was written by Michael Schur and directed by Paul Feig.  It originally aired on October 5, 2005 on NBC.  The episode guest starred Nancy Carell, the real-life wife of series star Steve Carell, as Carol Stills.

Battle of the Sexes (film): Battle of the Sexes is a 2017 American biographical sports film, directed by Jonathan Dayton and Valerie Faris and written by Simon Beaufoy.  The plot is loosely based on the between Billie Jean King and Bobby Riggs.  The film stars Emma Stone and Steve Carell as King and Riggs, respectively, with Andrea Riseborough, Elisabeth Shue, Austin Stowell, and Sarah Silverman in supporting roles.

The Incredible Burt Wonderstone: The Incredible Burt Wonderstone is a 2013 American comedy film directed by Don Scardino and written by John Francis Daley and Jonathan Goldstein, based on a story by Chad Kultgen and Tyler Mitchell, and Daley and Goldstein.  The film follows Las Vegas magician Burt Wonderstone (Steve Carell) as he attempts to reunite with his former partner Anton Marvelton (Steve Buscemi) to take on dangerous street magician Steve Gray (Jim Carrey).  It also features Alan Arkin, Olivia Wilde and James Gandolfini.

List of Angie Tribeca episodes: "Angie Tribeca" is an American comedy television series created by Steve Carell and Nancy Walls Carell.  The series, a satire of police procedural shows, stars Rashida Jones as the titular police detective Angie Tribeca.  It also stars Hayes MacArthur, Jere Burns, Deon Cole and Andrée Vermeulen in supporting roles.  The series was announced by TBS in mid 2014 with a ten-episode order.  "Angie Tribeca" premiered on a 25-hour 10-episode marathon on January 17–18, 2016.  It was renewed for a second season.

Steve Carell: Steven John Carell ( ; born August 16, 1962) is an American actor, comedian, director, producer, and writer.  Carell is best known for playing Michael Scott on the American version of "The Office" (2005–2011), on which he also worked as an occasional writer, producer, and director.

Foxcatcher: Foxcatcher is a 2014 American true crime sports drama film produced and directed by Bennett Miller.  Written by E. Max Frye and Dan Futterman, the film stars Steve Carell, Channing Tatum, and Mark Ruffalo.  The film's plot is loosely based on the events surrounding multimillionaire Du Pont family heir and wrestling enthusiast John du Pont's 1986 recruitment of 1984 U.S. Olympic gold medalist brothers Mark (Freestyle Wrestling - 82 kg) and Dave Schultz (Freestyle Wrestling - 74 kg) to help coach U.S. wrestlers for participation in national, world, and Olympic competition, and the subsequent murder of Dave by John du Pont in January 1996.  Although the film's action is largely set at Foxcatcher Farm, du Pont's now-broken-up 800-acre suburban Philadelphia estate, the majority of the movie was filmed in the Pittsburgh metropolitan area.

Nancy Carell: Nancy Ellen Carell (née Walls; born July 19, 1966) is an American actress, comedian, and writer best known for her work on "Saturday Night Live", "The Daily Show", and "The Office".  She is the wife of actor-comedian Steve Carell.  The couple are creators of the TBS comedy series "Angie Tribeca".

Supporting paragraphs: Battle of the Sexes (film) Steve Carell
Answer: King and Riggs