Skip to content

Instantly share code, notes, and snippets.

@gallamine
Created July 21, 2014 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gallamine/cc3290a7aca8c06b7cae to your computer and use it in GitHub Desktop.
Save gallamine/cc3290a7aca8c06b7cae to your computer and use it in GitHub Desktop.

Twitter Graph

This demo should represent a model of the https://github.com/neo4j-examples/oscon-graph[twitter graph at OSCON.

The Setup

CREATE (t:Tweet {text:"adsflkjasdfljkasdf #OSCON"})
CREATE (t)<-[:POST]-(:User {screen_name:"mesirii"})
CREATE (t)<-[:TAGs]-(tag:Hashtag {name:"OSCON"})
CREATE (t)<-[:MENTION]-(:User {screen_name:"Neo4j"})

==Tweets

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