what is the {start time} for {Hurrem sultan} has {country of citizenship} as {Crown of the Kingdom of Poland} ?
WHEN WAS HURREM SULTAN AS CROWN OF THE KINGDOM OF POLAND
SELECT ?value WHERE { wd:Q255809 p:P27 ?s . ?s ps:P27 wd:Q171348 . ?s pq:P580 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q255809> .
?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> <http://wikidata.dbpedia.org/resource/Q171348> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

When was Hurrem Sultan the Crown of the Kingdom of Poland?