From when until when was Belgrade in the Kingdom of Yugoslavia?
SELECT ?value1 ?value2 WHERE { wd:Q3711 p:P17 ?s . ?s ps:P17 wd:Q191077 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }
belgrade: Q3711 kingdom of yugoslavia: Q191077