which ice hockey teams are part of the atlantic division?
Entity Entity Entity Entity Entity Entity Entity Entity
m.02fp3 m.0j2zj m.0j5m6 m.0j8js m.0bszz m.05pcr m.0j6tr m.0jnkr
Detroit Red Wings Boston Bruins Buffalo Sabres Florida Panthers Montreal Canadiens Ottawa Senators Toronto Maple Leafs Tampa Bay Lightning
class entity
ice_hockey.hockey_team m.0c79j9
ice_hockey.hockey_team ice_hockey.hockey_division
Ice hockey team Atlantic Division
none none
ice_hockey.hockey_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 :ice_hockey.hockey_team . 
VALUES ?x1 { :m.0c79j9 } 
?x0 :ice_hockey.hockey_team.division ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND ice_hockey.hockey_team (JOIN ice_hockey.hockey_team.division m.0c79j9))