which roller coasters last less than 145.0 and have a capacity of 1500?
Entity Entity Entity Entity Entity Entity
m.0853p4 m.0c28g9 m.0cn84z m.0dtnj7 m.0fnn5f m.026ktj2
El Toro Kraken Air Colossos Titan Monte Makaya
class literal literal
amusement_parks.roller_coaster 145.0^^http://www.w3.org/2001/XMLSchema#float 1500^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.roller_coaster type.float type.int
Roller Coaster 145.0 1500
none <= none
amusement_parks.ride.duration amusement_parks.ride.capacity
Duration 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.roller_coaster . 
FILTER (?x1 <= "145.0"^^<http://www.w3.org/2001/XMLSchema#float>)
VALUES ?x2 { "1500"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :amusement_parks.ride.duration ?x1 . 
?x0 :amusement_parks.ride.capacity ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND amusement_parks.roller_coaster (AND (le amusement_parks.ride.duration 145.0^^http://www.w3.org/2001/XMLSchema#float) (JOIN amusement_parks.ride.capacity 1500^^http://www.w3.org/2001/XMLSchema#integer)))