cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Cypher query to select paths according to some relationship property comparison.

Hi all. I am currently writing a cypher query in neo4j for rendering a subgraph from a start node, describing all my relations as well as their directions for rendering the graph. I wanted to filter this graph output to only bring me paths/resulting graph which follows a certain condition. In my case I want to compare edge properties from 2 edge types. eg: lets say edge 1 is 'xyz' and edge 2 is 'pqr' and both these edges have common property called action and effect. Now, while writing the cypher query for  the graph(i'm using apoc.path.subgraph) is there some way that i can compare these common properties among all paths?

0 REPLIES 0