Question: What does Alice Cooper (who works in the location of Denver) have to do with Chicago (the narrative location of Boardwalk Empire)?
Choices:
place of death
executive producer
film distribute region
use
lifestyle
lyrics by
located in the administrative territorial entity
talk show guest
domain of saint or deity
symptom of
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alice Cooper" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Denver" . ?e_2 <pred:name> "Chicago" . ?e_4 <narrative_location> ?e_2 . ?e_4 <pred:name> "Boardwalk Empire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Denver
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Alice Cooper
function: And
dependencies: 1
2
function: Find
inputs: Boardwalk Empire
function: Relate
dependencies: 4
inputs: narrative location
forward
function: Find
inputs: Chicago
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7