what is the {point in time} for {Ghana} has {inflation rate} as {34.2} ?
What year did Ghana have an inflation rate of 34.2?
When Ghana has its inflation rate 34.2?
SELECT ?f WHERE { ?w property:point_in_time ?f . ?w property:inflation_rate ?z . FILTER ( CONTAINS ( ?z , '34.2' ) ) . resource:Ghana property:inflation_rate ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q117> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1279> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <34.2> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q117 p:P1279 ?s . ?s ps:P1279 ?x filter(contains(?x , '34.2')) . ?s pq:P585 ?value}