Question: What is the subject of Salvador (which was shot in Mexico) being nominated for an Academy Award for Best Writing, Original Screenplay?
Choices: Pilate's court
Cayman Islands–United States relations
Logos
Egypt–Mexico relations
Guinea–Taiwan relations
59th Academy Awards
Belarus-Sweden relations
Malaysia–Maldives relations
Mexico–Uruguay relations
Tennis at the 2008 Summer Olympics – Men's singles
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Salvador" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Mexico" . ?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: Mexico
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Salvador
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: 59th Academy Awards