What is the {locomotive class} with the {MAX(boiler pressure)} ?
What category of locomotives have higher pressure in the boiler?
what is the locomotive class has the highest  boiler pressure?
SELECT ?m WHERE { ?m property:boiler_pressure ?c . ?m rdf:type ontology:locomotive_class }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q19832486>.
?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/P5071>.
?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:Q19832486 . ?ent wdt:P5071 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Norfolk and Western Railway class J Great Northern Railway N-3 Great Northern Railway S-1 Great Northern Railway O-8 Great Northern Railway R-2