I am trying to filter the graph with a relation attribute but I every time I do so, I get the graph with duplicated relations. To illustrate, I have the following query:
MATCH p=(j:JOB {job_id:138})-->(S:URL)-[r]->(T)
WHERE r.job_id=138 And s.netloc <> t.netloc
RETURN s,r,t
here I am trying to get all nodes and relation between S and T where node S is related to specific job. I am also trying to only SHOW the relations that has the attribute job_id == 138 because there are multiple relations r but only ONE relation has this attribute.
Every time I execute the query I keep getting all the relation as if I didn't have the WHERE clause.
I also tried it in the query in this way
MATCH p=(j:JOB {job_id:138})-->(S:URL)-[r:VISITED {job_id:138} ]->(T)
WHERE S.netloc <> T.netloc
RETURN S,r,T
However, I keep getting the same graph where I have multiple relations. Interestingly enough, when I look into the row view I only see the correct relations r. The ones that have job_id=138 only. Is this kind of a bug or something ???
Auto-Completeon? This would automatically populate all relationships between the nodesSandT... - ceej