Question: Vladimir Lenin was the head of government of which historical country.
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P6 wd:Q1394 . ?sbj wdt:P31 wd:Q3024240 } 
Answer: Russian Socialist Federative Soviet Republic (1918-1923), Russian Soviet Federative Socialist Republic