does the city of kazakhstan contain lakes and what are they?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.02hp7q m.067b64 m.0cmd2x m.0h_18 m.01mlk m.0gxhw m.027y69v m.0by11x6 m.06ds3_ m.0cr12p m.07f367 m.026pg10 m.04crn6h
Lake Balkhash Lake Chagan Lake Tengiz Aral Sea Caspian Sea Lake Zaysan Lake Kamyslybas Kapchagay Reservoir Lake Alakol Lake Sasykkol North Aral Sea Lake Kaindy South Aral Sea
class entity
geography.lake m.047lj
geography.lake location.country
Lake Kazakhstan
none none
geography.lake.basin_countries
Basin countries
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :geography.lake . 
VALUES ?x1 { :m.047lj } 
?x0 :geography.lake.basin_countries ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND geography.lake (JOIN geography.lake.basin_countries m.047lj))