What is the {song} with the {MAX(units sold)} whose {performer} is {Johnny Hallyday}  ?
What Johnny Halladay song has sold the most?
What song by Johnny Hallyday has sold the most?
SELECT ?f WHERE { ?f property:performer resource:Johnny_Hallyday . ?f rdf:type ontology:song . ?f property:units_sold ?t }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7366>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q7366 . ?ent wdt:P2664 ?obj . ?ent wdt:P175 wd:Q212015 } ORDER BY DESC(?obj)LIMIT 5 