What is the {stratovolcano} with the {MAX(topographic prominence)} whose {continent} is {South America}  ?
What is the name of the stratovolcano which has the highest topographic prominence in the South American continent?
Name the stratovolcano of highest topographic prominence in the South American continent.
SELECT ?r WHERE { ?r property:topographic_prominence ?x . ?r rdf:type ontology:stratovolcano . ?r property:continent resource:South_America }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q169358>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q169358 . ?ent wdt:P2660 ?obj . ?ent wdt:P30 wd:Q18 } ORDER BY DESC(?obj)LIMIT 5 
Cotopaxi volcano Ampato Chachani Llaima Illiniza volcano