Nodes :
Template -> Id =1 , Name = T1;
Segment -> Id =1 , Name = S1;
Segment -> Id =2 , Name = S2;
Relationships :
T1 - [r1:REL] -> S1;
T1 - [r2:REL] -> S2
Each relationship ( r1 and r2) has a property called LineIds which are integer array. Therefore, r1.LineIds = [1,3] and r2.LineIds = [1,2]
I am trying to get the intersection of both the LineIds.
I am trying to call apoc.coll.intersection() function using .Net driver Neo4jClient but it is throwing some or the other error. However, It is working in Neo4j Browser like
match (:Template)- [r1:REL] -> (m:Segment), (:Template) - [r2:REL] -> (n:Segment)
return apoc.coll.intersection(r1.LineIds, r2.LineIds) as result
Can somebody tell me the correct syntax in .net?