title: cypher with multiple relationships filter
body: <p>I have the following query    </p>
  
  <pre><code>MATCH (wallstreet { title:'Wall Street' })&lt;-[r:ACTED_IN|DIRECTED]-(person)
  RETURN person
  </code></pre>
  
  <p>I need to</p>
  
  <ol>
  <li><p>apply a filter on <code>ACTED_IN</code> and <code>DIRECTED</code> separately. </p></li>
  <li><p>a path could contain <code>ACTED_IN</code> twice. I may need to apply two conditions with <code>OR</code> or <code>AND</code>.</p></li>
  <li><p>apply INCOMING and OUTGOING and BOTH separately for ACTED_IN and DIRECTED </p></li>
  </ol>
  
  <p>Can any body provide the cypher query that satisfies the above three requirements?</p>
  
  <h2>Pseudo cypher</h2>
  
  <pre><code>MATCH (wallstreet { title:'Wall Street' })&lt;-[r:ACTED_IN{Name:"Titanic"}|r1:DIRECTED{Name:"iceage1"}|r1:DIRECTED{Name:"Iceage2"}]-(person)
  RETURN person
  </code></pre>
  
  <p>IF you observe the Psedo code , I have changed only relationship part .I added Three relationships in which TWO are of same type.I added filter properties for each relationships in relationship part.</p>