Question: Which 2007 Harry Potter film, which is the fifth installment in the "Harry Potter" film series, is one of the movies in which Lego Harry Potter: Years 5–7 is based on? 
Sentence (from "Harry Potter and the Order of the Phoenix (film)"): 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.
Relevant evidence: Yes