what type of olympic event competition is the wrestling at the 1904 summer olympics – men's freestyle heavyweight?
Entity
m.07nvdk4
Men's Freestyle Wrestling,  Heavyweight +71.7
class entity
olympics.olympic_event m.027c32d
olympics.olympic_event olympics.olympic_event_competition
Olympic event Wrestling at the 1904 Summer Olympics – Men's freestyle heavyweight
none none
olympics.olympic_event.competitions
Competitions
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 :olympics.olympic_event . 
VALUES ?x1 { :m.027c32d } 
?x0 :olympics.olympic_event.competitions ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND olympics.olympic_event (JOIN olympics.olympic_event.competitions m.027c32d))