Question: When did Shanghai (the twinned administrative body of Queensland) become the twinned administrative body of Alexandria (which is also twinned with Thessaloniki)?
Choices: 1930-05-10
1718-07-21
2012-03-24
1996
1938
2006-07-11
2008-01-22
1992-01-01
1950-09-28
1979-06-03
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shanghai" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Queensland" . ?e_2 <pred:name> "Alexandria" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> "Thessaloniki" . ?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: Queensland
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Shanghai
function: And
dependencies: 1
2
function: Find
inputs: Thessaloniki
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Alexandria
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: twinned administrative body
start time
Answer: 1992-01-01