Question: Which US city is the setting of Heaven Can Wait, with Warren Beatty as a cast member?
Choices: Chicago
Waukegan
Compton
Columbus
Franklin
Seattle
Los Angeles
Charlotte
Oakland
Boulder
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Heaven Can Wait" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Warren Beatty" .   }
Program:
function: Find
inputs: Warren Beatty
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heaven Can Wait
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5
Answer: Los Angeles