Question: When did the sovereign state that has diplomatic relations with Armenia (in the subject of Armenia–Mexico relations) have a population of 86077004?
Choices:
2016-02-01
1973-03-27
2018-09-26
2009-02-22
2018-11-30
1990
2012-05-01
2005-01-19
1920-12-01
1919
Answer: 1990
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Armenia" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Armenia–Mexico relations" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "86077004"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Armenia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Armenia–Mexico relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: population
86077004
point in time