Question: What is the subject of a statement that Toy Story (the one that has Tom Hanks as a voice actor) was nominated for Academy Award for Best Writing, Original Screenplay ?
Choices: 23rd Tony Awards
Norway–United States relations
Bangladesh–Cyprus relations
Albania–United States relations
Sudan–Taiwan relations
Lithuania–Romania relations
Denmark–Philippines relations
68th Academy Awards
Panama Canal fence
Australia–East Timor relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Toy Story" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Tom Hanks" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Tom Hanks
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Toy Story
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of
Answer: 68th Academy Awards