Let's say you have the following 4 nodes:
Set 1: (act: "Event Log", timestamp: 3461000) (act: "Uptime Report", timestamp: 3461000)
Set 2: (act: "Event Log", timestamp: 149100) (act: "Uptime Report", timestamp: 149100)
I am trying to figure out how to map each set of nodes to one node. I tried the following Cypher but all 4 nodes are mapping to only one node, (a) instead of creating two (a) nodes and mapping the 2 sets respectively. Is it necessary to have a condition that looks for the matching timestamp of the (act)
nodes? Then, if the timestamp do match then link those nodes to (a)? Any help would be greatly appreciated.
MATCH (seconds)<-[:AT_TIME]-(act)--(obj)
WHERE reqObj.filename IN ["6013", "6005"]
MERGE (a:Abs{name: 'SigEvent'})
CREATE (reqAct)-[:LINK]->(a)