What is the {Class IB flammable liquid} with the {MAX(upper flammable limit)} whose {instance of} is {occupational carcinogen}  ?
Which Class IB flammable liquid, whose occupational instance is carcinogen, possessing the largest upper flammable limit?
What is the Class IB flammable liquid with the highest upper flammable limit whose instance of is occupational carcinogen?
SELECT ?y WHERE { ?y rdf:type ontology:occupational_carcinogen . ?y property:upper_flammable_limit ?r . ?y rdf:type ontology:Class_IB_flammable_liquid }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q21009055>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q21009055 . ?ent wdt:P2203 ?obj . ?ent wdt:P31 wd:Q21074597 } ORDER BY DESC(?obj)LIMIT 5 
1,1-dimethylhydrazine methylhydrazine aziridine dioxane acrylonitrile