Skip to content

Instantly share code, notes, and snippets.

@vladbatushkov
Last active May 2, 2019 16:54
Show Gist options
  • Save vladbatushkov/2a2a89dffe900b5f1ccdf5987e4ad9ae to your computer and use it in GitHub Desktop.
Save vladbatushkov/2a2a89dffe900b5f1ccdf5987e4ad9ae to your computer and use it in GitHub Desktop.
Some of famous inventions.
MATCH (o:Occupation { name: "Inventor" })
WITH ['Parachute', 'Aerial Screw', 'Ornithopter', 'Robots', 'Machine Gun', 'Viola Organista', 'Diving Suit', 'Self-Propelled Cart', 'Armored Vehicle', 'Cannons'] as inventions, o
UNWIND inventions as invention
MERGE (o)-[:INVENT]->(i:Invention { name: invention })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment