Querying and predicate projections

What I want to do

Query a property and project its value into a bool representing whether its relation is there or not.

What I did

See query example.

Dgraph metadata

{
  var(func: uid(0x1d61f91)) @filter(type(MyType1)) {
    is_watching @filter(type(MyType2) AND uid(0x2394e60)) {
      v as count(uid)
    }
  }
    
  data(func: uid(0x2394e60)) @filter(type(MyType2)) {
    uid
    is_watching: gt(val(v), 1)
  }
}

Above test schema:

type MyType1 {
   is_watching
}

type MyType2 {
}

is_watching: [uid] .

Above queries fails lexing:

{
  "name": "t",
  "url": "http://localhost:8080/query?timeout=20s",
  "errors": [
    {
      "message": "line 10 column 23: Expecting a colon. Got: lex.Item [11] \"(\" at 10:23 in gt",
      "extensions": {
        "code": "ErrorInvalidRequest"
      }
    }
  ]
}

Is this expected behaviour or is there a different approach?

Just quickly.

Have you seen the has function?
https://dgraph.io/docs/query-language/functions/#has