Question: What movie had Legos based off of it and was written by Steve Kloves?

Context paragraphs:
Harry Potter and the Half-Blood Prince (film): Harry Potter and the Half-Blood Prince is a 2009 British-American fantasy film directed by David Yates and distributed by Warner Bros.  Pictures.  It is based on the novel of the same name by J. K. Rowling.  The film, which is the sixth instalment in the "Harry Potter" film series, was written by Steve Kloves and produced by David Heyman and David Barron.  The story follows Harry Potter's sixth year at Hogwarts as he receives a mysterious textbook, falls in love, and attempts to retrieve a memory that holds the key to Lord Voldemort's downfall.

Lego Harry Potter: Lego "Harry Potter" is a Lego theme based on the films of the "Harry Potter" series.  Lego models of important scenes, vehicles and characters were made for the first six films and all the books released.  The first sets appeared in 2001, to coincide with the release of the first film "Harry Potter and the Philosopher's Stone" (Harry Potter and the Sorcerer's Stone in the United States).  Subsequent sets were released alongside the new films, until Harry Potter and the Order of the Phoenix.  The line then went dormant for three years.  It is unknown if the theme will again be revived to coincide with future installations in the Harry Potter franchise, such as the film Fantastic Beasts and Where to Find Them.

Harry Potter and the Order of the Phoenix (film): Harry Potter and the Order of the Phoenix is a 2007 British-American fantasy film directed by David Yates and distributed by Warner Bros.  Pictures.  It is based on the novel of the same name by J. K. Rowling.  The film, which is the fifth instalment in the "Harry Potter" film series, was written by Michael Goldenberg (making this the only film in the series not to be scripted by Steve Kloves) and produced by David Heyman and David Barron.  The story follows Harry Potter's fifth year at Hogwarts as the Ministry of Magic is in denial of Lord Voldemort's return.

Harry Potter and the Deathly Hallows – Part 2: Harry Potter and the Deathly Hallows – Part 2 is a 2011 British-American fantasy film directed by David Yates and distributed by Warner Bros.  Pictures.  It is the second of two cinematic parts based on the novel of the same name by J. K. Rowling.  The film, which is the eighth and final instalment in the "Harry Potter" film series, was written by Steve Kloves and produced by David Heyman, David Barron, and Rowling.  It is the sequel to "Harry Potter and the Deathly Hallows – Part 1".  The story continues to follow Harry Potter's quest to find and destroy Lord Voldemort's Horcruxes in order to stop him once and for all.

Harry Potter and the Prisoner of Azkaban (film): Harry Potter and the Prisoner of Azkaban is a 2004 British-American fantasy film directed by Alfonso Cuarón and distributed by Warner Bros.  Pictures.  It is based on the novel of the same name by J. K. Rowling.  The film, which is the third instalment in the "Harry Potter" film series, was written by Steve Kloves and produced by Chris Columbus (director of the first two instalments), David Heyman, and Mark Radcliffe.  The story follows Harry Potter's third year at Hogwarts as he is informed that a prisoner named Sirius Black has escaped from Azkaban intending to kill him.

The Amazing Spider-Man (2012 film): The Amazing Spider-Man is a 2012 American superhero film based on the Marvel Comics character Spider-Man, and sharing the title of the character's longest-running comic book.  It is the fourth theatrical "Spider-Man" film produced by Columbia Pictures and Marvel Entertainment, and a reboot of Sam Raimi's "Spider-Man" 2002-2007 trilogy preceding it.  The film was directed by Marc Webb.  It was written by James Vanderbilt, Alvin Sargent and Steve Kloves and it stars Andrew Garfield as Peter Parker / Spider-Man, Emma Stone as Gwen Stacy, Rhys Ifans as Dr. Curtis Connors, Denis Leary as NYPD Captain George Stacy, along with Martin Sheen and Sally Field as the uncle and aunt of Peter Parker, Ben Parker and May Parker.  The film tells the story of Peter Parker, a teenager from New York who becomes Spider-Man after being bitten by a genetically altered spider.  Parker must stop Dr. Curt Connors as a mutated lizard, from spreading a mutation serum to the city's human population.

Harry Potter and the Deathly Hallows – Part 1: Harry Potter and the Deathly Hallows – Part 1 is a 2010 British-American fantasy film directed by David Yates and distributed by Warner Bros.  Pictures.  It is the first of two cinematic parts based on the novel of the same name by J. K. Rowling and features an ensemble cast.  The film, which is the seventh and penultimate installment in the "Harry Potter" film series, was written by Steve Kloves and produced by David Heyman, David Barron, and Rowling.

Wonder Boys (film): Wonder Boys is a 2000 comedy-drama film directed by Curtis Hanson and written by Steve Kloves.  An international co-production between the United States, the United Kingdom, Germany, and Japan, it is based on the novel of the same name by Michael Chabon.  Michael Douglas stars as professor Grady Tripp, a novelist who teaches creative writing at an unnamed Pittsburgh university.  He has been unable to finish his second novel, his young wife has left him, and he is having an affair with the Chancellor of the university (Frances McDormand), who is the wife of the chairman of his department.  Grady's editor (Robert Downey, Jr.) is in town to see his new book and becomes interested in a book that one of Grady's students (Tobey Maguire) has just completed.

Harry Potter and the Goblet of Fire (film): Harry Potter and the Goblet of Fire is a 2005 British-American fantasy film directed by Mike Newell and distributed by Warner Bros.  Pictures.  It is based on the novel of the same name by J. K. Rowling.  The film, which is the fourth instalment in the "Harry Potter" film series, was written by Steve Kloves and produced by David Heyman.  The story follows Harry Potter's fourth year at Hogwarts as he is chosen by the Goblet of Fire to compete in the Triwizard Tournament.

Harry Potter and the Philosopher's Stone (film): Harry Potter and the Philosopher's Stone (released in some countries as Harry Potter and the Sorcerer's Stone) is a 2001 British-American fantasy film directed by Chris Columbus and distributed by Warner Bros.  Pictures.  It is based on the novel of the same name by J. K. Rowling.  The film is the first instalment in the long-running "Harry Potter" film series, and was written by Steve Kloves and produced by David Heyman.  Its story follows Harry Potter's first year at Hogwarts School of Witchcraft and Wizardry as he discovers that he is a famous wizard and begins his education.  The film stars Daniel Radcliffe as Harry Potter, with Rupert Grint as Ron Weasley, and Emma Watson as Hermione Granger.

Supporting paragraphs: Lego Harry Potter Harry Potter and the Philosopher's Stone (film)
Answer: Harry Potter and the Philosopher's Stone