Question: When did Eritrea, that borders Ethiopia, reach its population of 3,272,563 people ?
Choices:
2009-10-01
1680
2002-01-11
1969
1996-11-20
1990
1859-01-01
2016-09-30
1916
1648-01-01
Answer: 1990
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Ethiopia" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Eritrea–Ethiopia border" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3272563"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Ethiopia
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Eritrea–Ethiopia border
function: FilterConcept
dependencies: 2
inputs: republic
function: QueryAttrQualifier
dependencies: 3
inputs: population
3272563
point in time