Question: When did a state, the one that sports a diplomatic relation with China (the subject of this statement is China–Gabon relations), reach the population of 804,319 ?
Choices:
2009-06-03
2006-02-08
2014-02-01
1631
1984
1989-01-01
1929-01-01
2004-05-01
1765-01-01
1989-03-29
Answer: 1984
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "People's Republic of China" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "China–Gabon relations" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "804319"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
China–Gabon relations
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttrQualifier
dependencies: 3
inputs: population
804319
point in time