Question: What is the connection between Chicago Fire (the one whose country is United States of America) to Chicago (the one that is the twinned administrative body of Lucerne)?
Choices:
head of government
has immediate cause
studies
sexual orientation
connects with
designed to carry
member of sports team
headquarters location
contributor(s) to the creative work
applies to jurisdiction
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Chicago Fire
function: And
dependencies: 1
2
function: Find
inputs: Lucerne
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Chicago
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chicago Fire" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Chicago" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> "Lucerne" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location