What is {country of citizenship} of {Alexei Kosygin} that is {end time} is {1922-0-0} ?
In 1922, where was Alexei Kosygin's citizenship?
Alexei Kosygin was a citizen of which country during 1922?
SELECT ?g WHERE { ?k property:end_time ?t . FILTER ( CONTAINS ( YEAR ( ?t ) , '1922' ) ) . resource:Alexei_Kosygin property:country_of_citizenship ?k . ?k property:country_of_citizenship ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q202770> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P27> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1922-0-0>
} 

SELECT ?obj WHERE { wd:Q202770 p:P27 ?s . ?s ps:P27 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1922')) }