What is {population} of {Rio de Janeiro} that is {point in time} is {1900-0-0} ?
How many people live in Rio de Janerio?
What is the current population of Rio de Janerio?
SELECT ?g WHERE { resource:Rio_de_Janeiro property:population ?w . FILTER ( CONTAINS ( YEAR ( ?p ) , '1900' ) ) . ?w property:point_in_time ?p . ?w property:population ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8678> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1082> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <1900-0-0>
} 

SELECT ?obj WHERE { wd:Q8678 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1900')) }