Question: What is the connection between Touch and Go Records to Chicago (the one that is the residence of Steve Allen)?
Choices: applies to jurisdiction
worshipped by
genre
connects with
academic degree
sibling
patron saint
headquarters location
affiliation
approved by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Touch and Go Records" . ?e_2 <pred:name> "Chicago" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Steve Allen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Touch and Go Records
function: Find
inputs: Steve Allen
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: headquarters location