Question: From when until when was Belgrade in the Kingdom of Yugoslavia?
Paraphrase: During which years was Belgrade in the Kingdom of Yugoslavia?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q3711 p:P17 ?s . ?s ps:P17 wd:Q191077 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }