oregon state beavers men's basketball are placed in which basketball division?
Entity
m.031fsz
Division I (NCAA)
class entity
basketball.basketball_division m.0579h0q
basketball.basketball_division basketball.basketball_team
Basketball Division Oregon State Beavers men's basketball
none none
basketball.basketball_division.teams
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 :basketball.basketball_division . 
VALUES ?x1 { :m.0579h0q } 
?x0 :basketball.basketball_division.teams ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND basketball.basketball_division (JOIN basketball.basketball_division.teams m.0579h0q))