What is the {lake} with the {MAX(length)} ?
What is the longest lake?
Which lake has the largest length?
SELECT ?c WHERE { ?c property:length ?p . ?c rdf:type ontology:lake }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q23397>.
?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/P2043>.
?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:Q23397 . ?ent wdt:P2043 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Casa de Piedra Dam Lago Steffen Departure Lake Ukai Dam Müggelsee