What is the {tropical cyclone} with the {MAX(cost of damage)} whose {topic's main category} is {Category:Hurricane Sandy}  ?
What is the tropical cyclone with the best cost of harm whose topic's predominant category is Category:Hurricane Sandy ?
What is the tropical cyclone with the highest cost of damage whose topic's main category is Category:Hurricane Sandy ?
SELECT ?k WHERE { ?k property:cost_of_damage ?r . ?k rdf:type ontology:tropical_cyclone . ?k property:topic's_main_category resource:Category:Hurricane_Sandy }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q8092>.

?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/P2630>.
?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/P910> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8528870> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q8092 . ?ent wdt:P2630 ?obj . ?ent wdt:P910 wd:Q8528870 } ORDER BY DESC(?obj)LIMIT 5 