what venue can seat 19840?
Entity
m.07_n9w
Mendizorrotza Stadium
class literal
architecture.venue 19840^^http://www.w3.org/2001/XMLSchema#integer
architecture.venue type.int
Venue 19840
none none
architecture.venue.capacity
Seating capacity
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 :architecture.venue . 
VALUES ?x1 { "19840"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :architecture.venue.capacity ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND architecture.venue (JOIN architecture.venue.capacity 19840^^http://www.w3.org/2001/XMLSchema#integer))