Question: When was the life expectancy in a sovereign state with a diplomatic relation with Chad (the subject of this statement is Chad–Nigeria relations) 52.121 years
Choices:
2007-05-16
1712-01-01
1918-01-01
1993
2013
2017-01-31
2017-09-30
1995-10-17
1561
1880-01-01
Answer: 2013
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Chad" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Chad–Nigeria relations" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "52.121"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Chad
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Chad–Nigeria relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: life expectancy
52.121 year
point in time