which olympic games includes gymnastics at the 2004 summer olympics - women's vault?
Entity
m.0kbvb
2004 Summer Olympics
class entity
olympics.olympic_games m.02rgvpq
olympics.olympic_games olympics.olympic_event_competition
Olympic games Gymnastics at the 2004 Summer Olympics - Women's Vault
none none
olympics.olympic_games.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_games . 
VALUES ?x1 { :m.02rgvpq } 
?x0 :olympics.olympic_games.competitions ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND olympics.olympic_games (JOIN olympics.olympic_games.competitions m.02rgvpq))