How to query all predicates from one node by one predicate?

You can create a generic Type and use the same one in all entities you have. If you don’t need the Type System in the usual way, you can use it as you wish.

I would recommend that you use generics but maybe break it in small chunks e.g:

type BasicL1 {
  name
  title
}

type BasicL2 {
  pred2
  pred3
  ...
}

type BasicL3 {
  pred22
  pred21
  ...
}

That way you can use like

{
  get_all_predicates(func: eq(<类型>, "动作")) {
    expand(BasicL1)
  }
}
{
  get_all_predicates(func: eq(<类型>, "动作")) {
    expand(BasicL1, BasicL2)
  }
}
{
  get_all_predicates(func: eq(<类型>, "动作")) {
    expand(BasicL1, BasicL2, BasicL3)
  }
}