which athletics brands do have texas a&m aggies baseball team?
Entity
m.0dn8v7
Texas A&M Aggies
class entity
education.athletics_brand m.04f50w9
education.athletics_brand sports.school_sports_team
Athletics brand Texas A&M Aggies baseball
none none
education.athletics_brand.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 :education.athletics_brand . 
VALUES ?x1 { :m.04f50w9 } 
?x0 :education.athletics_brand.teams ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND education.athletics_brand (JOIN education.athletics_brand.teams m.04f50w9))