Skip to content

Instantly share code, notes, and snippets.

@adhadse
Last active July 12, 2021 11:22
Show Gist options
  • Save adhadse/faa27786019c73d30ab5671fd63e7855 to your computer and use it in GitHub Desktop.
Save adhadse/faa27786019c73d30ab5671fd63e7855 to your computer and use it in GitHub Desktop.
CREATE
(India:Location {name: 'India', type: 'country'}),
(Gujrat:Location {name: 'Gujrat', type: 'state'}),
(Indore:Location {name: 'Indore', type: 'city'}),
(Rahul:Person {name: 'Rahul'}),
(TS:Company {name: 'Tiger Softwares', profession: 'Application Developer'}
(Rahul) -[:WITHIN]-> (Indore) -[:WITHIN]-> (Gujrat) -[:WITHIN]-> (India)
(Rahul) -[:WORKS_IN]-> (TS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment