there are 3 inversions on which amusement ride?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04n3d66 m.0d6l__ m.076x3cp m.0d9y6q m.0dxxts m.0h_b6__ m.0h_cxxj m.0ddg_k2 m.06t7tw m.0cnzz1w m.0ch4c5d m.0265gh6 m.03c01w_ g.121b6mvy m.0125l0jg m.027jd9k m.03bxjyv m.03ct93m m.04y8vtd m.06d9wx m.0bwj0sl m.0c110x m.0cws91 m.0cz84d9 m.0d5_4b m.0d9275 m.0d9xvn m.0dzwgg m.0f9_ld m.0fj8c5 m.0flmt0 m.0fpjk9m m.0g8pf5 m.0gj8wx1 m.0ktpq42 m.0p8xg63 m.0wqyl_k m.0g9t8z1 m.03hm8rv m.03wblgl m.03cx4q_ g.1hc0r08sr m.02rvmj0 m.065_576 m.0ch3qpb m.04lj8r7 m.0cfp4h m.05g5ww g.120_rjnj m.03nqd8c m.02z96lp m.02z04jn m.02z2qpt m.02vrgnd g.122rd534 g.1223qpc0 g.121g1vhl m.0r3s4fs m.011q831j g.11dyhw9lz m.0fjqgs
Saw – The Ride Boomerang: Coast to Coaster The Tidal Wave Flashback Storm Runner Medusa Steel Coaster Boomerang Roller Coaster Corkscrew Zydeco Scream Sky Rocket G Force The Dragon null Wildfire Boomerang Cobra Sea Serpent Millennium Roller Coaster Mindbender Sea Viper Dæmonen The Bat Dare Devil Dive Steamin' Demon Flight Deck Wicked Cyclone Corkscrew The Jester Sidewinder Invertigo Raptor Tennessee Tornado Space Shuttle Max Outlaw Run Parrot Coaster Abyss Untamed Cobra Rage SpongeBob SquarePants Rock Bottom Plunge null Ultra Twister iSpeed Ultra Twister Carolina Cobra Giant Inverted Boomerang Rock 'n' Roller Coaster Starring Aerosmith null Zoomerang Speed Monster Montaña Infinitum Space Mountain: Mission 2 Xpress null null null Tornado Falcon null Head Spin
class literal
amusement_parks.ride 3^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.ride type.int
Amusement Ride 3
none none
amusement_parks.ride.inversions
Inversions
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 . 
VALUES ?x1 { "3"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :amusement_parks.ride.inversions ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND amusement_parks.ride (JOIN amusement_parks.ride.inversions 3^^http://www.w3.org/2001/XMLSchema#integer))