Question: Which country shared border with Nazi Germany until 1939?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q7318 p:P47 ?s . ?s ps:P47 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1939')) }