what is the {end time} for {Cordell Hull} has {position held} as {United States representative} ?
When did US representative Cordell Hull step down?
When did Cordell Hull stop being a United States representative?
SELECT ?j WHERE { resource:Cordell_Hull property:position_held ?b . ?b property:position_held resource:United_States_representative . ?b property:end_time ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q202979> .
?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/Q13218630> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q202979 p:P39 ?s . ?s ps:P39 wd:Q13218630 . ?s pq:P582 ?value}