title: neo4j: how to return only specific properties from path
body: <p>I match some path and I want that path to be returned. But i don't need whole nodes, I need just their ids. I tried:</p>
  
  <pre><code>match path = 
  return path {id}
  </code></pre>
  
  <p>but i get syntax error</p>