title: Chain UNWIND in cypher query
body: <p>I am attempting to use two lists to create nodes/relationships in cypher. Using the solution for <a href="https://stackoverflow.com/questions/30744331/end-unwind-statement-in-a-cypher-query">this related question</a>, my current solution is:</p>
  
  <pre><code>MERGE (t:Test)
  WITH t
  UNWIND ["a","b"] AS name                      // first list
  MERGE (t)-[:FOO_REL]-&gt;(a:Foo { name: name })
  WITH DISTINCT t
  UNWIND [100,200] AS id                        // second list
  MERGE (t)-[:BAR_REL]-&gt;(b:Bar { id: id })
  </code></pre>
  
  <p>This works as long as both lists have entries in them. However, if the first list is empty then the second list is never unwound (and no <code>:Bar</code> nodes are created).</p>
  
  <p>How would I go about chaining <code>UNWIND</code>s such that I can create nodes/relationships from two separate lists in a single query?</p>