Question: How Brunswick from Weimar Republic is related to Kazan?
Choices: donated by
occupant
doctoral advisor
librettist
child astronomical body
home port
basin country
twinned administrative body
director/manager
office held by head of the organisation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brunswick" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Weimar Republic" . ?e_2 <pred:name> "Kazan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Brunswick
function: And
dependencies: 1
2
function: Find
inputs: Kazan
function: QueryRelation
dependencies: 3
4
Answer: twinned administrative body