What is the {sovereign state} for {head of government} of {Vladimir Lenin}
What country was Vladimir Lenin the leader of?
Vladimir Lenin was the leader of which country?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sovereign_state . ?t property:head_of_government resource:Vladimir_Lenin }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1394> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3624078> } 
 select distinct ?sbj where { ?sbj wdt:P6 wd:Q1394 . ?sbj wdt:P31 wd:Q3624078 } 