For anyone looking to do something similar, here’s another working example in v0.8.3:
{
ns as var(func: eq(VertexType, "Namespace")) @filter(eq(Name, "General"))
}
mutation {
set {
_:a <Name> "This thing" .
_:a <Namespace> uid(ns) .
}
}