the ix olympic winter games or the beijing 2008 olympic games featured which sporting events?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.071t0 m.0194d m.06f41 m.07_53 m.06z68 m.07gyv m.01gqfm m.035d1m m.01hp22 m.0bynt m.0w0d m.064vjs
Shooting sport Badminton Rowing Volleyball Synchronized swimming Taekwondo Beach volleyball Canoe Slalom Artistic gymnastics Track and field athletics Archery Canoe Sprint
class entity
olympics.olympic_sport m.0kbws
olympics.olympic_sport olympics.olympic_games
Olympic discipline beijing 2008 olympic games
none none
olympics.olympic_sport.olympic_games_contested
Olympic games contested
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_sport . 
VALUES ?x1 { :m.0kbws } 
?x0 :olympics.olympic_sport.olympic_games_contested ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND olympics.olympic_sport (JOIN olympics.olympic_sport.olympic_games_contested m.0kbws))