Question: When did the state of Kosova, which is in a diplomatic relationship with Latvia, have a negative inflation rate of -0.4 percent?
Choices:
2014-01-01
2016-11-30
1648-12-01
2005-03-23
2017-06-07
2003-06-01
1960-04-25
1974-02-28
2017-10-16
1858-01-01
Answer: 2014-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Latvia" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Kosovo–Latvia relations" . ?e <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "-0.4"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Latvia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Kosovo–Latvia relations
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttrQualifier
dependencies: 3
inputs: inflation rate
-0.4 percentage
point in time