Question: Is the ISO 3166-2 of a Chinese province, which is the twinned administrative body of Bangkok since 7th July 2013, equal to CN-SD ?
Choices:
2006-02-23
1970-03-30
1806-08-08
2002-11-24
1100
2017-11-23
1865-06-13
1991-09-17
2006-02-10
2009-09-23
Program:
function: Find
inputs: Bangkok
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: QFilterDate
dependencies: 1
inputs: start time
2013-07-07
=
function: FilterConcept
dependencies: 2
inputs: province of China
function: QueryAttrQualifier
dependencies: 3
inputs: ISO 3166-2 code
CN-SD
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Bangkok" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> "2013-07-07"^^xsd:date . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-SD" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }
Answer: 2017-11-23