What is the {naval artillery} with the {MAX(effective firing range)} ?
What naval gun has the best firing range?
Which naval artillery has the most effective firing range?
SELECT ?b WHERE { ?b rdf:type ontology:naval_artillery . ?b property:effective_firing_range ?w }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q511450>.
?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/P4176>.
?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:Q511450 . ?ent wdt:P4176 ?obj } ORDER BY DESC(?obj)LIMIT 5 
38 cm SK L/45