Question: For the nation that has a diplomatic relationship with the United Kingdom (the subject is United Kingdom–Venezuela relations), at what time point is its life expectancy 72.281 years?
Choices:
2011-05-18
1922-12-01
50
1781
2010-03-01
2018-04-13
1896
2000
2011-09-01
-550
Answer: 2000
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> "United Kingdom–Venezuela relations" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "72.281"^^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
United Kingdom–Venezuela relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: life expectancy
72.281 year
point in time