You can run cypher statements from Python using Py2neo.  I'm not sure I 
really understand what you're trying to accomplish.  Do you want to scan 
nodes and then add relationships based on the nature of the property values 
you described, i.e. A100 is a parent to A1001 so add a relationship between 
those two nodes?

On Friday, May 5, 2017 at 10:33:17 AM UTC-5, Swapnil Kumar wrote:
>
> If there is a graph with nodes having a string value (say :- A100) and 
> there is another node having the string value stored in it (say :- A1001) 
> then it implies that these 2 are correlated or we can say that A100 is the 
> parent to A1001. So if there are nodes with matching string codes then the 
> subset string will be the parent to the other one. 
> So I need to write a python script which will relate with the properties 
> of the nodes. I found Cypher statements doing the same but couldn't relate 
> it to python.
>

-- 
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.

Reply via email to