Transcript
Page 1: Graph Thinking: Why it Matters

Graph ThinkingAndreas Kollegger

Product Designer

Page 2: Graph Thinking: Why it Matters

Graph Thinkingthe missing link

in your data

Page 3: Graph Thinking: Why it Matters

Chilenje ClinicLusaka, Zambia

Page 4: Graph Thinking: Why it Matters

• Patient Care

• Decision Support

• Public Health Research

• WHO Reporting

Medical Record System

Page 5: Graph Thinking: Why it Matters

• Current data

• Prior history

• Local context

• How is the data related?

• What patterns emerge from the relationships?

• Which patterns matter?

• "Assessment" makes connections, creating new data

How does this work?

Page 6: Graph Thinking: Why it Matters

Some datais missing...

Page 7: Graph Thinking: Why it Matters

• Epidemiology

• Cultural Norms

• Environmental Factors

• Agricultural Practices

• Patient Relationships

• Doctor Relationships

• Related Research

• ...

Page 8: Graph Thinking: Why it Matters

How much datado you need?

Page 9: Graph Thinking: Why it Matters

"The person with the most data, wins."

– Tim O'Reilly

Page 10: Graph Thinking: Why it Matters

1. Close relationships determinerelevance

Number of relationships increases importance

What datado you need?

Page 11: Graph Thinking: Why it Matters

Naturally, that leads topattern matching...

Page 12: Graph Thinking: Why it Matters
Page 13: Graph Thinking: Why it Matters
Page 14: Graph Thinking: Why it Matters

The internet

Page 15: Graph Thinking: Why it Matters

Genetic Ancestry of One Single Corn Variety

Page 16: Graph Thinking: Why it Matters

Andreas' Linkedin Network

Andreas Kollegger

Page 17: Graph Thinking: Why it Matters

Graph Thinking has created some of the most successful companies in the world

Page 18: Graph Thinking: Why it Matters

WHAT IS A GRAPH?

Page 19: Graph Thinking: Why it Matters

A way of representing data

DATA DATA

Page 20: Graph Thinking: Why it Matters

Relational Database

Good for: Well-understood data

structures that don’t change too frequently

A way of representing data

Known problems involving discrete parts of the data, or

minimal connectivity

Page 21: Graph Thinking: Why it Matters

Graph Database

Relational Database

Good for: Well-understood data

structures that don’t change too frequently

Known problems involving discrete parts of the data, or

minimal connectivity

A way of representing data

Good for: Dynamic systems: where the data topology is difficult to

predictDynamic requirements:

the evolve with the business Problems where the relationships in data contribute

meaning & value

Page 22: Graph Thinking: Why it Matters

THE PROPERTY GRAPH DATA

MODEL

Page 23: Graph Thinking: Why it Matters

A Graph Is

Page 24: Graph Thinking: Why it Matters

ROAD

TRAFFIC

LIGHTS

A Graph Is

Page 25: Graph Thinking: Why it Matters

HA

S

AVAILABLE

HOTEL

ROOMS

AVAILABLE

A Graph Is

Page 26: Graph Thinking: Why it Matters

KNOWS

KN

OW

S

KNOWS

WO

RK

S_AT

WORKS_AT

WORKS_AT

COMPANY

STANFORD

STU

DIE

D_A

T

KNOWS

NEO

COLUMBIA

STU

DIE

D_A

T

STUDIED_AT

STUDIED_AT

NAME:ANNE

A Graph

SINCE:2012

RELATIONSHIPS

NODE

PROPERTY

Page 27: Graph Thinking: Why it Matters

A Graph

NAME:ANNE

SINCE:2012

Page 28: Graph Thinking: Why it Matters
Page 29: Graph Thinking: Why it Matters

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 30: Graph Thinking: Why it Matters

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

VIEW

ED

GRAPH THINKING:Real Time Recommendations

VIEWED

BOUG

HT

VIEWED BOUGHT

BOUGHT

BO

UG

HT

BOUG

HT

Page 31: Graph Thinking: Why it Matters

“As the current market leader in graph databases, and with enterprise features for scalability and availability, Neo4j is the right choice to meet our demands.” Marcos Wada

Software Developer, Walmart

Graph Thinking with Neo4jReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 32: Graph Thinking: Why it Matters

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

GRAPH THINKING:Master Data Management

MANAGES

MANAGES

LEADS

REGION

MANAGES

MANAGES

REGION

LEADS

LEADS

COLL

ABO

RATE

S

Page 33: Graph Thinking: Why it Matters

Neo4j is the heart of Cisco HMP: used for governance and single source of truth and a one-stop shop for all of Cisco’s hierarchies.

Graph Thinking with Neo4jReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 34: Graph Thinking: Why it Matters

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

OPENED_ACCOUNT

HAS IS_ISSUED

GRAPH THINKING:Fraud Detection

HA

S

LIVES LIVES

IS_ISSUED

OPE

NED

_AC

COUN

T

Page 35: Graph Thinking: Why it Matters

“Graph databases offer new methods of uncovering fraud rings and other sophisticated scams with a high-level of accuracy, and are capable of stopping advanced fraud scenarios in real-time.”

Gorka SadowskiCyber Security Expert

Graph Thinking with Neo4jReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 36: Graph Thinking: Why it Matters

GRAPH THINKING:Graph Based Search

PUBLISH

INCLUDE

INCLUDE

CREATE

CAPT

URE

IN

INSO

URCE

USES

USES

IN

IN

USES

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

SOURCE SOURCE

Page 37: Graph Thinking: Why it Matters

Uses Neo4j to manage the digital assets inside of its next generation in-flight entertainment system.

Graph Thinking with Neo4jReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 38: Graph Thinking: Why it Matters

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

BROWSES

CONN

ECTS

BRIDGES

ROUTES

POW

ERS

ROUTES

POWERSPOWERS

HOSTS

QUERIES

GRAPH THINKING:Network & IT-Operations

Page 39: Graph Thinking: Why it Matters

Uses Neo4j for network topology analysis for big telco service providers

Graph Thinking with Neo4jReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 40: Graph Thinking: Why it Matters

GRAPH THINKING:Identity And Access Management

TRUSTS

TRUSTS

ID

ID

AUTHENTICATES AUTH

ENTI

CATE

S

Graph Thinking in PracticeReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

OWNS

OWNSC

AN

_REA

D

Page 41: Graph Thinking: Why it Matters

UBS was the recipient of the 2014 Graphie Award for “Best Identify And Access Management App”

Graph Thinking with Neo4jReal Time Recommendations

Master Data Management

Fraud Detection

Identity & Access Management

Graph Based SearchNetwork & IT-Operations

Page 42: Graph Thinking: Why it Matters

WHY GRAPH THINKING?

Page 43: Graph Thinking: Why it Matters

IntuitivnessSpeedAgility

Page 44: Graph Thinking: Why it Matters

IntuitivnessSpeedAgility

Page 45: Graph Thinking: Why it Matters

Intuitivness

Page 46: Graph Thinking: Why it Matters

IntuitivnessSpeedAgility

Page 47: Graph Thinking: Why it Matters

Speed

“We found Neo4j to be literally thousands of times faster than our prior MySQL solution, with queries that require 10-100 times less code. Today, Neo4j

provides eBay with functionality that was previously impossible.”- Volker Pacher, Senior Developer

“Minutes to milliseconds” performanceQueries up to 1000x faster than RDBMS or other

NoSQL

Page 48: Graph Thinking: Why it Matters

IntuitivnessSpeedAgility

Page 49: Graph Thinking: Why it Matters

A Naturally Adaptive ModelA Query Language Designed

for Connectedness

+

=Agility

Page 50: Graph Thinking: Why it Matters

CypherTypical Complex SQL Join The Same Query using Cypher

MATCH (boss)-[:MANAGES*0..3]->(sub), (sub)-[:MANAGES*1..3]->(report)WHERE boss.name = “John Doe”RETURN sub.name AS Subordinate, count(report) AS Total

Project ImpactLess time writing queries• More time understanding the answers• Leaving time to ask the next question

Less time debugging queries: • More time writing the next piece of code• Improved quality of overall code base

Code that’s easier to read:• Faster ramp-up for new project members• Improved maintainability & troubleshooting

Page 51: Graph Thinking: Why it Matters

Ann DanLoves

CYPHER

Page 52: Graph Thinking: Why it Matters

Ann DanLoves

Page 53: Graph Thinking: Why it Matters

Ann DanLoves

(Dan)(Ann) -[:LOVES]->

Page 54: Graph Thinking: Why it Matters

Ann DanLoves

(:Person {name:”Ann"}) –[:LOVES]-> (:Person {name:"Dan"})

Page 55: Graph Thinking: Why it Matters

Ann DanLoves

(:Person {name:”Ann"}) –[:LOVES]-> (:Person {name:"Dan"})

Page 56: Graph Thinking: Why it Matters

Ann DanLoves

Node Relationship Node

(:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"})

Page 57: Graph Thinking: Why it Matters

Query: Whom does Ann love?

MATCH (:Person {name:"Ann"})–[:LOVES]->(whom)

RETURN whom

Page 58: Graph Thinking: Why it Matters

Users Love Cypher

Page 59: Graph Thinking: Why it Matters

Graph Thinkingfocuses on relationships

to turn data into informationand uses patterns to find meaning

Page 60: Graph Thinking: Why it Matters

It's all about relationships & patterns

Page 61: Graph Thinking: Why it Matters

THANK YOU!


Recommended