What is the {star} with the {MAX(parallax)} ?
The highest parallax belongs to which star?
What star has the highest parallax?
SELECT ?b WHERE { ?b rdf:type ontology:star . ?b property:parallax ?v }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q523>.
?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/P2214>.
?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:Q523 . ?ent wdt:P2214 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Alpha Centauri A Alpha Centauri B Alpha Centauri A Wolf 359 Lalande 21185