Question: What visual artwork received an Academy Award for which Toy Story (whose script is written by Joss Whedon) was nominated at the 47th Academy Awards?
Choices: The Godfather Part II
An American in Paris
The Sting
American Beauty
Robert Towne
Chinatown
Murder on the Orient Express
Witness
Gosford Park
The Towering Inferno
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Academy Awards" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Toy Story" . ?e_2 <screenwriter> ?e_3 . ?e_3 <pred:name> "Joss Whedon" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "47th Academy Awards" .  }
Program:
function: Find
inputs: Joss Whedon
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Toy Story
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: Relate
dependencies: 5
inputs: award received
backward
function: QFilterStr
dependencies: 6
inputs: statement is subject of
47th Academy Awards
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: What
dependencies: 8
Answer: Chinatown