Question: What is the relationship between Warsaw and Istanbul, Budapest's twinned administrative body?
Choices: member of sports team
location of discovery
diplomatic relation
broadcast by
donated by
legal form
contains settlement
twinned administrative body
film editor
director/manager
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Warsaw" . ?e_2 <pred:name> "Istanbul" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Budapest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warsaw
function: Find
inputs: Budapest
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Istanbul
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: twinned administrative body