What is {capital} of {Qing dynasty} that is {end time} is {1912-0-0} ?
What is the capital of Qing dynasty during its end in 1912?
SELECT ?obj WHERE { wd:Q8733 p:P36 ?s . ?s ps:P36 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1912')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8733> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1912-0-0>
} 

During the end of the Qing dynasty in 1912, what was it's capital city?