Question: Who was nominated for the Academy Award for Best Writing, Original Screenplay for The Damned (the one that origins from Italy)?
Choices:
Brazil–Venezuela border
Sweden–Ukraine relations
Louisiana–Texas border
42nd Academy Awards
Argentina–Indonesia relations
Bahrain–United Kingdom relations
Pennsylvania–West Virginia border
Bahrain–Germany relations
Algeria–China relations
Libya–Malta relations
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Damned
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
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Damned" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Italy" . ?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 .  }
Answer: 42nd Academy Awards