from #dynamic(Product p1), #dynamic(Product p2), Concordance c select #done(p1.@id), c.@id where c.source == p1, #done(p1.@id == #312f9128-5e04-3e09-bb4a-efef23627994), p1-[c]-> p2
Becomes:
match (v0 :Product)-[c:Concordance]-\>(__n2 )\nwhere (v0.`Product.@id`) = ($p1_1) and ($p1_2)-[:Concordance*]-\> ($p2_3)\nreturn c.`Concordance.@id` as `c.Concordance.@id`"
Example:
Becomes:
(Three distinct params instead of two)