title: Cypher temp relationship
body: <p>I'm trying to combine / merge a path into a new relationship. The problem is that I'm not interested in storing it but rather return it as a result of a cypher query.</p>
  
  <p>Lets say I have something like this:</p>
  
  <pre><code>(a)-[:CALLS_METHOD]-&gt;(b)-[:RETURNS_TYPE]-&gt;(c)
  </code></pre>
  
  <p>How can I create a temporary relationship like this one:</p>
  
  <pre><code>(a)-[:DEPENDS_ON]-&gt;(c)
  </code></pre>
  
  <p>Only for a result of that particular query, so that I don't have to store it. Because I'm really only interested in the dependency from <code>a</code> to <code>c</code> and not the details about of that dependency.</p>