What is the {terrorist attack} with the {MAX(number of survivors)} ?
Which terrorist attack left as many survivors as possible
Which terrorist attack left maximum number of survivors?
SELECT ?j WHERE { ?j rdf:type ontology:Q5710433 . ?j property:number_of_survivors ?w }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5710433>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1561>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q5710433 . ?ent wdt:P1561 ?obj } ORDER BY DESC(?obj)LIMIT 5 