which tournament event did a competitor of the quatar win a bronze medal?
Entity
m.07k9zkx
2009 World Championships in Athletics – Men's 5000 metres
class class entity entity
sports.tournament_event_competition sports.competitor_competition_relationship m.02lq67 m.0697s
sports.tournament_event_competition sports.competitor_competition_relationship sports.sport_medal sports.sport_country
Tournament event competition Competitor/competition relationship Bronze medal quatar
none none none none
sports.competitor_competition_relationship.competition sports.competitor_competition_relationship.medal sports.competitor_competition_relationship.country
Competition Medal Country
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.tournament_event_competition . 
?x1 :type.object.type :sports.competitor_competition_relationship . 
VALUES ?x2 { :m.02lq67 } 
VALUES ?x3 { :m.0697s } 
?x1 :sports.competitor_competition_relationship.competition ?x0 . 
?x1 :sports.competitor_competition_relationship.medal ?x2 . 
?x1 :sports.competitor_competition_relationship.country ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND sports.tournament_event_competition (JOIN (R sports.competitor_competition_relationship.competition) (AND (JOIN sports.competitor_competition_relationship.medal m.02lq67) (JOIN sports.competitor_competition_relationship.country m.0697s))))