What is the {belt sander model} with the {MAX(power consumed)} whose {brand} is {Ridgid}  ?
What rigid belt sander uses the most electricity?
Which Rigid belt sander model consumes the most electricity?
SELECT ?l WHERE { ?l property:brand resource:Ridgid . ?l rdf:type ontology:belt_sander_model . ?l property:power_consumed ?h }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q23811260>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q23811260 . ?ent wdt:P2791 ?obj . ?ent wdt:P1716 wd:Q7276772 } ORDER BY DESC(?obj)LIMIT 5 
Ridgid R2720 Ridgid R2720