what is the {end time} for {John Winthrop} has {position held} as {Governor of the Massachusetts Bay Colony} ?
John Winthrop's position as Governor of the Massachusetts Bay colony ended at what time?
What time did John Winthrop's position as Governor of the Massachusetts Bay Colony end?
SELECT ?v WHERE { ?y property:position_held resource:Governor_of_the_Massachusetts_Bay_Colony . resource:John_Winthrop property:position_held ?y . ?y property:end_time ?v }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q720766> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q48955989> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q720766 p:P39 ?s . ?s ps:P39 wd:Q48955989 . ?s pq:P582 ?value}