what is the {end time} for {Jagiellonian University} has {rector} as {Andrzej Pelczar} ?
On what date did Andrzej Pelczar leave Jagiellonian University?
When did Andrzej Pelczar leave Jagiellonian University?
SELECT ?z WHERE { ?z property:end_time ?z . resource:Jagiellonian_University property:rector ?z . ?z property:rector resource:Andrzej_Pelczar }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q189441> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1075> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q515383> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q189441 p:P1075 ?s . ?s ps:P1075 wd:Q515383 . ?s pq:P582 ?value}