what equipment is used by the buffalo team?
Entity Entity
m.07qxg_ m.0h8mhlf
Football helmet Football Shoulder Pad
class class entity
sports.sports_equipment sports.sport m.09wvtc
sports.sports_equipment sports.sport american_football.football_team
Sports Equipment Sport buffalo
none none none
sports.sport.related_equipment sports.sports_team.sport
Related Equipment Sport
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.sports_equipment . 
?x1 :type.object.type :sports.sport . 
VALUES ?x2 { :m.09wvtc } 
?x1 :sports.sport.related_equipment ?x0 . 
?x2 :sports.sports_team.sport ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND sports.sports_equipment (JOIN (R sports.sport.related_equipment) (JOIN (R sports.sports_team.sport) m.09wvtc)))