what is the {end time} for {George Harrison} has {part of} as {The Beatles} ?
At what time did George Harrison go away from the Beatles?
When did George Harrison leave the Beatles?
SELECT ?c WHERE { ?y property:end_time ?c . ?y property:part_of resource:The_Beatles . resource:George_Harrison property:part_of ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2643> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P361> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1299> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q2643 p:P361 ?s . ?s ps:P361 wd:Q1299 . ?s pq:P582 ?value}