Question: Does the China province whose country is Qing dynasty have an ISO 3166-2 code equal to CN-GD (the start time of this statement is 2017-11-23)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e <country> ?e_1 . ?e_1 <pred:name> "Qing dynasty" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-GD" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> "2017-11-23"^^xsd:date .  }
Program:
function: Find
inputs: Qing dynasty
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: province of China
function: QueryAttrUnderCondition
dependencies: 2
inputs: ISO 3166-2 code
start time
2017-11-23
function: VerifyStr
dependencies: 3
inputs: CN-GD