the pacific division contains which basketball teams?
Entity Entity Entity Entity Entity
m.0jmk7 m.0jmmn m.0jmj7 m.0jmjr m.0jml5
Los Angeles Lakers Sacramento Kings Golden State Warriors Los Angeles Clippers Phoenix Suns
class entity
basketball.basketball_team m.0clj49
basketball.basketball_team basketball.basketball_division
Basketball Team Pacific 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.0clj49 } 
?x0 :basketball.basketball_team.division ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND basketball.basketball_team (JOIN basketball.basketball_team.division m.0clj49))