Question: Which work of screenwriter Richard Price earned an Academy Award nomination for Best Writing, Adapted Screenplay?
Choices:
Slovenia–United States relations
Djibouti–Ethiopia border
Bangladesh–Belarus relations
59th Academy Awards
Mauritania–Senegal relations
Indonesia–North Korea relations
South Korea–United States relations
Guyana–India relations
Australia–Argentina relations
Chile–Pakistan relations
Answer: 59th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Price" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted 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: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Price
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of