Neo4j: Listing node labels
问题 I have 2 hierarchies in my database. Hierarchy 1: Company{name:'ABC', CompanyId:1,} <-- Category <-- SubCategory <-- Service <-- Asset <-- Anomaly Hierarchy 2: Company{name:'XYZ', CompanyId:21,} <-- Category <-- Service <-- Asset <-- Anomaly What is the best way to query node labels in my hierarchy for a CompanyId? I am looking for an output in the following format: CompanyId:1 Company Category SubCategory Service Anomaly CompanyId:2 Company Category Service Anomaly Thanks. 回答1: Assuming that