The @normalize
directive
returns only edges listed with an alias, and
flattens the result to remove nesting
Aliased names can be the same as the original edge.
{
michael_and_pet_name(func: allofterms(name@., "Michael")) @normalize {
name : name
age
owns_pet {
pet: name
}
}
}
2.15 Normalize