Neo4j Cypher: Find common nodes between a set of matched nodes
问题 Very similar to the question posted here I have the following nodes: Article and Words. Each word is connected to an article by a MENTIONED relationship. I need to query all articles that have common words where the list of common words is dynamic. From the clients perspective, I am passing back a list of words and expecting back a results of articles that have those words in common. The following query does the job WITH ["orange", "apple"] as words MATCH (w:Word)<-[:MENTIONED]-(a:Article)-[