What is {head of government} of {Munich} that is {end time} is {1993-6-30} ?
Who ran the Munich Government until 6/30/1993?
Who was head of the Munich government until 06/30/1993?
SELECT ?y WHERE { ?h property:head_of_government ?y . FILTER ( CONTAINS ( YEAR ( ?h ) , '1993' ) ) . resource:Munich property:head_of_government ?h . ?h property:end_time ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1726> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1993-6-30>
} 

SELECT ?obj WHERE { wd:Q1726 p:P6 ?s . ?s ps:P6 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1993')) }