Thank you andrew for an anticipated response.
Every query you explained if understood and implemented, then we would make use of it in our project somewhere.
[1]
Currently, i want to know which all nodes have "requestID" with "Parameter" as the relationship . Therefore i wrote this query -
WITH ['requestID'] as names
MATCH (p)-[:Parameter]-(m)
WHERE p.name in names
RETURN m
And here , requestID is in two nodes - claimIntimationRequestBody & claimIntimationRequestHeader .
Is this the right approach ? We actually want to make a Venn Diagram where we show nodes and there intersections ? Should the intersections in the venn diagram be shown according to the above query where i will pass every node name in it and find its output.? Or is there an even better query for it.
[2]
The query that you gave is -
MATCH (p {name:'requestID'})
WHERE size((p)-[:Parameter]-()) > 1
RETURN p
returns no output . Here is the screenshot -
[3]
Also,
this query is unanswered. Can you please answer it. -