Transcript
Page 1: Uncovering Invisible Relationships Using a Graph Database

(graphs)-[:are]->(everywhere)

Uncovering����������� ������������������  Invisible����������� ������������������  Relationships����������� ������������������  with����������� ������������������  a����������� ������������������  Graph����������� ������������������  Database

© All Rights Reserved 2014 | Neo Technology, Inc.

@kennybastani

Neo4j����������� ������������������  Developer����������� ������������������  Evangelist

Page 2: Uncovering Invisible Relationships Using a Graph Database

Agenda

• Quick overview of Neo4j

• Using Neo4j to map the demand for valuable digital content

• Customer stories for social network use cases

Page 3: Uncovering Invisible Relationships Using a Graph Database
Page 4: Uncovering Invisible Relationships Using a Graph Database

Social����������� ������������������  Network

Page 5: Uncovering Invisible Relationships Using a Graph Database

Network����������� ������������������  Impact����������� ������������������  Analysis

Page 6: Uncovering Invisible Relationships Using a Graph Database

Route����������� ������������������  Finding

Page 7: Uncovering Invisible Relationships Using a Graph Database

Recommendations

Page 8: Uncovering Invisible Relationships Using a Graph Database

Logistics

Page 9: Uncovering Invisible Relationships Using a Graph Database

Access����������� ������������������  Control

Page 10: Uncovering Invisible Relationships Using a Graph Database

Fraud����������� ������������������  Analysis

Page 11: Uncovering Invisible Relationships Using a Graph Database

Graphing����������� ������������������  Content����������� ������������������  Demand

• Describing the problem and some challenges

• What are invisible relationships?

• How do you infer relationships using a graph data model?

• How do you graph the demand for social content?

• How do you distribute valuable content where it is most demanded?

Page 12: Uncovering Invisible Relationships Using a Graph Database

Describing����������� ������������������  the����������� ������������������  problem����������� ������������������  and����������� ������������������  some����������� ������������������  challenges

There����������� ������������������  is����������� ������������������  all����������� ������������������  this����������� ������������������  digital����������� ������������������  content����������� ������������������  that����������� ������������������  people����������� ������������������  want,����������� ������������������  but����������� ������������������  they����������� ������������������  don’t����������� ������������������  know����������� ������������������  it����������� ������������������  exists.

Page 13: Uncovering Invisible Relationships Using a Graph Database

Today’s����������� ������������������  Development����������� ������������������  Challenges

If����������� ������������������  you’re����������� ������������������  using����������� ������������������  a����������� ������������������  relational����������� ������������������  database,����������� ������������������  recommendation����������� ������������������  engines����������� ������������������  are����������� ������������������  hard����������� ������������������  to����������� ������������������  develop����������� ������������������  and����������� ������������������  time����������� ������������������  consuming.

Page 14: Uncovering Invisible Relationships Using a Graph Database

Challenge

Data����������� ������������������  modeling����������� ������������������  on����������� ������������������  relational����������� ������������������  databases����������� ������������������  is����������� ������������������  not����������� ������������������  a����������� ������������������  fun����������� ������������������  thing.

It’s����������� ������������������  boring,����������� ������������������  hard����������� ������������������  to����������� ������������������  remember,����������� ������������������  hard����������� ������������������  to����������� ������������������  articulate����������� ������������������  to����������� ������������������  colleagues.

Page 15: Uncovering Invisible Relationships Using a Graph Database

Solution

Neo4j����������� ������������������  doesn’t����������� ������������������  just����������� ������������������  give����������� ������������������  you����������� ������������������  an����������� ������������������  awesome����������� ������������������  open����������� ������������������  source����������� ������������������  graph����������� ������������������  database.

It����������� ������������������  provides����������� ������������������  you����������� ������������������  with����������� ������������������  a����������� ������������������  new����������� ������������������  way����������� ������������������  of����������� ������������������  thinking����������� ������������������  about����������� ������������������  how����������� ������������������  data����������� ������������������  is����������� ������������������  connected.

It’s����������� ������������������  easy.����������� ������������������  It’s����������� ������������������  fun.����������� ������������������  You����������� ������������������  don’t����������� ������������������  need����������� ������������������  to����������� ������������������  be����������� ������������������  a����������� ������������������  10x����������� ������������������  to����������� ������������������  build����������� ������������������  freaking����������� ������������������  awesome����������� ������������������  apps.

Page 16: Uncovering Invisible Relationships Using a Graph Database

Relational����������� ������������������  Schema

Invisible����������� ������������������  relationships

Page 17: Uncovering Invisible Relationships Using a Graph Database

Property����������� ������������������  Graph

Visible����������� ������������������  relationships

Tom Hanks Hugo Weaving

Cloud AtlasThe Matrix

Lana Wachowski

ACTED_IN

ACTED_INACTED_IN

DIRECTED

DIRECTED

Page 18: Uncovering Invisible Relationships Using a Graph Database

What����������� ������������������  are����������� ������������������  invisible����������� ������������������  relationships?

People Brands

InterestsBehaviors

Content

Page 19: Uncovering Invisible Relationships Using a Graph Database

What����������� ������������������  are����������� ������������������  some����������� ������������������  examples����������� ������������������  of����������� ������������������  explicit����������� ������������������  relationships����������� ������������������  in����������� ������������������  a����������� ������������������  social����������� ������������������  network?

PeoplePeople

ContentPeople

ContentPeople

InterestsPeople

Follow

Share

Like

Have

Page 20: Uncovering Invisible Relationships Using a Graph Database

What����������� ������������������  are����������� ������������������  some����������� ������������������  examples����������� ������������������  of����������� ������������������  invisible����������� ������������������  relationships����������� ������������������  in����������� ������������������  a����������� ������������������  social����������� ������������������  network?

PeoplePeople

ContentPeople

ContentInterests

Friend����������� ������������������  of����������� ������������������  a����������� ������������������  friend

Demand

Supplies

Page 21: Uncovering Invisible Relationships Using a Graph Database

How����������� ������������������  do����������� ������������������  you����������� ������������������  infer����������� ������������������  relationships����������� ������������������  using����������� ������������������  a����������� ������������������  graph����������� ������������������  data����������� ������������������  model?

Page 22: Uncovering Invisible Relationships Using a Graph Database

The����������� ������������������  goal����������� ������������������  is����������� ������������������  to����������� ������������������  best����������� ������������������  understand����������� ������������������  how����������� ������������������  to����������� ������������������  deliver����������� ������������������  highly����������� ������������������  valuable����������� ������������������  content����������� ������������������  to����������� ������������������  a����������� ������������������  social����������� ������������������  network

Page 23: Uncovering Invisible Relationships Using a Graph Database

Make����������� ������������������  connections����������� ������������������  where����������� ������������������  value����������� ������������������  can����������� ������������������  be����������� ������������������  quantized

Page 24: Uncovering Invisible Relationships Using a Graph Database
Page 25: Uncovering Invisible Relationships Using a Graph Database
Page 26: Uncovering Invisible Relationships Using a Graph Database

How����������� ������������������  do����������� ������������������  you����������� ������������������  graph����������� ������������������  the����������� ������������������  demand����������� ������������������  for����������� ������������������  social����������� ������������������  content?

Page 27: Uncovering Invisible Relationships Using a Graph Database
Page 28: Uncovering Invisible Relationships Using a Graph Database
Page 29: Uncovering Invisible Relationships Using a Graph Database

Map����������� ������������������  Supply����������� ������������������  To����������� ������������������  Demand

Page 30: Uncovering Invisible Relationships Using a Graph Database

Create����������� ������������������  tangible����������� ������������������  relationships����������� ������������������  between����������� ������������������  interests����������� ������������������  of����������� ������������������  users����������� ������������������  to����������� ������������������  the����������� ������������������  content����������� ������������������  they����������� ������������������  share.

Page 31: Uncovering Invisible Relationships Using a Graph Database
Page 32: Uncovering Invisible Relationships Using a Graph Database

You����������� ������������������  might����������� ������������������  be����������� ������������������  thinking...

Content����������� ������������������  may����������� ������������������  have����������� ������������������  nothing����������� ������������������  to����������� ������������������  do����������� ������������������  with����������� ������������������  an����������� ������������������  interest����������� ������������������  that����������� ������������������  it����������� ������������������  supplies.

That����������� ������������������  is����������� ������������������  ok

Because����������� ������������������  people����������� ������������������  don’t����������� ������������������  always����������� ������������������  know����������� ������������������  what����������� ������������������  they����������� ������������������  want.

Page 33: Uncovering Invisible Relationships Using a Graph Database

How����������� ������������������  do����������� ������������������  you����������� ������������������  distribute����������� ������������������  valuable����������� ������������������  content����������� ������������������  where����������� ������������������  it����������� ������������������  is����������� ������������������  most����������� ������������������  demanded?

Page 34: Uncovering Invisible Relationships Using a Graph Database

Generate����������� ������������������  Demand����������� ������������������  Recommendation

Lars����������� ������������������  is����������� ������������������  interested����������� ������������������  in����������� ������������������  Venture����������� ������������������  Capital,����������� ������������������  Startups,����������� ������������������  NoSQL,����������� ������������������  Predictive����������� ������������������  Analytics

Lars����������� ������������������  has����������� ������������������  shared����������� ������������������  articles:

• Analyst:����������� ������������������  'Box's����������� ������������������  Only����������� ������������������  Realistic����������� ������������������  Option����������� ������������������  Is����������� ������������������  To����������� ������������������  Sell����������� ������������������  The����������� ������������������  Company’����������� ������������������  • NoSQL����������� ������������������  Job����������� ������������������  Trends:����������� ������������������  February����������� ������������������  2014

Page 35: Uncovering Invisible Relationships Using a Graph Database

Generate����������� ������������������  Demand����������� ������������������  Recommendation

Page 36: Uncovering Invisible Relationships Using a Graph Database

Generate����������� ������������������  Demand����������� ������������������  Recommendation

Page 37: Uncovering Invisible Relationships Using a Graph Database

Conclusion

Lars����������� ������������������  should����������� ������������������  really����������� ������������������  read:����������� ������������������  !!

A����������� ������������������  Massive����������� ������������������  Market����������� ������������������  Opportunity����������� ������������������  Awaits����������� ������������������  In����������� ������������������  Analyzing����������� ������������������  The����������� ������������������  Internet����������� ������������������  Of����������� ������������������  Things

Page 38: Uncovering Invisible Relationships Using a Graph Database

The����������� ������������������  Power����������� ������������������  of����������� ������������������  Graph����������� ������������������  Databases

Page 39: Uncovering Invisible Relationships Using a Graph Database

Graph����������� ������������������  databases����������� ������������������  provide����������� ������������������  a����������� ������������������  means����������� ������������������  to����������� ������������������  draw����������� ������������������  valuable����������� ������������������  inferences����������� ������������������  at����������� ������������������  large����������� ������������������  scales.

Page 40: Uncovering Invisible Relationships Using a Graph Database

Graph����������� ������������������  databases����������� ������������������  are����������� ������������������  a����������� ������������������  tool����������� ������������������  to����������� ������������������  deliver����������� ������������������  richer����������� ������������������  experiences����������� ������������������  through����������� ������������������  personalized����������� ������������������  online����������� ������������������  interactions����������� ������������������  and����������� ������������������  content����������� ������������������  discovery.

Experiences Personalized Interactions

Content Discovery

Page 41: Uncovering Invisible Relationships Using a Graph Database

The����������� ������������������  invisible����������� ������������������  relationships����������� ������������������  in����������� ������������������  a����������� ������������������  social����������� ������������������  network����������� ������������������  are����������� ������������������  the����������� ������������������  ones����������� ������������������  that����������� ������������������  haven’t����������� ������������������  yet����������� ������������������  been����������� ������������������  made.

Page 42: Uncovering Invisible Relationships Using a Graph Database

There����������� ������������������  is����������� ������������������  a����������� ������������������  huge����������� ������������������  opportunity����������� ������������������  to����������� ������������������  connect����������� ������������������  people����������� ������������������  with����������� ������������������  content����������� ������������������  they����������� ������������������  demand.

Page 43: Uncovering Invisible Relationships Using a Graph Database

Some����������� ������������������  Customer����������� ������������������  Quotes

Page 44: Uncovering Invisible Relationships Using a Graph Database

Gamesys

“Using����������� ������������������  Neo4j����������� ������������������  allowed����������� ������������������  us����������� ������������������  to����������� ������������������  focus����������� ������������������  on����������� ������������������  the����������� ������������������  important����������� ������������������  parts����������� ������������������  of����������� ������������������  the����������� ������������������  project:����������� ������������������  getting����������� ������������������  the����������� ������������������  domain����������� ������������������  model����������� ������������������  right,����������� ������������������  extracting����������� ������������������  novel����������� ������������������  insights����������� ������������������  

from����������� ������������������  the����������� ������������������  data����������� ������������������  and����������� ������������������  delivering����������� ������������������  business����������� ������������������  value����������� ������������������  quickly.”

­–����������� ������������������  Toby����������� ������������������  O’Rourke,����������� ������������������  Technical����������� ������������������  Architect,����������� ������������������  Gamesys

Page 45: Uncovering Invisible Relationships Using a Graph Database

Glassdoor

“The����������� ������������������  Neo4j����������� ������������������  graph����������� ������������������  database����������� ������������������  proved����������� ������������������  the����������� ������������������  perfect����������� ������������������  fit����������� ������������������  for����������� ������������������  integrating����������� ������������������  Facebook����������� ������������������  into����������� ������������������  the����������� ������������������  Glassdoor����������� ������������������  community.����������� ������������������  As����������� ������������������  a����������� ������������������  result����������� ������������������  we����������� ������������������  are����������� ������������������  able����������� ������������������  to����������� ������������������  provide����������� ������������������  a����������� ������������������  better����������� ������������������  experience����������� ������������������  for����������� ������������������  our����������� ������������������  

members����������� ������������������  and����������� ������������������  provide����������� ������������������  them����������� ������������������  with����������� ������������������  real����������� ������������������  job����������� ������������������  recommendations.”

­–����������� ������������������  Glassdoor

Page 46: Uncovering Invisible Relationships Using a Graph Database

CrunchBase

“Creating����������� ������������������  the����������� ������������������  Business����������� ������������������  Graph����������� ������������������  requires����������� ������������������  a����������� ������������������  technology����������� ������������������  platform����������� ������������������  that����������� ������������������  can����������� ������������������  expand����������� ������������������  and����������� ������������������  evolve����������� ������������������  with����������� ������������������  an����������� ������������������  ever����������� ������������������  changing����������� ������������������  dataset.����������� ������������������  CrunchBase����������� ������������������  2.0����������� ������������������  is����������� ������������������  built����������� ������������������  on����������� ������������������  a����������� ������������������  graph����������� ������������������  database����������� ������������������  designed����������� ������������������  for����������� ������������������  applications����������� ������������������  where����������� ������������������  you����������� ������������������  can’t����������� ������������������  neatly����������� ������������������  predict����������� ������������������  what����������� ������������������  data����������� ������������������  you����������� ������������������  

might����������� ������������������  add����������� ������������������  down����������� ������������������  the����������� ������������������  road,����������� ������������������  or����������� ������������������  what����������� ������������������  queries����������� ������������������  you����������� ������������������  might����������� ������������������  throw����������� ������������������  at����������� ������������������  the����������� ������������������  data.”

­–����������� ������������������  Matt����������� ������������������  Kaufman,����������� ������������������  President����������� ������������������  at����������� ������������������  CrunchBase

Page 47: Uncovering Invisible Relationships Using a Graph Database

© All Rights Reserved 2014 | Neo Technology, Inc.

(Thank����������� ������������������  You)

Page 48: Uncovering Invisible Relationships Using a Graph Database

© All Rights Reserved 2014 | Neo Technology, Inc.

Smart����������� ������������������  people����������� ������������������  come����������� ������������������  work����������� ������������������  with����������� ������������������  me

We’re����������� ������������������  looking����������� ������������������  for����������� ������������������  awesome����������� ������������������  data����������� ������������������  scientists����������� ������������������  to����������� ������������������  join����������� ������������������  the����������� ������������������  Neo����������� ������������������  graph.

http://www.neotechnology.com/jobs

Page 49: Uncovering Invisible Relationships Using a Graph Database

© All Rights Reserved 2014 | Neo Technology, Inc.

Get����������� ������������������  in����������� ������������������  touch

Twitter: @kennybastani

LinkedIn: /in/kennybastani


Recommended