what is the amusement ride with capacity smaller than 20?
Entity Entity Entity Entity Entity Entity
m.0b6kkx1 m.027y_qz m.0d5kk7 m.0ch23r1 m.0h_hv07 m.0h_hv1s
Teststrecke Toy Story Midway Mania! Dragon Dragon Descent Haunted Mansion Haunted Mansion
class literal
amusement_parks.ride 20^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.ride type.int
Amusement Ride 20
none <=
amusement_parks.ride.capacity
Capacity (riders per hour)
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 <= "20"^^<http://www.w3.org/2001/XMLSchema#integer>)
?x0 :amusement_parks.ride.capacity ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND amusement_parks.ride (le amusement_parks.ride.capacity 20^^http://www.w3.org/2001/XMLSchema#integer))