Hi @jiaBai In this query , Static operand is expected at right hand side(which is name(b)). I am also curios to know if we can compare these two nodes using query,If your usecase is to do some cleanup then I would suggest you to write groovy or small servlet and iterate the ndoe and do comparison...