What is the {stainless steel} with the {MAX(operating temperature)} whose {has part} is {nitrogen}  ?
What is the highest operating temperature for stainless steel with part nitrogen?
What is the stainless steel with the highest operating temperature whose has part is nitrogen?
SELECT ?f WHERE { ?f rdf:type ontology:stainless_steel . ?f property:has_part resource:nitrogen . ?f property:operating_temperature ?x }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q172587>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q172587 . ?ent wdt:P5066 ?obj . ?ent wdt:P527 wd:Q627 } ORDER BY DESC(?obj)LIMIT 5 