Neo4j - Match by multiple relationship types
问题 I want to match between entities by multiple relationship types. Is it possible to say the following query: match (Yoav:Person{name:"Yoav"})-[:liked & watched & ... ]->(movie:Movie) return movie I need "and" between all the relation types; Yova liked and watched and .. a movie. 回答1: Yes, you can do something like: match (gal:Person{name:"Yoav"})-[:liked|:watched|:other]->(movie:Movie) return movie Take a look in the docs: Match on multiple relationship types EDIT: From the comments: I need