basketball is the sport of what defunct sports team?
Entity Entity Entity Entity
m.0f_j36h m.0wr0d86 m.02kbcrn m.01jf5y
Orange Oostende Pittsburgh Pirates Fort Wayne Pistons Detroit Shock
class entity
sports.defunct_sports_team m.018w8
sports.defunct_sports_team sports.sport
Defunct Sports Team Basketball
none none
sports.defunct_sports_team.sport
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.defunct_sports_team . 
VALUES ?x1 { :m.018w8 } 
?x0 :sports.defunct_sports_team.sport ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND sports.defunct_sports_team (JOIN sports.defunct_sports_team.sport m.018w8))