Skip to content

Instantly share code, notes, and snippets.

@peterneubauer
Last active December 23, 2015 08:38
Show Gist options
  • Select an option

  • Save peterneubauer/6608600 to your computer and use it in GitHub Desktop.

Select an option

Save peterneubauer/6608600 to your computer and use it in GitHub Desktop.

Vienna is cool

First, let’s rock

CREATE ({caption:'beverages', lang:'EN'})<-[:CAPTION]-(getr{name:'C1'})-[:CAPTION]->({caption:'Getraenke', lang:'DE'})
CREATE (getr)-[:CAPTION]->({caption:'Getraenke', lang:'DE'})
CREATE ({caption:'alcoloic stuff', lang:'EN'})<-[:CAPTION]-(alc{name:'C2'})-[:CAPTION]->({caption:'Alkoholika', lang:'DE'})
CREATE (getr)<-[:IS_A]-(alc)

Query 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment