The Phantom of the Opera is a 2004 British-American musical drama film based on Andrew Lloyd Webber's 1986 musical of the same name, which in turn is based on the French novel "Le Fantôme de l'Opéra" by Gaston Leroux.
 It was produced and co-written by Lloyd Webber and directed by Joel Schumacher.
 It stars Gerard Butler in the title role, Emmy Rossum as Christine Daaé, Patrick Wilson as Raoul, Miranda Richardson as Madame Giry, Minnie Driver as Carlotta Giudicelli, and Jennifer Ellison as Meg Giry.
Forrest Gump is a 1994 American comedy-drama film based on the 1986 novel of the same name by Winston Groom.
 The film was directed by Robert Zemeckis and stars Tom Hanks, Robin Wright, Gary Sinise, Mykelti Williamson, and Sally Field.
 The story depicts several decades in the life of Forrest Gump, a slow-witted but kind-hearted, good-natured and athletically prodigious man from Alabama, who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.
 The film differs substantially from Winston Groom's novel, including Gump's personality and several events that were depicted.
Madame Bovary is a 1991 French film directed by Claude Chabrol and based on the novel "Madame Bovary" by the 19th century French author Gustave Flaubert.
 It was nominated for the Golden Globe Award for Best Foreign Language Film as well as for the Academy Award for Costume Design.
 It was also entered into the 17th Moscow International Film Festival where Isabelle Huppert won the award for Best Actress.
Harry Potter and the Chamber of Secrets is the second novel in the "Harry Potter" series, written by J. K. Rowling.
 The plot follows Harry's second year at Hogwarts School of Witchcraft and Wizardry, during which a series of messages on the walls of the school's corridors warn that the "Chamber of Secrets" has been opened and that the "heir of Slytherin" would kill all pupils who do not come from all-magical families.
 These threats are found after attacks which leave residents of the school "petrified" (frozen like stone).
 Throughout the year, Harry and his friends Ron and Hermione investigate the attacks.
Madame Bovary (Italian: "I peccati di Madame Bovary" / "The Sins of Madame Bovary", German: "Die nackte Bovary" ) is a 1969 Italian-West German historical drama film directed by Hans Schott-Schöbinger and starring Edwige Fenech, Gerhard Riedmann and Franco Ressel.
 It is based on Gustave Flaubert's novel "Madame Bovary", although the film cuts out the book's portrayal of her early life and focuses more heavily on her sexual relationships.
Madame Wants No Children (German: "Madame wünscht keine Kinder" ) is a 1926 German silent drama film directed by Alexander Korda and starring María Corda, Harry Liedtke and Maria Paudler.
 It is based on the novel "Madame ne veut pas d'enfants" by the French writer Clément Vautel.
 The film was made for the American Fox Film Corporation's German subsidiary.
 The film was shot at Tempelhof Studios in late 1926.
 It was the last film European film Korda made until 1930 as he left for the United States shortly after its production (although an earlier film, "A Modern Dubarry", premiered later).
Sally Mortemore is an English stage, film and television actress.
 She appeared in "Harry Potter and the Chamber of Secrets", where she played Madame Pince, the librarian of Hogwarts.
The Railway Children is a 1970 British drama film based on the novel of the same name by E. Nesbit.
 The film was directed by Lionel Jeffries, and stars Dinah Sheridan, Jenny Agutter (who had earlier featured in the successful BBC's 1968 dramatisation of the novel), Sally Thomsett and Bernard Cribbins in leading roles.
 The film was released to cinemas in the United Kingdom on 21 December 1970.
Madame Doubtfire, known as Alias Madame Doubtfire in the United States, is a 1987 English novel, written by Anne Fine for teenage and young adult audiences.
 The novel centers around a family with divorced parents.
 In November 1993, six years after its publication, the novel was adapted into "Mrs. Doubtfire," a film starring Robin Williams and Sally Field.
Mrs. Doubtfire is a 1993 American comedy-drama film directed by Chris Columbus and written for the screen by Randi Mayem Singer and Leslie Dixon, who based their story and script on the novel "Alias Madame Doubtfire," written by Anne Fine.
 It stars Robin Williams (who also served as a co-producer of the film), Sally Field, Pierce Brosnan, Harvey Fierstein, and Robert Prosky.
 It follows a recently divorced actor who dresses up as a female housekeeper to be able to interact with his children.
 The film addresses themes of divorce, separation and the effect it has on a family.

Question: Sally Mortemore appeared as Madame Pince in a film based on a novel by whom?
Answer: J. K. Rowling