Neo4j : How to create a unique node instead of set of nodes

I want to create a new node (event nodes) among a set of nodes (report nodes) according to the indicator nodes (each report node has several indicator nodes related to it). I want to set the new event nodes with the rules:

  1. a report nodes is only connected one event node
  2. if more than one indicator nodes has the same property "pattern", then they belong to the same event node

here are my query code :


and get the result as below,
enter image description here

But i want the three report nodes belong to one event node.
I want to know what changes should I make to my query ,or what next step should I take after getting the two event nodes.

What's more , I want to know wheter there is a more efficient query code than mine.


finally, i get the answer :