I'm not really sure how to ask this. I have a graph in which there are multiple paths between nodes. If I use the syntax below, neo4j will return a value for each node pair and each path between the node pairs. I only want it to return one value per node pair, how do I do that?
MATCH (a)--(b:Item)--()--(d) WHERE id(a)=4 RETURN d.Name