Question: When did a sovereign state, having a diplomatic relation with Mexico (the subject of this statement is Mexico–Nicaragua relations), reach the nominal GDP of 8,758,622,328.66962 USD ?
Choices:
1871-01-01
1870-12-01
1867-12-01
1918-12-31
2008-07-01
2018-09-30
2012-09-05
1965-11-01
2010-01-01
1841
Answer: 2010-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Mexico" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Mexico–Nicaragua relations" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "8758622328.66962"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Mexico–Nicaragua relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: nominal GDP
8758622328.66962 United States dollar
point in time