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.

Query to get all node with all relation except one

Hi
I'm creating a medical graph using node js.
I add to each node a tags nodes with a relation tag.
I to each node there are other relations like treatments and side-effects.
is there a way to get all relations of a node (with the nodes) except the tag relations nodes?

Thank you all
Yizhak

3 REPLIES 3

Could you provide example mini graph? (e.g. CREATE statements), so we can see what the relationships and properties are? it would be very helpful. And then what you want to query for (and exclude), ideally with an example output.

Hi
I have provided a


a screenshot I want to query all treatments (red nodes), with all the node and relations
like treatment and side effects without the tag relations

any clue? I need to create a query that will return all node and relations besides the tag relations