What is the {binary star} with the {MAX(color index)} ?
The highest color index belongs to which binary star?
what is the binary star has the highest color index?
SELECT ?s WHERE { ?s property:color_index ?j . ?s rdf:type ontology:binary_star }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q50053>.
?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/P1458>.
?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:Q50053 . ?ent wdt:P1458 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Proxima Centauri Beta Apodis Eta Serpentis Eta Carinae Altair