Question: Newcastle upon Tyne, headquarters of Newcastle United F.C., has what connection to Lagos?
Choices: twinned administrative body
instrumentation
successful candidate
noble title
drug used for treatment
film crew member
symptoms
parent club
domain of saint or deity
diplomatic relation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Newcastle upon Tyne" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> "Newcastle United F.C." . ?e_2 <pred:name> "Lagos" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Newcastle United F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Newcastle upon Tyne
function: And
dependencies: 1
2
function: Find
inputs: Lagos
function: QueryRelation
dependencies: 3
4
Answer: twinned administrative body