Question: What film has Zhang Ziyi as a cast member and was nominated for an Academy Award for Best Writing, Adapted Screenplay?
Choices: Memoirs of a Geisha
2046
Rebecca
Crouching Tiger, Hidden Dragon
Gods and Monsters
An Education
The Lion in Winter
Wuthering Heights
Rush Hour 2
Forrest Gump
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Zhang Ziyi" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" .  }
Program:
function: Find
inputs: Zhang Ziyi
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Crouching Tiger, Hidden Dragon