What is the {aldehyde} with the {MAX(median lethal dose)} ?
What aldehyde has the highest lethal dose?
What is the aldehyde with the highest median lethal dose?
SELECT ?g WHERE { ?g property:median_lethal_dose_(LD50) ?s . ?g rdf:type ontology:aldehydes }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q101497>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2240>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q101497 . ?ent wdt:P2240 ?obj } ORDER BY DESC(?obj)LIMIT 5 
acetaldehyde acetaldehyde acetaldehyde acetaldehyde acetaldehyde