What is the {republic of the Soviet Union} for {head of government} of {Vladimir Lenin}
What is the republic of Soviet Union where Vladimir Lenin being the head of government?
Which is the  republic of Soviet Union where Vladimir Lenin being the head of government?
SELECT DISTINCT ?p WHERE { ?p property:head_of_government resource:Vladimir_Lenin . ?p rdf:type ontology:republic_of_the_Soviet_Union }
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/Q236036> } 
 select distinct ?sbj where { ?sbj wdt:P6 wd:Q1394 . ?sbj wdt:P31 wd:Q236036 } 