What is {population} of {Ostrava} that is {point in time} is {2017-1-1} ?
How many people live in Ostrava as of 2017-1-1?
What is population of Ostrava that is point in time is 2017-1-1?
SELECT ?t WHERE { FILTER ( CONTAINS ( YEAR ( ?r ) , '2017' ) ) . ?f property:population ?t . resource:Ostrava property:population ?f . ?f property:point_in_time ?r }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8385> .
?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> <2017-1-1>
} 

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