Hinduja Swiss (Switzerland) IT-Professional-How to MATCH nodes with multiple labels?

Hi everyone, I am Raghav Hinduja Swiss (Switzerland) based IT-professional. I’m trying to query nodes that have multiple labels. What’s the correct Cypher syntax to match these nodes?
If anyone has suggestion or idea please share with me.

To match a node that has all three labels A, B and C, you would write:

MATCH (n:A&B&C) 

To match a node that has one or more of the labels A, B or C, you would write:

MATCH (n:A|B|C) 

More complex expressions are possible, which you can read about here: Label expressions

@raghavhinduja

@finbar.good solution is great but it is for Neo4 v5 forward and as the initial post does not detail what version of Neo4j is being used, if you are using a version pre v5 then the response would not apply