Question: When did the sovereign state that has diplomatic relations with United Kingdom (in the subject of Kyrgyzstan–United Kingdom relations) have a life expectancy of 70.95122 years?
Choices:
2015-02-01
2011-07-01
2003-06-25
1939
1821
1867
2000-06-07
1895-12-01
2016
1909
Answer: 2016
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "United Kingdom" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Kyrgyzstan–United Kingdom relations" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "70.95122"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Kyrgyzstan–United Kingdom relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: life expectancy
70.95122 year
point in time