title: How do I query for relationship data in spring data neo4j 4?
body: <p>I have a cypher query that is supposed to return nodes and edges so that I can render a representation of my graph in a web app. I'm running it with the <code>query</code> method in Neo4jOperations.</p>
  
  <pre><code>start n=node({id}) match n-[support:SUPPORTED_BY|INTERPRETS*0..5]-&gt;(argument:ArgumentNode)
  return argument, support
  </code></pre>
  
  <p>Earlier, I was using spring data neo4j 3.3.1 with an embedded database, and this query did a fine job of returning relationship proxies with start nodes and end nodes. I've upgraded to spring data neo4j 4.0.0 and switched to using a remote server, and now it returns woefully empty LinkedHashMaps.</p>
  
  <p>This is the json response from the server:</p>
  
  <pre><code>{"commit":"http://localhost:7474/db/data/transaction/7/commit","results":[{"columns":["argument","support"],
      "data":[
          {"row":[{"buildVersion":-1},[]]},
          {"row":[{"buildVersion":-1},[{}]]}
      ]}],"transaction":{"expires":"Mon, 12 Oct 2015 06:49:12 +0000"},"errors":[]}
  </code></pre>
  
  <p>I obtained this json by putting a breakpoint in DefaultRequest.java and executing EntityUtils.toString(response.getEntity()). The query is supposed to return two nodes which are related via an edge of type <code>INTERPRETS</code>. In the response you see <code>[{}]</code>, which is where data about the edge should be.</p>
  
  <p>How do I get a response with the data I need?</p>