What is {inflation rate} of {São Tomé and Príncipe} that is {point in time} is {1989-1-1} ?
In 1989, what was the inflation rate of Sao Tome and Principe?
What was the inflation rate of São Tomé and Príncipe in 1989?
SELECT ?c WHERE { ?w property:point_in_time ?s . FILTER ( CONTAINS ( YEAR ( ?s ) , '1989' ) ) . resource:São_Tomé_and_Príncipe property:inflation_rate ?w . ?w property:inflation_rate ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1039> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P585> <1989-1-1>
} 

SELECT ?obj WHERE { wd:Q1039 p:P1279 ?s . ?s ps:P1279 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1989')) }