101 lines
3.8 KiB
Plaintext
101 lines
3.8 KiB
Plaintext
// === MEMBERS ===
|
|
CREATE (:Member {name: "Onye"});
|
|
CREATE (:Member {name: "Eric Westerhold"});
|
|
CREATE (:Member {name: "Andrew Manzaneres"});
|
|
|
|
// === CORPS ===
|
|
CREATE (:Corps {name: "Bluecoats"});
|
|
CREATE (:Corps {name: "Blue Devils"});
|
|
|
|
// === SHOWS ===
|
|
CREATE (:Show {title: "To Look For America", year: 2017});
|
|
CREATE (:Show {title: "Kinetic Noise", year: 2015});
|
|
CREATE (:Show {title: "Re:Write of Spring", year: 2013});
|
|
|
|
// === COMPOSERS ===
|
|
MERGE (ps:Composer {name: "Paul Simon"})
|
|
MERGE (rw:Composer {name: "Rufus Wainwright"})
|
|
MERGE (de:Composer {name: "Duke Ellington"})
|
|
MERGE (is:Composer {name: "Igor Stravinsky"})
|
|
MERGE (sb:Composer {name: "Steven Bryant"})
|
|
MERGE (lc:Composer {name: "Leonard Cohen"})
|
|
MERGE (sr:Composer {name: "Steve Reich"})
|
|
MERGE (ja:Composer {name: "John Adams"})
|
|
MERGE (jan:Composer {name: "John Anderson"})
|
|
MERGE (bi:Composer {name: "Bon Iver"})
|
|
MERGE (mg:Composer {name: "Michael Gordon"})
|
|
MERGE (tb:Composer {name: "The Books"})
|
|
MERGE (uz:Composer {name: "Univers Zero"})
|
|
|
|
// === PIECES ===
|
|
MERGE (a:Piece {title: "America"})-[:COMPOSED_BY]->(ps)
|
|
MERGE (ag:Piece {title: "Agnus Dei"})-[:COMPOSED_BY]->(rw)
|
|
MERGE (sp:Piece {title: "Spring"})-[:COMPOSED_BY]->(de)
|
|
MERGE (eb:Piece {title: "Ebony Concerto"})-[:COMPOSED_BY]->(is)
|
|
MERGE (cc:Piece {title: "Concerto"})-[:COMPOSED_BY]->(sb)
|
|
MERGE (hl:Piece {title: "Hallelujah"})-[:COMPOSED_BY]->(lc)
|
|
MERGE (cl:Piece {title: "City Life"})-[:COMPOSED_BY]->(sr)
|
|
MERGE (rs:Piece {title: "The Rite of Spring"})-[:COMPOSED_BY]->(is)
|
|
MERGE (sl:Piece {title: "Shaker Loops"})-[:COMPOSED_BY]->(ja)
|
|
MERGE (sl)-[:COMPOSED_BY]->(jan)
|
|
MERGE (ec:Piece {title: "Electric Counterpoint"})-[:COMPOSED_BY]->(sr)
|
|
MERGE (wd:Piece {title: "Woods"})-[:COMPOSED_BY]->(bi)
|
|
MERGE (gt:Piece {title: "Gene Takes A Drink"})-[:COMPOSED_BY]->(mg)
|
|
MERGE (ad:Piece {title: "An Animated Description Of Mr Maps"})-[:COMPOSED_BY]->(tb)
|
|
MERGE (ds:Piece {title: "Dense"})-[:COMPOSED_BY]->(uz);
|
|
|
|
// === RELATIONSHIPS: Shows → Corps ===
|
|
MATCH (s1:Show {title: "To Look For America"}), (c1:Corps {name: "Bluecoats"})
|
|
CREATE (s1)-[:FIELD_BY]->(c1);
|
|
|
|
MATCH (s2:Show {title: "Kinetic Noise"}), (c2:Corps {name: "Bluecoats"})
|
|
CREATE (s2)-[:FIELD_BY]->(c2);
|
|
|
|
MATCH (s3:Show {title: "Re:Write of Spring"}), (c3:Corps {name: "Blue Devils"})
|
|
CREATE (s3)-[:FIELD_BY]->(c3);
|
|
|
|
// === RELATIONSHIPS: Members → Shows ===
|
|
MATCH (m1:Member {name: "Onye"}), (s1:Show {title: "To Look For America"})
|
|
CREATE (m1)-[:PERFORMED_IN]->(s1);
|
|
|
|
MATCH (m2:Member {name: "Eric Westerhold"}), (s2:Show {title: "Kinetic Noise"})
|
|
CREATE (m2)-[:PERFORMED_IN]->(s2);
|
|
|
|
MATCH (m3:Member {name: "Andrew Manzaneres"}), (s3:Show {title: "Re:Write of Spring"})
|
|
CREATE (m3)-[:PERFORMED_IN]->(s3);
|
|
|
|
// === RELATIONSHIPS: Shows → Pieces ===
|
|
MATCH (s:Show {title: "To Look For America"}),
|
|
(a:Piece {title: "America"}),
|
|
(ag:Piece {title: "Agnus Dei"}),
|
|
(sp:Piece {title: "Spring"}),
|
|
(eb:Piece {title: "Ebony Concerto"}),
|
|
(cc:Piece {title: "Concerto"}),
|
|
(hl:Piece {title: "Hallelujah"}),
|
|
(cl:Piece {title: "City Life"})
|
|
CREATE (s)-[:FEATURED]->(a),
|
|
(s)-[:FEATURED]->(ag),
|
|
(s)-[:FEATURED]->(sp),
|
|
(s)-[:FEATURED]->(eb),
|
|
(s)-[:FEATURED]->(cc),
|
|
(s)-[:FEATURED]->(hl),
|
|
(s)-[:FEATURED]->(cl);
|
|
|
|
MATCH (s:Show {title: "Re:Write of Spring"}),
|
|
(rs:Piece {title: "The Rite of Spring"})
|
|
CREATE (s)-[:FEATURED]->(rs);
|
|
|
|
MATCH (s:Show {title: "Kinetic Noise"}),
|
|
(sl:Piece {title: "Shaker Loops"}),
|
|
(ec:Piece {title: "Electric Counterpoint"}),
|
|
(wd:Piece {title: "Woods"}),
|
|
(gt:Piece {title: "Gene Takes A Drink"}),
|
|
(ad:Piece {title: "An Animated Description Of Mr Maps"}),
|
|
(ds:Piece {title: "Dense"})
|
|
CREATE (s)-[:FEATURED]->(sl),
|
|
(s)-[:FEATURED]->(ec),
|
|
(s)-[:FEATURED]->(wd),
|
|
(s)-[:FEATURED]->(gt),
|
|
(s)-[:FEATURED]->(ad),
|
|
(s)-[:FEATURED]->(ds);
|