Question: When did the sovereign state that has a diplomatic relation with Mexico (the subject of this statement is Mexico–Suriname relations) have a population of 460215?
Choices:
2011-12-01
250
2004-08-05
1938
1279
1979-04-09
1982-03-29
1999
1994-12-01
2016-01-03
Answer: 1999
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Mexico" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Mexico–Suriname relations" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "460215"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Mexico–Suriname relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: population
460215
point in time