Question: When did the capital city of Egypt (where the life expectancy is 69.618 years) have a population numbering 570062?
Choices:
1561
2013-10-28
1982-02-24
1897
1816-12-01
1895
2002-07-03
1970
-4000
1986-12-01
Answer: 1897
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Egypt" . ?e_1 <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> "year" . ?pv_1 <pred:value> "69.618"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "570062"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Egypt
function: FilterNum
dependencies: 0
inputs: life expectancy
69.618 year
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: population
570062
point in time