For example, I have Product nodes and Category nodes. Some nodes are both Product and Category and created separately, not created with multiple labels.
Product(A)
Category(B)
If A.name = 'Smart Phone' and B.name='Smart Phone'. How to write a query to return all nodes like 'A'? That is, A is a Product, and B is a category, their 'name' property is the same. Based on the same name, I want to find all Product nodes like 'A'.