Skip to content

Instantly share code, notes, and snippets.

@anderseriksson
Last active August 29, 2015 14:01
Show Gist options
  • Save anderseriksson/27ac2f3d1ccb7409168f to your computer and use it in GitHub Desktop.
Save anderseriksson/27ac2f3d1ccb7409168f to your computer and use it in GitHub Desktop.
//console
//hide
//setup
//output
create (_0:`MetaDataRoot`)
create (_1 {type:"Person"})
create (_2 {name:"name"})
create (_3 {type:"Book"})
create (_4 {name:"title"})
create _0-[:`TYPE`]->_1
create _1-[:`HAS_PROPERTY`]->_2
create _0-[:`TYPE`]->_3
create _3-[:`HAS_PROPERTY`]->_4
create (_5:`Person` {name:"Anders"})
create (_5-[:`IS_A`]->_1)
create (_6:`Book` {title: "Graph modeling"})
create (_6-[:`IS_A`]->_3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment