what basketball teams are members of the southwest division?
Entity Entity Entity Entity Entity
m.0jmfb m.0jmh7 m.0jmcv m.0jm6n m.0jmfv
Houston Rockets San Antonio Spurs Dallas Mavericks New Orleans Pelicans Memphis Grizzlies
class entity
basketball.basketball_team m.0c8cl7
basketball.basketball_team basketball.basketball_division
Basketball Team Southwest 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.0c8cl7 } 
?x0 :basketball.basketball_team.division ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND basketball.basketball_team (JOIN basketball.basketball_team.division m.0c8cl7))