What is the {Mutagen} with the {MAX(median lethal dose)} whose {instance of} is {ketone}  ?
Tell me the lethal dose of Ketone
What is the lethal dose of ketone?
SELECT ?z WHERE { ?z rdf:type ontology:ketone . ?z property:median_lethal_dose_(LD50) ?l . ?z rdf:type ontology:mutagen }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q221696>.

?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/P2240>.
?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/Q170744> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q221696 . ?ent wdt:P2240 ?obj . ?ent wdt:P31 wd:Q170744 } ORDER BY DESC(?obj)LIMIT 5 
acetone acetone acetone acetone acetone