What is {female population} of {Sana'a} that is {point in time} is {2004-0-0} ?
What is the female population of Sana'a in 2004?
What was the amount of female population of Sana'a in 2004-0-0?
SELECT ?c WHERE { ?o property:point_in_time ?a . resource:Sanaa property:female_population ?o . FILTER ( CONTAINS ( YEAR ( ?a ) , '2004' ) ) . ?o property:female_population ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2471> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1539> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <2004-0-0>
} 

SELECT ?obj WHERE { wd:Q2471 p:P1539 ?s . ?s ps:P1539 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2004')) }