What is the {nuclear weapon} with the {MAX(explosive energy equivalent)} ?
WHAT IS THE NUCLEAR WEAPON WITH MAXIMUM EQUIVALENT ENERGY
WHICH IS THE NUCLEAR WEAPON WITH MAXIMUM EXPLOSIVE ENERGY EQUIVALENT
SELECT ?k WHERE { ?k rdf:type ontology:nuclear_weapon . ?k property:explosive_energy_equivalent ?o }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12802>.
?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/P2145>.
?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:Q12802 . ?ent wdt:P2145 ?obj } ORDER BY DESC(?obj)LIMIT 5 
RDS-1 The Gadget