Get node for max value

Something like this

{
  var(func: has(score)) {
    S as score
  }
  var() {
   M as max(val(S))
  }
  me(func: uid(M)) {
    uid
    score
  }
}