what is the {end time} for {Friedrich Nietzsche} has {educated at} as {University of Bonn} ?
When did Friedrich Nietzsche finish at U of Bonn?
When did Friedrich Nietzsche finish his education at the University of Bonn?
SELECT ?c WHERE { ?e property:end_time ?c . resource:Friedrich_Nietzsche property:educated_at ?e . ?e property:educated_at resource:University_of_Bonn }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9358> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q152171> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q9358 p:P69 ?s . ?s ps:P69 wd:Q152171 . ?s pq:P582 ?value}