which amusement ride has a capacity of 640 riders per hour?
Entity Entity
m.0479ykz m.02vqrmz
Sea Dragon Kirnu
class literal
amusement_parks.ride 640^^http://www.w3.org/2001/XMLSchema#integer
amusement_parks.ride type.int
Amusement Ride 640
none 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 . 
VALUES ?x1 { "640"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :amusement_parks.ride.capacity ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND amusement_parks.ride (JOIN amusement_parks.ride.capacity 640^^http://www.w3.org/2001/XMLSchema#integer))