what is the {end time} for {Minneapolis} has {head of government} as {R. T. Rybak} ?
When did R. T. Rybak stop being the head of government for Minneapolis?
SELECT ?value WHERE { wd:Q36091 p:P6 ?s . ?s ps:P6 wd:Q665300 . ?s pq:P582 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q36091> .
?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/Q665300> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

What year did Minneapolis governor R.T. Rybak governor's term end