fuwa: huanhuan is the mascot of which olympic games?
Entity
m.0kbws
2008 Summer Olympics
class entity
olympics.olympic_games m.0jsgp_8
olympics.olympic_games olympics.olympic_mascot
Olympic games Fuwa: Huanhuan
none none
olympics.olympic_games.mascot
Mascot
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.0jsgp_8 } 
?x0 :olympics.olympic_games.mascot ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND olympics.olympic_games (JOIN olympics.olympic_games.mascot m.0jsgp_8))