I have a question. I am trying to run this query.
START n= NODE(5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760)
MATCH p=(a)-[:KNOWS]-(n)-[:KNOWS]-(b)
OPTIONAL MATCH q=(a)-[:KNOWS]-(b)
RETURN Distinct n.name AS ID,COUNT(distinct p) as NR, COUNT(q) as BR;
The results are bit weird. My DB has 276597
nodes and 401634
relationships in total. But in the result of the above query I have 392502
relationships for one node in graphical view. I found 2 q relationships
but in tabular form they are zero!
Here are the results of the above query: