Question: When did Shanghai (the one whose ISO 3166-2 code is CN-31) become the twinned administrative body of Ōsaka?
Choices: 1939-01-01
2003-10-03
1556
1956-11-22
1974-01-01
1998-10-19
1995-11-28
1812-04-30
1988-09-03
1996-12-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shanghai" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-31" . ?e_2 <pred:name> "Ōsaka" . ?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: Shanghai
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CN-31
function: Find
inputs: Ōsaka
function: QueryRelationQualifier
dependencies: 1
2
inputs: twinned administrative body
start time
Answer: 1974-01-01