20 survivors were in which aviation incident?
Entity Entity Entity Entity Entity Entity
m.03cdqx6 m.05b6ctq m.064ns0q m.066b93 m.0b6gp8s m.0g54wzy
2007 Free Airlines L-410 crash Turkish Airlines Flight 158 1977 Convair CV-300 crash USAir Flight 1016 British European Airways Flight S200P Swiss International Airlines Flight 850
class literal
aviation.airliner_accident 20^^http://www.w3.org/2001/XMLSchema#integer
aviation.airliner_accident type.int
Aviation incident 20
none none
aviation.airliner_accident.survivors
Survivors
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 :aviation.airliner_accident . 
VALUES ?x1 { "20"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :aviation.airliner_accident.survivors ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND aviation.airliner_accident (JOIN aviation.airliner_accident.survivors 20^^http://www.w3.org/2001/XMLSchema#integer))