>
> I tried it but it is taking so much time. It is because the path   
> -[:Seller|Buyer*0..]-(sellerCompanyTopic) make it very slow.
>

Does this mean that you have at least ONE -[Seller]->[Buyer]-> pair?
It can also be that there is not seller buyer pair.

SAMPLE output should be:

 Seller (child of tree are buyer of 'Seller')
Buyer (child of tree are buyer of 'Buyer' as seller in the relationship)
Buyer^1 (child of tree are buyer of 'Buyer^1' as seller in the relationship)
Buyer^2
Buyer^1
Buyer^1
Buyer^2(child of tree are buyer of 'Buyer^2' as seller in the relationship)
Buyer^3
Buyer
Buyer^1
Buyer^1
Buyer^1
Buyer^3

Please see SalesRelationModel.png
You can see on that image that there is a node SalesRelation with a seller, 
a buyer company, a contract and etc. So the SaleRelation is the hub that 
connect all information necessary for a sale to exist.
The buyer company is also a seller to other smaller company with a 
different SalesRelation but are connected(because we are referring to the 
same buyer) and so on...



-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: SalesRelation.json
Description: application/json

Reply via email to