What is the {drug} with the {MAX(heat capacity)} whose {phase point} is {triple point}  ?
Which three - point medicine has the highest heat capacity?
Which triple point drug has the highest heat capacity ?
SELECT ?j WHERE { ?j property:heat_capacity ?v . ?j rdf:type ontology:medication . ?j property:phase_point resource:triple_point }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12140>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q12140 . ?ent wdt:P2056 ?obj . ?ent wdt:P873 wd:Q106410 } ORDER BY DESC(?obj)LIMIT 5 