Question: What film is written by Gustave Flaubert and was nominated for an Academy Award for Best Supporting Actor?
Choices: A Prairie Home Companion
The French Connection
Pleasantville
Talk to Her
The Cider House Rules
Being There
Rebecca
Ryan's Daughter
The Crying Game
A Streetcar Named Desire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Gustave Flaubert" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" .  }
Program:
function: Find
inputs: Gustave Flaubert
function: Relate
dependencies: 0
inputs: after a work by
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Ryan's Daughter