title: Find connected groups over levels
body: <p>A node A has 3 connected Nodes B1, B2, B3. Those Bx Nodes have again connected Nodes C1,C2,C3 and C4. Also Node A have 2 connected nodes C5 and C6.</p>
  
  <p>Starting with node A I want to collect all C-nodes. I did a query for the A node, collect the two C-Nodes, then a query for the B-nodes, collect again all C-nodes and merge both arrays. Work but is not very clever.</p>
  
  <p>I tried (Pseudocode)</p>
  
  <pre><code>MATCH (g)&lt;-[:IS_SUBGROUP_OF*1]-(i)-[:HAS_C_NODES]-&gt;(c) WHERE g = A.uuid  RETURN C_NODES
  </code></pre>
  
  <p>But I get either all c-nodes for A or for the B-nodes</p>
  
  <p>How would I do a query that collects all C-Nodes starting with Node A?</p>
  
  <p><strong>* edited *</strong> 
  Here is some example data:</p>
  
  <pre><code>CREATE (a:A), (b1:B1), (b2:B2), (b3:B3), (c1:C1), (c2:C2), (c3:C3), (c4:C4), (a)-[r:HAS]-&gt;(c4), (a)-[r1:HAS]-&gt;(b1), (a)-[r2:HAS]-&gt;(b2), (a)-[r3:HAS]-&gt;(b3), (b1)-[r4:HAS]-&gt;(c1), (b1)-[r5:HAS]-&gt;(c2), (b2)-[r6:HAS]-&gt;(c3)
  </code></pre>
  
  <p>A query should return all nodes starting with C, no matter to which node they are connected (A or B).</p>