the result is \'[path[v[5:2], e[S5:2>6>>S5:1][5:2-follow->5:1], v[5:1]]]\'.I want to use a general method to analyze by java