Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save suellenstringer-hye/ad1319cb6b2510dddd43dcd1ccfdad0f to your computer and use it in GitHub Desktop.
Save suellenstringer-hye/ad1319cb6b2510dddd43dcd1ccfdad0f to your computer and use it in GitHub Desktop.
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/SuellenStringer-Hye/VUIR-Data-Project/master/Divinity/Ability-rel.csv"
AS csvLine
MATCH (monster:Monster {id: csvLine.MnstID}),(ability:Ability { id: csvLine.Abid})
CREATE (monster)-[:HAS]->(ability)
MATCH (demon:Monster {name: "Demon"})-[:CAN_BE_KILLED_BY]->(weakness) RETURN demon,weakness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment