What is the {lake water body} with the {MAX(perimeter)} whose {WFD Ecological status} is {WFD Ecological status: Moderate status}  ?
Which lake, with a moderate WFD Ecological status, has the largest surrounding area?
What is the name of the lake which has the greatest perimeter and also has a moderate WFD Ecological status?
SELECT ?s WHERE { ?s property:WFD_Ecological_status resource:WFD_Ecological_status:_Moderate_status . ?s property:perimeter ?q . ?s rdf:type ontology:lake_water_body }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q30092776>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q30092776 . ?ent wdt:P2547 ?obj . ?ent wdt:P4002 wd:Q30092136 } ORDER BY DESC(?obj)LIMIT 5 
Storsjön Bolmen Siljan Revsund lake Åsunden Östergötland