title: Neo4j: delete self relationship
body: <p>In Cypher (Neo4j), I am able to delete relationship using id. But When I try to delete self relationship, query is running for long time and relationship is not deleted.</p>
  
  <p>I have tried following many ways:</p>
  
  <ol>
  <li><p><code>start r=rel(5828) delete r;</code></p></li>
  <li><p><code>MATCH (p:Person{fid:'60'})-[r:IS_RELATED_TO]-&gt;(p:Person{fid:'60'})</code> delete r</p></li>
  <li><p><code>match (a:Person)-[rel:IS_RELATED_TO]-&gt;(b:Person) where a.fid="60" and ID(rel)=5828 delete rel</code></p></li>
  </ol>
  
  <p>But not able to delete from any above way.</p>
  
  <p>Screenshot to delete self relationship using id:</p>
  
  <p><a href="https://i.stack.imgur.com/TAGDm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TAGDm.png" alt="enter image description here"></a></p>