title: How to get the label of a relationship
body: <p>If I have the cypher query</p>
  
  <pre><code>MATCH (a)-[r]-&gt;(b)
  </code></pre>
  
  <p>I can get the labels of a and b fine line so  </p>
  
  <pre><code>MATCH (a)-[r]-&gt;(b)
  RETURN labels(a), labels(b)
  </code></pre>
  
  <p>But when I want the label of <code>r</code> using the same syntax</p>
  
  <pre><code>MATCH (a)-[r]-&gt;(b)
  RETURN labels(r)
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>Type mismatch: expected Node but was Relationship
  </code></pre>
  
  <p>How do I return the label of <code>r</code>, the relationship? </p>