What is the {Class II combustible liquid} with the {MAX(median lethal concentration)} whose {has effect} is {allyl glycidyl ether exposure}  ?
What is the Class II flamable liquid with the highest median deadly attention whose has effect is allyl glycidyl ether exposure?
What is the Class II combustible liquid with the highest median lethal concentration whose has effect is allyl glycidyl ether exposure?
SELECT ?i WHERE { ?i rdf:type ontology:Class_II_combustible_liquid . ?i property:has_effect resource:allyl_glycidyl_ether_exposure . ?i property:median_lethal_concentration_(LC50) ?x }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q21009057>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q21009057 . ?ent wdt:P2712 ?obj . ?ent wdt:P1542 wd:Q21167694 } ORDER BY DESC(?obj)LIMIT 5 
allyl glycidyl ether allyl glycidyl ether