What is the {star} with the {MAX(proper motion)} ?
What's the highest proper motion of the star?
what is the star has the highest proper motion?
SELECT ?u WHERE { ?u rdf:type ontology:star . ?u property:proper_motion ?g }
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/P2215>.
?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:P2215 ?obj } ORDER BY DESC(?obj)LIMIT 5 