what is the name of the waterfall that has 12 drops?
Entity
m.04z_d44
Mirusha waterfalls
class literal
geography.waterfall 12^^http://www.w3.org/2001/XMLSchema#integer
geography.waterfall type.int
Waterfall 12
none none
geography.waterfall.drop_number
Number of drops
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.waterfall . 
VALUES ?x1 { "12"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :geography.waterfall.drop_number ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND geography.waterfall (JOIN geography.waterfall.drop_number 12^^http://www.w3.org/2001/XMLSchema#integer))