Skip to content

Instantly share code, notes, and snippets.

@thomasfr
Last active December 23, 2015 08:38
Show Gist options
  • Save thomasfr/6608580 to your computer and use it in GitHub Desktop.
Save thomasfr/6608580 to your computer and use it in GitHub Desktop.

Vienna

Setup

CREATE	(drinks{name:'C1'})-[:CAPTION]->(capGetraenke{caption:"Getränke",lang:"DE"}),
	(drinks)-[:CAPTION]->({caption:"Beverage",lang:"EN"}),
	(drinks)<-[:IS_A]-(spirits{name:"C2"}),
	(spirits)-[:CAPTION]-({caption:"Alkoholische Getränke",lang:"DE"}),
	(spirits)-[:CAPTION]-({caption:"Spirits",lang:"EN"});
CREATE	capGetraenke-[:ALT_CAPTION]->({caption:"Trinken",lang:DE"}),
	capGetraenke-[:HIDDEN_CAPTION]->({caption:"Gedränke",lang:DE"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment