Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am loveboat on github.
  • I am loveboat (https://keybase.io/loveboat) on keybase.
  • I have a public key ASCS7jWBk3NCey71pQ7_Pz2Az1kagbC2gmPjFztikpYq5Ao

To claim this, I am signing this object:

= Cocktail Recipes
:neo4j-version: 2.1.0
:author: David Lusby
:twitter: @lusbyd
:tags: domain:drinking, use-case:fun
This interactive Neo4j graph tutorial covers making drinking fun.
Well not 'fun' that would be terrible.. more fun maybe?! Yeah more fun!

CREATE (whiteRussian:Drink {name:'White Russian', preparation:'Pour coffee liqueur and vodka into an Old Fashioned glass filled with ice. Float fresh cream on top and stir slowly.'})

CREATE (vodka:Ingredient {name:'Vodka'})
CREATE (coffeeLiqueur:Ingredient {name:'Coffee Liqueur'})
CREATE (freshCream:Ingredient {name:'Fresh Cream'})
  • quantities CREATE (whiteRussian)-[:MADE_OF]→(vodka) CREATE (whiteRussian)-[:MADE_OF]→(coffeeLiqueur)