1. 인디음악 네트워크
https://github.com/traustid/neo4j-indie-music
MATCH (a:Group {name: 'Tortoise'})-[r:ASSOCIATED_WITH*1..3]-(d) RETURN a, r, d
MATCH (a:Group)-[r*1..6]-(d) WHERE a.name = 'Tortoise' OR a.name = 'Godspeed You! Black Emperor' RETURN a, r, d
This network illustrates four main clusters, each of which centers around Tortoise, Broken Social Scene, Godspeed You! Black Emperor and then Wilco and Sonic Youth!
Making it simpler doesn’t always make things simpler
Cypher can simplify networks by adding relations between nodes that have one node in between. In this case we can visualize a network without the people and with direct relationships between bands. To do this we use the UNWIND
method of Cypher:
MATCH (g1:Group)(g2:Group) WITH g1, collect(distinct g2) as gs UNWIND gs as g2 MERGE (g1)-[r:SHARE_MEMBERS]-(g2) RETURN g1, r, g2
2. xxx 네트워크
on the construction