which amusement ride has more than 6 inversions?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0b6_b9 m.03c2d39 m.06hdz4 m.0bm142 m.027tgt8 m.06gwb8 m.07gwqw m.0b06rt m.0c28g9 m.0cscgg m.0csckk m.0f4shg m.0f8zw8 m.0wr3scb m.0j7nch9 m.0zwml11 m.0gywl43 m.03ct9ld m.0g1gyd m.026ktj2 m.0942hx m.010rd01b
Colossus Goudurix Great American Scream Machine Bizarro Medusa Dragon Khan Kumba Montu Kraken Scream Viper Hydra the Revenge Shockwave Banshee The Smiler Helix Takabisha Superman: La Atracción de Acero 10 Inversion Roller Coaster Monte Makaya The Incredible Hulk Skyscraper
class literal
amusement_parks.ride 6^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.ride type.int
Amusement Ride 6
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 . 
FILTER (?x1 > "6"^^<http://www.w3.org/2001/XMLSchema#integer>)
?x0 :amusement_parks.ride.inversions ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND amusement_parks.ride (gt amusement_parks.ride.inversions 6^^http://www.w3.org/2001/XMLSchema#integer))