which designer designed an amusement ride in collaboration with werner stengel?
Entity Entity Entity Entity Entity Entity Entity Entity
m.01rmz8 m.04gvyp m.01l1cx m.0bp2t5 m.03xvkp m.02r8132 m.04kczyw m.0dpmr9
Paramount Parks Walt Disney Imagineering Six Flags John Wardley Anton Schwarzkopf Universal Creative Stengel Engineering William Cobb
class class entity
amusement_parks.ride_designer amusement_parks.ride m.06vnh2
amusement_parks.ride_designer amusement_parks.ride amusement_parks.ride_designer
Amusement Ride Designer Amusement Ride Werner Stengel
none none none
amusement_parks.ride_designer.rides amusement_parks.ride.designer
Rides Designed Designer
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_designer . 
?x1 :type.object.type :amusement_parks.ride . 
VALUES ?x2 { :m.06vnh2 } 
?x0 :amusement_parks.ride_designer.rides ?x1 . 
?x1 :amusement_parks.ride.designer ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND amusement_parks.ride_designer (JOIN amusement_parks.ride_designer.rides (JOIN amusement_parks.ride.designer m.06vnh2)))