What is the {brand} with the {MAX(scale)} whose {instance of} is {brand}  ?
What brand scaled the highest?
What is the brand with the highest scale whose instance of is brand ?
SELECT ?w WHERE { ?w rdf:type ontology:brand . ?w property:scale ?y . ?w rdf:type ontology:brand }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q431289>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q431289 . ?ent wdt:P1752 ?obj . ?ent wdt:P31 wd:Q431289 } ORDER BY DESC(?obj)LIMIT 5 
Scalextric