SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/neighboringMunicipalities> <http://dbpedia.org/resource/Lancy> . ?uri <http://dbpedia.org/ontology/mayor> <http://dbpedia.org/resource/Esther_Alder> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Settlement>}
What is the settlement whose neighboring municipalities is Lancy and mayor name is Esther Alder?
SELECT DISTINCT ?a WHERE { ?a property:neighboring_municipalities resource:Lancy . ?a rdf:type ontology:Settlement . ?a property:mayor resource:Esther_Alder }
Geneva
The settlement with Lancy as neighboring municipalities and Esther Alder as mayor is [Geneva].
Agreement with Lancey as the neighboring municipalities and Esther Alder as the mayor [of Geneva].