Question: How is Touch and Go Records related to Chicago where Bernie Mac died?
Choices: home port
kit supplier
nominated for
hair color
headquarters location
inspired by
used by
head of government
discoverer or inventor
game mode
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Touch and Go Records" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Bernie Mac" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Touch and Go Records
function: Find
inputs: Bernie Mac
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: headquarters location