Question: When did Sarajevo (the one that is the twinned administrative body of Budapest) become the twinned administrative body of Tripoli (the one that is the twinned administrative body of Tashkent)?
Choices: 2017-01-20
1994-06-06
1997-03-14
1879
2008-09-20
1846-12-28
2004-06-05
1822
1976
1985-05-29
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sarajevo" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Budapest" . ?e_2 <pred:name> "Tripoli" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> "Tashkent" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Budapest
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Sarajevo
function: And
dependencies: 1
2
function: Find
inputs: Tashkent
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Tripoli
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: twinned administrative body
start time
Answer: 1976