Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下图表
我想编写一个查询,返回 doc 节点,其中complex节点可能[COMPOSED_OF]与类型节点有 2 个或更多关系keyword
complex
[COMPOSED_OF]
keyword
假设您从类别开始,您可以尝试
START cat=<lookup category node> MATCH (cat)-->()-[r:COMPOSED_OF]->()-[:FOUND_IN]->(doc) with count(r) as composedCount, doc WHERE composedCount>2 return doc
[请注意,我还没有真正执行此操作]