What is the {human} with the {MAX(EGF rating)} ?
Give the name of the human with the highest EGF rating.
Which human has the highest EGF rating?
SELECT ?t WHERE { ?t rdf:type ontology:human . ?t property:EGF_rating ?s }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5>.
?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/P4105>.
?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:Q5 . ?ent wdt:P4105 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Dragoș Băjenaru