which amusement ride has an amount greater than 8 inversions?
Entity Entity Entity
m.0b6_b9 m.0j7nch9 m.0g1gyd
Colossus The Smiler 10 Inversion Roller Coaster
class literal
amusement_parks.ride 8^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.ride type.int
Amusement Ride 8
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 > "8"^^<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 8^^http://www.w3.org/2001/XMLSchema#integer))