What is the {profession} with the {MAX(base salary)} ?
What calling has the most noteworthy base salary?
What profession has the highest base salary?
SELECT ?q WHERE { ?q property:base_salary ?x . ?q rdf:type ontology:profession }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q28640>.
?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/P3618>.
?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:Q28640 . ?ent wdt:P3618 ?obj } ORDER BY DESC(?obj)LIMIT 5 
high school teacher high school teacher