find the geographical feature category which is subcategory of drainage divide.
Entity
m.03whr_d
Continental divide
class entity
geography.geographical_feature_category m.07kgtm
geography.geographical_feature_category geography.geographical_feature_category
Geographical feature category Drainage divide
none none
geography.geographical_feature_category.subcategory_of
Subcategory of
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.geographical_feature_category . 
VALUES ?x1 { :m.07kgtm } 
?x0 :geography.geographical_feature_category.subcategory_of ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND geography.geographical_feature_category (JOIN geography.geographical_feature_category.subcategory_of m.07kgtm))