Question: What U.S. city has local-area code 818, and is Robert Altman's (died from leukemia) final resting place?
Choices:
Oakland
Franklin
Greenville
Columbus
Los Angeles
New Haven
Glendale
Boulder
Lansing
Compton
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
818
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: leukemia
function: Relate
dependencies: 3
inputs: cause of death
backward
function: Find
inputs: Robert Altman
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of burial
forward
function: FilterConcept
dependencies: 7
inputs: city of the United States
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <local_dialing_code> ?pv . ?pv <pred:value> "818" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Robert Altman" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "leukemia" .  }
Answer: Glendale