What is {instance of} of {Lausanne} that is {of} is {Lausanne District} ?
What district is Lausanne in?
SELECT ?obj WHERE { wd:Q807 p:P31 ?s . ?s ps:P31 ?obj . ?s pq:P642 wd:Q660628 }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q807> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P642> <http://wikidata.dbpedia.org/resource/Q660628>
} 

Lausanne is located in which district?