What is {population} of {Navotas} that is {point in time} is {1939-1-1} ?
As of January 1, 1939, what was the total population of Navotas?
What was the population of Navotas, on January 1, 1939?
SELECT ?f WHERE { ?h property:point_in_time ?e . ?h property:population ?f . resource:Navotas property:population ?h . FILTER ( CONTAINS ( YEAR ( ?e ) , '1939' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q17179> .
?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> <1939-1-1>
} 

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