Question: Peter Weir (CANTIC-ID a10594127) was nominated for an Academy Award for Best Writing, Original Screenplay for what film?
Choices: Bahamas–Germany relations
The Gambia–North Korea relations
Costa Rica–Mexico relations
New York–Vermont border
69th Academy Awards
63rd Academy Awards
Armenia–Japan relations
Canada–Mexico relations
China–South Sudan relations
Pakistan–Turkey relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Weir" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10594127" . ?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: Peter Weir
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10594127
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
statement is subject of
Answer: 63rd Academy Awards