Question: When did the state whose country is Jamaica (the one that has a diplomatic relation with Ghana) have an inflation rate of 7.9 percentage?
Choices:
1984-01-01
1781-01-01
2014-04-30
1964
1889-12-31
1991-01-01
2009-01-14
2017-07-18
1998-01-01
2013-03-11
Answer: 1998-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <country> ?e_1 . ?e_1 <pred:name> "Jamaica" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Ghana" .  ?e <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "7.9"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Ghana
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Jamaica
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: state
function: QueryAttrQualifier
dependencies: 5
inputs: inflation rate
7.9 percentage
point in time