What is the {lake} with the {MAX(residence time of water)} whose {basin country} is {Canada}  ?
What is the biggest lake in Canada?
What is the largest lake in Canada?
SELECT ?l WHERE { ?l property:residence_time_of_water ?o . ?l rdf:type ontology:lake . ?l property:basin_country resource:Canada }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q23397>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q23397 . ?ent wdt:P3020 ?obj . ?ent wdt:P205 wd:Q16 } ORDER BY DESC(?obj)LIMIT 5 
Doré Lake Wabamun Lake Okanagan Lake Atlin Lake Wood Lake