Question: What Transylvanian country ended in 1804?
Paraphrase: What's the name of the Transylvanian country that only existed up to 1804?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q39473 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1804')) }