Question: When did the democracy with licence plate code PY have a life expectancy of 70.838 years?
Choices:
1984
2002-07-08
2010-12-31
1999-06-16
2003
1945
1790
1886-01-01
2014-10-23
1697
Answer: 2003
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "PY" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "70.838"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
PY
function: FilterConcept
dependencies: 1
inputs: democracy
function: QueryAttrQualifier
dependencies: 2
inputs: life expectancy
70.838 year
point in time