In 1859 -1-24, Bucharest was in a country which changed its name from Moldova to what new name?
SELECT ?obj WHERE { wd:Q19660 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1859')) }
bucharest: Q19660