title: Neo4j Cypher query : Club users likes with friends like
body: <p>I have a neo4j graph which looks like this :</p>
  
  <pre><code>  (user)-LIKES-&gt;(Actor)
      |              ^
      |              |
    FRIENDS         LIKES
      |              |
      v              |
    (user2)-----------
  </code></pre>
  
  <p>Which states, user friends with user2 and user likes actor and friend (user2) likes actor too.</p>
  
  <p>Now, given actor, when I try to pull all the users friends who like Actor, I do something like  this :</p>
  
  <pre><code>START user=node(*)
  MATCH (user)-[:FRIENDS]-(friend)-[like_rela:LIKES]-(actor)
  WHERE user.uid=123 AND actor.id = 234
  RETURN DISTINCT friend, like_rela;
  </code></pre>
  
  <p>The above query returns all my user's friends who like an actor. This does not return the relationship between the user and the actor though. Is there a way I can club this into the same query ?</p>
  
  <p>I am using Neo4j 1.9</p>
  
  <p>Thanks</p>