Question: When was there a fertility rate of 2.607 in the state that had a diplomatic relation with Bulgaria (the subject of this statement is Bulgaria–Mongolia relations)?
Choices:
2011
1965-10-01
2015-01-12
2018-02-23
2015-03-31
2017-11-23
2008-12-17
2001-10-17
1977
1996-11-20
Answer: 2011
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Bulgaria" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Bulgaria–Mongolia relations" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2.607"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Bulgaria
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Bulgaria–Mongolia relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: total fertility rate
2.607
point in time