What is {country of citizenship} of {Syrie Maugham} that is {end time} is {1927-4-12} ?
In 1927, what country was Syrie Maugham a citizen of?
Where was Syrie Maugham's country of citizenship in 1927?
SELECT ?c WHERE { resource:Syrie_Maugham property:country_of_citizenship ?e . ?e property:country_of_citizenship ?c . ?e property:end_time ?o . FILTER ( CONTAINS ( YEAR ( ?o ) , '1927' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7663337> .
?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> <1927-4-12>
} 

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