What is the {raising agent} with the {MAX(sublimation temperature)} whose {topic's main category} is {Category:Carbon dioxide}  ?
In the category Carbon dioxide, which agent has the highest sublimation temperature?
What is the raising agent with the highest sublimation temperature whose topic's main category is Category:Carbon dioxide?
SELECT ?w WHERE { ?w rdf:type ontology:raising_agent . ?w property:topic's_main_category resource:Category:Carbon_dioxide . ?w property:sublimation_temperature ?p }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q908833>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q908833 . ?ent wdt:P2113 ?obj . ?ent wdt:P910 wd:Q7461951 } ORDER BY DESC(?obj)LIMIT 5 