Question: What is the ending date that CN-43 is the ISO 3166-2 code for the province of China whose capital is Changsha?
Choices:
2017-11-23
-336
1723-02-25
1840
1723
1987-07-13
1936-10-28
1801-03-04
1809
2004
Answer: 2017-11-23
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Changsha" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-43" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Changsha
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: province of China
function: QueryAttrQualifier
dependencies: 2
inputs: ISO 3166-2 code
CN-43
end time