what other ice hockey teams share same division with sabres?
Entity Entity Entity Entity Entity Entity Entity
m.02fp3 m.0j2zj m.0j8js m.0bszz m.05pcr m.0j6tr m.0jnkr
Detroit Red Wings Boston Bruins Florida Panthers Montreal Canadiens Ottawa Senators Toronto Maple Leafs Tampa Bay Lightning
class class entity
ice_hockey.hockey_team ice_hockey.hockey_division m.0j5m6
ice_hockey.hockey_team ice_hockey.hockey_division ice_hockey.hockey_team
Ice hockey team Ice hockey division sabres
none none none
ice_hockey.hockey_team.division ice_hockey.hockey_division.teams
Division Teams
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 . 
?x1 :type.object.type :ice_hockey.hockey_division . 
VALUES ?x2 { :m.0j5m6 } 
?x0 :ice_hockey.hockey_team.division ?x1 . 
?x1 :ice_hockey.hockey_division.teams ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND ice_hockey.hockey_team (JOIN ice_hockey.hockey_team.division (JOIN ice_hockey.hockey_division.teams m.0j5m6)))