5 is the number of 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
m.074lhz m.0h522cx m.03cnk4r m.073k4m m.0swnsyq g.1215cj9l m.0cwstm m.0dn3gd m.0d6kh5 m.0125ygs0 m.026234d m.0269dww m.027lw90 m.027th26 m.027y0c5 m.0284q6s m.02pqrdr m.02r4199 m.02z1j2_ m.03cp8vy m.03cptts m.03cr4gp m.03hm1b7 m.04q1qvh m.05twj1 m.0cgkjs m.0cnzfxj m.0d6l4d m.0d8mmj m.0d9yn7 m.0dkr3y m.0f3ltk m.0g88c3 m.0j9kz03 m.0pdnzjt m.0wxpkpr m.0dmgcs m.0g60fs m.0dzbmp m.0405yh8 m.0ch3x7r m.011q3cg2 m.0f9z4w g.11bt_cl12v m.011q9lqs g.1269nh2_r g.121dbztt g.1234hkqf
Drachen Fire X-Flight Goliath Green Lantern Nitro null Batman: The Ride Batwing Viper Limit Olympia Looping Wildfire The Hangman Kong Infusion Firehawk The Great White Le Vampire Fly – The Great Nor'easter Lightning Batman: La Fuga Diavlo Tornado Jubilee Odyssey Batman: The Ride Dominator El Condor Mind Eraser Nighthawk Batman: The Ride Arkham Asylum – Shock Therapy Blue Tornado Thunderhawk OzIris Sky Scrapper Flug der Dämonen T3 Flight Deck Ninja Ednör – L'Attaque MP Xpress Huracan X-Flight null Cannibal null null null
class literal
amusement_parks.ride 5^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.ride type.int
Amusement Ride 5
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 { "5"^^<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 5^^http://www.w3.org/2001/XMLSchema#integer))