Question: When was 1.51 the total fertility rate of a republic, that, since 1995, uses Russian as the official language ?
Choices:
2002-12-31
2010-08-01
1974-02-28
2005-07-20
1807
2011
1947-10-01
2017-11-23
1800-01-01
1790
Answer: 2011
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e <official_language> ?e_1 . ?e_1 <pred:name> "Russian" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_language> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1995 . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1.51"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Russian
function: Relate
dependencies: 0
inputs: official language
backward
function: QFilterYear
dependencies: 1
inputs: start time
1995
=
function: FilterConcept
dependencies: 2
inputs: republic
function: QueryAttrQualifier
dependencies: 3
inputs: total fertility rate
1.51
point in time