what is the {end time} for {Titian} has {work location} as {Augsburg} ?
When does Titian stop working at Augsburg?
what is the end time for Titian has a work location as Augsburg ?
SELECT ?x WHERE { resource:Titian property:work_location ?u . ?u property:work_location resource:Augsburg . ?u property:end_time ?x }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q47551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2749> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q47551 p:P937 ?s . ?s ps:P937 wd:Q2749 . ?s pq:P582 ?value}