what is the {end time} for {Robert Byrd} has {position held} as {Member of the West Virginia House of Delegates} ?
When did Robert Byrd end his membership in the West Virginia House of Delegates?
When did Robert Byrd stop being a member of the West Virginia House of Delegates?
SELECT ?l WHERE { ?g property:end_time ?l . resource:Robert_Byrd property:position_held ?g . ?g property:position_held resource:Member_of_the_West_Virginia_House_of_Delegates }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q276524> .
?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/Q19772501> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q276524 p:P39 ?s . ?s ps:P39 wd:Q19772501 . ?s pq:P582 ?value}