Question: Who died in the New Jersey city where Atlantic City, directed by Louis Malle, is set?
Choices:
Chris Columbus
Sylvester Stallone
George Segal
Frank Vincent
Max Fleischer
Walt Whitman
Dorothy Fields
Tom Jones
James Buchanan
Sam O'Steen
Program:
function: Find
inputs: Louis Malle
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Atlantic City
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: Relate
dependencies: 5
inputs: place of death
backward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city in New Jersey" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> "Atlantic City" . ?e_3 <director> ?e_4 . ?e_4 <pred:name> "Louis Malle" .   }
Answer: Sam O'Steen