title: How to retrieve the nodes with multiple relationships using cypher query
body: <p>Can some one please help me on this.</p>
  
  <p>I am using cypher query  to get the nodes that are having relationship as either 'hive' or 'hadoop' and i am able to get the nodes.</p>
  
  <p>but when i try to get the nodes that are having relationship as both 'hive' and 'hadoop' i am not able to get the nodes.</p>
  
  <p>This is the query i am using  </p>
  
  <p>start n=node(*) match (n)-[r]-() where type(r)="Hadoop" and type(r)="hive" return n,count(n);</p>
  
  <p>This query returns 0 rows.</p>
  
  <p>Is my query wrong or do i need to do it the other way.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Gouse</p>