Message Text
The BIND variable is already bound by an earlier clause in the group graph pattern: variable1
Cause
A variable bound by a BIND clause is already bound by an earlier clause in the group graph pattern, and its value cannot be changed.
Response
Use a different variable name in the BIND clause, or remove the clause entirely.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.