In this task, you are given Wikipedia articles on a range of topics as passages and a question from the passage. We ask you to answer the question by classifying the answer as 0 (False) or 1 (True)

Ex Input:
Passage: Black Swan (film) -- Black Swan is a 2010 American psychological horror film directed by Darren Aronofsky. The screenplay was written by Mark Heyman, John McLaughlin, and Andres Heinz, based on an original story by Heinz. The film stars Natalie Portman, Vincent Cassel, Mila Kunis, Barbara Hershey and Winona Ryder. The plot revolves around a production of Tchaikovsky's Swan Lake ballet by a prestigious New York City ballet company. The production requires a ballerina to play the innocent and fragile White Swan, for which the committed dancer Nina (Portman) is a perfect fit, as well as the dark and sensual Black Swan, which are qualities better embodied by the new arrival Lily (Kunis). Nina is overwhelmed by a feeling of immense pressure when she finds herself competing for the part, causing her to lose her tenuous grip on reality and descend into a living nightmare.
Question: is black swan movie based on a book

Ex Output:
0


Ex Input:
Passage: Charlie and the Chocolate Factory (film) -- Development for a second adaptation of Charlie and the Chocolate Factory (filmed previously as Willy Wonka & the Chocolate Factory in 1971) began in 1991, which resulted in Warner Bros. providing the Dahl Estate with total artistic control. Prior to Burton's involvement, directors such as Gary Ross, Rob Minkoff, Martin Scorsese and Tom Shadyac had been involved, while actors Bill Murray, Nicolas Cage, Jim Carrey, Michael Keaton, Brad Pitt, Will Smith, Adam Sandler, and many others, were either in discussion with or considered by the studio to play Wonka.
Question: is charlie and the chocolate factory a sequel to willy wonka

Ex Output:
0


Ex Input:
Passage: I Am Legend (novel) -- I Am Legend is a 1954 science fiction horror novel by American writer Richard Matheson. It was influential in the development of the zombie-vampire genre of fiction, and in popularizing the concept of a worldwide apocalypse due to disease. The novel was a success and was adapted into the plot of films, namely: The Last Man on Earth (1964), The Omega Man (1971), I Am Legend (2007), and the direct-to-video production I Am Omega (2007). The novel was also an inspiration behind Night of the Living Dead (1968).
Question: was the book legend made into a movie

Ex Output:

1


