silver bullet is a ride in which amusement park?
Entity
m.017z37
Knott's Berry Farm
class entity
amusement_parks.park m.026yfhh
amusement_parks.park amusement_parks.ride
Amusement Park Silver Bullet
none none
amusement_parks.park.rides
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.park . 
VALUES ?x1 { :m.026yfhh } 
?x0 :amusement_parks.park.rides ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND amusement_parks.park (JOIN amusement_parks.park.rides m.026yfhh))