Question: How is Lagos related to Newcastle upon Tyne which is the twinned administrative body of Bergen?
Choices: had as last meal
basin country
home world
different from
headquarters location
source of income
military conflicts
sport
twinned administrative body
honorific prefix
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lagos" . ?e_2 <pred:name> "Newcastle upon Tyne" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Bergen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lagos
function: Find
inputs: Bergen
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Newcastle upon Tyne
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: twinned administrative body