What is the {school shooting} with the {MAX(number of perpetrators)} whose {target} is {high school student}  ?
Which high school shooting had the most number of shooters?
Name the high school shooting with the most shooters ?
SELECT ?s WHERE { ?s property:number_of_perpetrators ?t . ?s rdf:type ontology:school_shooting . ?s property:target resource:high school student }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q473853>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3886>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P533> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q16517586> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q473853 . ?ent wdt:P3886 ?obj . ?ent wdt:P533 wd:Q16517586 } ORDER BY DESC(?obj)LIMIT 5 