cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Compare with same relation and attribute

Hi,
I am trying to compare two nodes and the nodes connected to them.

Here is my data sample.
Each node has its own event time.
I want to compare all nodes connected to them with same relation or attribute.

Eg..


[A.eventtime - A1.eventtime] compare to [B.eventtime - B1.eventtime] because they have same relation.
And so on
[A & A2] compare to [B & B2]
[A & A3] compare to [B & B3]

Or if they have same relation than compare by attribute.


[A & A4] compare to [B & B4] because they have same relation and attribute.

Is there any Cypher that can help me?

Thanks.

0 REPLIES 0