which sport has a team named california golden bears men's basketball?
Entity
m.018w8
Basketball
class entity
sports.sport m.0hrfhrm
sports.sport sports.sports_team
Sport California Golden Bears men's basketball
none none
sports.sport.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 :sports.sport . 
VALUES ?x1 { :m.0hrfhrm } 
?x0 :sports.sport.teams ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND sports.sport (JOIN sports.sport.teams m.0hrfhrm))