Message Text
Variable value supplied by the calling environment: variable1
Cause
A variable bound by a VALUES or BIND clause is already bound in the map passed into the call to sem:sparql() or sem:sparql-triples().
Response
Use a different variable name in the VALUES or 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.