Question: For the democracy that has a diplomatic relationship with Denmark (the subject of this statement is Denmark–Mozambique relations), what is the time point for its population of 17350739?
Choices:
2017-03-28
2010-09-01
1999-12-01
1998
2007-03-14
1995-03-27
1500-01-01
1600
1910-12-01
2010-10-20
Answer: 1998
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Denmark" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Denmark–Mozambique relations" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "17350739"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Denmark–Mozambique relations
function: FilterConcept
dependencies: 2
inputs: democracy
function: QueryAttrQualifier
dependencies: 3
inputs: population
17350739
point in time