What is the {insecticide} with the {MAX(melting point)} whose {has part} is {phosphorus}  ?
Please provide the name of the insecticide with the highest melting point that contains phosphorus.
What insectiside which contains phosphorus has the highest melting point?
SELECT ?h WHERE { ?h rdf:type ontology:insecticide . ?h property:has_part resource:phosphorus . ?h property:melting_point ?o }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q181322>.

?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/P2101>.
?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/Q674> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q181322 . ?ent wdt:P2101 ?obj . ?ent wdt:P527 wd:Q674 } ORDER BY DESC(?obj)LIMIT 5 
chlorpyrifos parathion malathion