which basketball teams belong to northwest division?
Entity Entity Entity Entity Entity
m.0jmm4 m.0jmdb m.04cxw5b m.0jmgb m.0jmhr
Portland Trail Blazers Denver Nuggets Oklahoma City Thunder Minnesota Timberwolves Utah Jazz
class entity
basketball.basketball_team m.0clgyn
basketball.basketball_team basketball.basketball_division
Basketball Team Northwest Division
none none
basketball.basketball_team.division
Division
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 :basketball.basketball_team . 
VALUES ?x1 { :m.0clgyn } 
?x0 :basketball.basketball_team.division ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND basketball.basketball_team (JOIN basketball.basketball_team.division m.0clgyn))