Adding RelType Query node