Question: What is the time point for the total fertility rate of 1.746, for the sovereign state that has a diplomatic relation with Germany (the subject of this statement is Barbados–Germany relations)?
Choices:
1995-12-31
2007-02-11
1994-03-21
2010-07-14
1972-04-10
2016-01-03
2001
1811-01-01
2014-09-01
1688
Answer: 2001
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Germany" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Barbados–Germany relations" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1.746"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Barbados–Germany relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: total fertility rate
1.746
point in time