what is the match type that is associated with the tennis tournament that peter mcnamara won?
Entity
m.04hdtl0
Men's doubles
class class entity
tennis.tennis_match_type tennis.tennis_tournament_championship m.0bdq44
tennis.tennis_match_type tennis.tennis_tournament_championship tennis.tennis_tournament_champion
Tennis Match Type Tennis Tournament Championship Peter McNamara
none none none
tennis.tennis_tournament_championship.event_type tennis.tennis_tournament_championship.winner
Event Type Winner
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 :tennis.tennis_match_type . 
?x1 :type.object.type :tennis.tennis_tournament_championship . 
VALUES ?x2 { :m.0bdq44 } 
?x1 :tennis.tennis_tournament_championship.event_type ?x0 . 
?x1 :tennis.tennis_tournament_championship.winner ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tennis.tennis_match_type (JOIN (R tennis.tennis_tournament_championship.event_type) (JOIN tennis.tennis_tournament_championship.winner m.0bdq44)))