What is the {weapon model} with the {MAX(muzzle velocity)} whose {subclass of} is {tank gun}  ?
Which tank gun has the highest muzzle velocity?
Which model of tank gun has the highest muzzle velocity?
SELECT ?r WHERE { ?r rdf:type ontology:weapon_model . ?r property:muzzle_velocity ?p . ?r rdf:type ontology:tank_gun }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q15142894>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q15142894 . ?ent wdt:P4137 ?obj . ?ent wdt:P279 wd:Q3241267 } ORDER BY DESC(?obj)LIMIT 5 
Škoda A7 Škoda A7 Škoda A3