What is the {material} with the {MAX(yield strength)} whose {use} is {desalination plant}  ?
What material usend in desalination plants had the biggest yield strength?
What desalination plant material has the greatest yield strength?
SELECT ?m WHERE { ?m rdf:type ontology:material . ?m property:use resource:desalination_plant . ?m property:yield_strength ?t }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q214609>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q214609 . ?ent wdt:P5529 ?obj . ?ent wdt:P366 wd:Q51932686 } ORDER BY DESC(?obj)LIMIT 5 