Question: In the Heat of the Night, an Academy Award nominee for Best Writing, Adapted Screenplay, has what connection to Mississippi in the USA?
Choices:
place of death
honorific suffix
narrative location
patron saint
country
location of final assembly
work location
facet of
architect
present in work
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "In the Heat of the Night" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_2 <pred:name> "Mississippi" . ?e_2 <country> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: In the Heat of the Night
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: Mississippi
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7