what is the {point in time} for {Tarapacá Region} has {male population} as {167793.0} ?
Where did Tarapacá have 167793 males as part of its population?
SELECT ?value WHERE { wd:Q2114 p:P1540 ?s . ?s ps:P1540 ?x filter(contains(?x,'167793.0')) . ?s pq:P585 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2114> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1540> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <167793.0> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

Tarapaca had 167793 males where are part of its population