name the amusement ride has the same theme with the ride seven dwarfs mine train
Entity
m.0c60sv
Snow White's Scary Adventures
class class entity
amusement_parks.ride amusement_parks.ride_theme m.0gjbmmx
amusement_parks.ride amusement_parks.ride_theme amusement_parks.ride
Amusement Ride Amusement Ride Theme Seven Dwarfs Mine Train
none none none
amusement_parks.ride.theme amusement_parks.ride_theme.rides
Theme Rides
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 :amusement_parks.ride . 
?x1 :type.object.type :amusement_parks.ride_theme . 
VALUES ?x2 { :m.0gjbmmx } 
?x0 :amusement_parks.ride.theme ?x1 . 
?x1 :amusement_parks.ride_theme.rides ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND amusement_parks.ride (JOIN amusement_parks.ride.theme (JOIN amusement_parks.ride_theme.rides m.0gjbmmx)))