title: Cypher: Avoid duplicate nodes
body: <p>Have the below relationship</p>
  
  <pre><code>Bob-[:TWINS]-Alice
  </code></pre>
  
  <p>I need to return all twins. Below is the cypher being used but returns duplicates</p>
  
  <pre><code>MATCH a-[:TWINS]-b 
  RETURN a.name, b.name
  </code></pre>
  
  <p><a href="http://console.neo4j.org/r/ft1lk3" rel="nofollow">I've set this up in Neo4j console here</a>.</p>
  
  <p>How not to return duplicates? I know this can be easily fixed by including the direction of the relationship but here the direction is not relevant. So wondering how to avoid duplicates.</p>