SlideShare a Scribd company logo
Graph All The Things
Introduction to Graph Databases
Neo4j Graph Day 2014
New York
Utpal Bhatt
VP Marketing, Neo4j
@bhatt_utpal
#neo4j
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Creator of Neo4j, the world’s
leading graph database.
130 subscription customers,
40+ Global 2000 customers in
production.
Open source with 

40,000+ downloads
per month.
$25M raised to date from
Fidelity Growth Partners
Europe (London),
Sunstone (Copenhagen)
and Conor (Helsinki).
NEO TECHNOLOGY
CREATORS OF NEO4J
70 people, offices in
Munich, Malmö Sweden,
London, Paris & San
Francisco (HQ).
COMPANY OVERVIEW
“By	
  2017	
  more	
  than	
  25%	
  of	
  
enterprises	
  will	
  use	
  graph	
  	
  
databases.”
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
WHEN DO YOU NEED A GRAPH
DATABASE?
When your business depends on Relationships in Data
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
BUSINESS IMPACT OF USING
RELATIONSHIPS IN DATA
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
C
34,3%B
38,4%A
3,3%
D
3,8%
1,8%
1,8%
1,8%
1,8%
1,8%
E
8,1%
F
3,9%
USING RELATIONSHIP INFORMATION
IN THE CONSUMER WEB
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Use of Relationship Information
in The Consumer Web
USING RELATIONSHIP INFORMATION
IN THE CONSUMER WEB
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Use of Relationship Information
in The Consumer Web
USING RELATIONSHIP INFORMATION
IN THE CONSUMER WEB
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Unlocking The Business Potential Of
Relationships In Data
Graph Databases are purpose built to manage Data and
its Relationships
Wide%column,
stores,
,
Data,is,mapped,by,
a,row,key,,column,
key,and,8me,
stamp.,
Key,Value,
Stores,
,
Store,keys,and,
associated,values.,
Graph,
databases,
,
Store,data,and,the,
rela8onships,
between,data.,
Document,
stores,
,
Store,all,data,
related,to,a,
specific,key,as,a,
single,document.,,
DATA,MODEL,RICHNESS,
Adapted from the 451 Group
UNLOCKING THE POTENTIAL
OF RELATIONSHIPS IN DATA
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
The Property Graph ModelTHE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
The Property Graph Model
Ann Loves Dan
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
The Property Graph Model
Ann DanLoves
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ann Dan
The Property Graph Model
(Ann) –[:LOVES]-> (Dan)
Loves
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ann Dan
The Property Graph Model
Loves
(:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"})
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ann Dan
The Property Graph Model
Loves
(:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"})
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ann Dan
The Property Graph Model
Loves
(:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"})
Node Relationship Node
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ann Dan
The Property Graph Model
Loves
(:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"})
Node Relationship Node
property propertylabel labeltype
THE PROPERTY GRAPH
MODEL
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Cypher
Query: Whom does Ann love?
(:Person {name:"Ann"})–[:LOVES]->(whom)
CYPHER
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Cypher
Query: Whom does Ann love?
MATCH (:Person {name:"Ann"})–[:LOVES]->(whom)
CYPHER
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Cypher
Query: Whom does Ann love?
MATCH (:Person {name:"Ann"})–[:LOVES]->(whom)
RETURN whom
CYPHER
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
CypherCYPHER
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Under The Hood
MATCH (:Person {name:"Ann"})–[:LOVES]->(whom)RETURN whom
cypher
native graph processing
native storage
UNDER THE HOOD
*“Find all direct reports and how many they manage, up to 3 levels down”
Example HR Query (using SQL)
*“Find all direct reports and how many they manage, up to 3 levels down”
(SELECT T.directReportees AS directReportees, sum(T.count) AS count
FROM (
SELECT manager.pid AS directReportees, 0 AS count
FROM person_reportee manager
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
UNION
SELECT manager.pid AS directReportees, count(manager.directly_manages) AS count
FROM person_reportee manager
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
UNION
SELECT manager.pid AS directReportees, count(reportee.directly_manages) AS count
FROM person_reportee manager
JOIN person_reportee reportee
ON manager.directly_manages = reportee.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
UNION
SELECT manager.pid AS directReportees, count(L2Reportees.directly_manages) AS count
FROM person_reportee manager
JOIN person_reportee L1Reportees
ON manager.directly_manages = L1Reportees.pid
JOIN person_reportee L2Reportees
ON L1Reportees.directly_manages = L2Reportees.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
) AS T
GROUP BY directReportees)
UNION
(SELECT T.directReportees AS directReportees, sum(T.count) AS count
FROM (
SELECT manager.directly_manages AS directReportees, 0 AS count
FROM person_reportee manager
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
UNION
SELECT reportee.pid AS directReportees, count(reportee.directly_manages) AS count
FROM person_reportee manager
JOIN person_reportee reportee
ON manager.directly_manages = reportee.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
UNION
(continued from previous page...)
SELECT depth1Reportees.pid AS directReportees,
count(depth2Reportees.directly_manages) AS count
FROM person_reportee manager
JOIN person_reportee L1Reportees
ON manager.directly_manages = L1Reportees.pid
JOIN person_reportee L2Reportees
ON L1Reportees.directly_manages = L2Reportees.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
) AS T
GROUP BY directReportees)
UNION
(SELECT T.directReportees AS directReportees, sum(T.count) AS count
FROM(
SELECT reportee.directly_manages AS directReportees, 0 AS count
FROM person_reportee manager
JOIN person_reportee reportee
ON manager.directly_manages = reportee.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
UNION
SELECT L2Reportees.pid AS directReportees, count(L2Reportees.directly_manages) AS
count
FROM person_reportee manager
JOIN person_reportee L1Reportees
ON manager.directly_manages = L1Reportees.pid
JOIN person_reportee L2Reportees
ON L1Reportees.directly_manages = L2Reportees.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
GROUP BY directReportees
) AS T
GROUP BY directReportees)
UNION
(SELECT L2Reportees.directly_manages AS directReportees, 0 AS count
FROM person_reportee manager
JOIN person_reportee L1Reportees
ON manager.directly_manages = L1Reportees.pid
JOIN person_reportee L2Reportees
ON L1Reportees.directly_manages = L2Reportees.pid
WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName")
)
!
Example HR Query (using SQL)
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
Same Query in Cypher
*“Find all direct reports and how many they manage, up to 3 levels down”
DATABASE # PEOPLE
QUERY TIME
(MS)
MySQL 1,000 2,000
Neo4j 1,000 2
Neo4j 1,000,000 2
Neo Technology, Inc Confidential
“Our	
  Neo4j	
  solution	
  is	
  literally	
  
thousands	
  of	
  times	
  faster	
  than	
  the	
  
prior	
  MySQL	
  solution,

with	
  queries	
  that	
  require	
  10-­‐100	
  
times	
  less	
  code.”	
  
!
-­‐	
  Volker	
  Pacher,	
  Senior	
  Developer	
  eBay
But what about
the Real World
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
UTILIZING RELATIONSHIPS FOR
RECOMMENDATIONS
Utilize Relationships in Data to Enable

Context-Rich Recommendations
The Solution
David
Jane
Purchased
Order
56
Order
54
Monster
energy
drink
Low fat
frozen
Yogurt
Dairy and
eggs
Beverages
Weight
Management
Frozen
Order
55
Susan
Customers Orders Product
The Need
Clear & Performant Access to Customer, Purchase &
Interest Data to make Recommendations
Category
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Total Dollar
Amount
Transaction
Count
Investigate
Investigate
UNCOVERING FRAUD RINGS
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Utilize Relationship in you
Logistics Network work as
a Graph A
B
Utilize Relationship information in your Logistics Network to Minimize Time

& Maximize Use of your Network

Utilizing Relationships In
Supply Chain And Logistics
MANAGING SUPPLY CHAIN AND
LOGISTICS
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Utilizing Relationships to diagnose problems and
gauge their impact
The Solution
Instantly diagnose problems across 1B+ element 

networks
The Problem
The Internet Of ThingsPOWERING THE INTERNET OF
THINGS
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Identity and Access Control
Network Diagnostics
Graph based Search
MORE ENTERPRISE EXAMPLES
Master Data Management
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ref: http://www.gartner.com/id=2081316
Interest Graph
Payment Graph
Intent Graph
Mobile Graph
Consumer Web Giants Depends on Five Graphs
Gartner’s “5 Graphs”
Social Graph
GARTNER’S 5 GRAPHS
CONSUMER GIANTS DEPEND UPON 5 THINGS
Neo Technology, Inc Confidential
!
• Payment Graph

(e.g. Fraud Detection, Credit Risk Analysis, Chargebacks...)	

• Customer Graph

(org drillthru, product recommendations, mobile payments, etc.)	

• Entitlement Graph

(identity & access management, authorization)	

•Asset Graph

(portfolio analytics, risk management, market & sentiment
analysis, compliance)	

• Master Data Graph

(enterprise collaboration, corporate hierarchy, data governance)
Finance
Finance
5 GRAPHS OF FINANCIAL
SERVICES
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
GRAPH DATABASES - THE FASTEST
GROWING DBMS CATEGORY
Source: http://db-engines.com/en/ranking/graph+dbms!
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
0%
10%
20%
30%
2011 2014 2017
25%
2.5%
0%
%ofEnterprisesusingGraphDatabases
“Forrester estimates that over 25% of
enterprises will be using graph
databases by 2017”
Sources	

• Forrester TechRadar™: Enterprise DBMS, Feb 13 2014 (http://www.forrester.com/TechRadar+Enterprise
+DBMS+Q1+2014/fulltext/-/E-RES106801)	

• Dataversity Mar 31 2014: “Deconstructing NoSQL:Analysis of a 2013 Survey on the Use, Production and Assessment
of NoSQLTechnologies in the Enterprise” (http://www.dataversity.net)	

• Neo Technology customer base in 2011 and 2014	

• Estimation of other graph vendors’ customer base in 2011 and 2014 based on best available intelligence
“25% of survey respondents said
they plan to use Graph databases in
the future.”
Graph Databases:
Powering The Enterprise
GRAPH DATABASES - POWERING
THE ENTERPRISE
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Ref: Gartner, ‘IT Market Clock for Database Management Systems, 2014,’ September 22, 2014
https://www.gartner.com/doc/2852717/it-market-clock-database-management
“Graph analysis is possibly
the single most effective
competitive differentiator for
organizations pursuing data-
driven operations and
decisions after the design of
data capture.”
Graph Databases:
Can Transform Your Business
GRAPH DATABASES - CAN
TRANSFORM YOUR BUSINESS
N e o Te c h n o l o g y, I n c C o n f i d e n t i a l
Summary
When your business depends on Relationships in Data
SUMMARY
Your Mission:	

!
!
!
Connect.
Neo4j's Graph Academy | www.graphdatabases.com
Download Now!
!
Thanks For
Listening!

More Related Content

What's hot

Graph based data models
Graph based data modelsGraph based data models
Graph based data models
Moumie Soulemane
 
RDBMS to Graphs
RDBMS to GraphsRDBMS to Graphs
RDBMS to Graphs
Neo4j
 
The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...
The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...
The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...Neo4j
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4jjexp
 
NoSQL Graph Databases - Why, When and Where
NoSQL Graph Databases - Why, When and WhereNoSQL Graph Databases - Why, When and Where
NoSQL Graph Databases - Why, When and Where
Eugene Hanikblum
 
Family tree of data – provenance and neo4j
Family tree of data – provenance and neo4jFamily tree of data – provenance and neo4j
Family tree of data – provenance and neo4j
M. David Allen
 
Introduction to Graph databases and Neo4j (by Stefan Armbruster)
Introduction to Graph databases and Neo4j (by Stefan Armbruster)Introduction to Graph databases and Neo4j (by Stefan Armbruster)
Introduction to Graph databases and Neo4j (by Stefan Armbruster)
barcelonajug
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4j
Debanjan Mahata
 
Building a Graph-based Analytics Platform
Building a Graph-based Analytics PlatformBuilding a Graph-based Analytics Platform
Building a Graph-based Analytics Platform
Kenny Bastani
 
Introducing Neo4j graph database
Introducing Neo4j graph databaseIntroducing Neo4j graph database
Introducing Neo4j graph database
Amirhossein Saberi
 
Data Modeling with Neo4j
Data Modeling with Neo4jData Modeling with Neo4j
Data Modeling with Neo4j
Neo4j
 
Democratizing Data at Airbnb
Democratizing Data at AirbnbDemocratizing Data at Airbnb
Democratizing Data at Airbnb
Neo4j
 
Relational to Big Graph
Relational to Big GraphRelational to Big Graph
Relational to Big Graph
Neo4j
 
Getting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4jGetting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4j
Suroor Wijdan
 
Neo4J : Introduction to Graph Database
Neo4J : Introduction to Graph DatabaseNeo4J : Introduction to Graph Database
Neo4J : Introduction to Graph Database
Mindfire Solutions
 
Einführung in Neo4j
Einführung in Neo4jEinführung in Neo4j
Einführung in Neo4j
Neo4j
 
Graphs for Enterprise Architects
Graphs for Enterprise ArchitectsGraphs for Enterprise Architects
Graphs for Enterprise Architects
Neo4j
 
Introducing Neo4j
Introducing Neo4jIntroducing Neo4j
Introducing Neo4j
Neo4j
 

What's hot (20)

Graph based data models
Graph based data modelsGraph based data models
Graph based data models
 
RDBMS to Graphs
RDBMS to GraphsRDBMS to Graphs
RDBMS to Graphs
 
The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...
The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...
The Five Graphs of Finance - Philip Rathle and Emil Eifrem @ GraphConnect NY ...
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
 
NoSQL Graph Databases - Why, When and Where
NoSQL Graph Databases - Why, When and WhereNoSQL Graph Databases - Why, When and Where
NoSQL Graph Databases - Why, When and Where
 
Family tree of data – provenance and neo4j
Family tree of data – provenance and neo4jFamily tree of data – provenance and neo4j
Family tree of data – provenance and neo4j
 
Graph databases
Graph databasesGraph databases
Graph databases
 
Introduction to Graph databases and Neo4j (by Stefan Armbruster)
Introduction to Graph databases and Neo4j (by Stefan Armbruster)Introduction to Graph databases and Neo4j (by Stefan Armbruster)
Introduction to Graph databases and Neo4j (by Stefan Armbruster)
 
Graph db
Graph dbGraph db
Graph db
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4j
 
Building a Graph-based Analytics Platform
Building a Graph-based Analytics PlatformBuilding a Graph-based Analytics Platform
Building a Graph-based Analytics Platform
 
Introducing Neo4j graph database
Introducing Neo4j graph databaseIntroducing Neo4j graph database
Introducing Neo4j graph database
 
Data Modeling with Neo4j
Data Modeling with Neo4jData Modeling with Neo4j
Data Modeling with Neo4j
 
Democratizing Data at Airbnb
Democratizing Data at AirbnbDemocratizing Data at Airbnb
Democratizing Data at Airbnb
 
Relational to Big Graph
Relational to Big GraphRelational to Big Graph
Relational to Big Graph
 
Getting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4jGetting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4j
 
Neo4J : Introduction to Graph Database
Neo4J : Introduction to Graph DatabaseNeo4J : Introduction to Graph Database
Neo4J : Introduction to Graph Database
 
Einführung in Neo4j
Einführung in Neo4jEinführung in Neo4j
Einführung in Neo4j
 
Graphs for Enterprise Architects
Graphs for Enterprise ArchitectsGraphs for Enterprise Architects
Graphs for Enterprise Architects
 
Introducing Neo4j
Introducing Neo4jIntroducing Neo4j
Introducing Neo4j
 

Similar to Graph All the Things: An Introduction to Graph Databases

Findability Day 2014 Neo4j how graph data boost your insights
Findability Day 2014 Neo4j how graph data boost your insightsFindability Day 2014 Neo4j how graph data boost your insights
Findability Day 2014 Neo4j how graph data boost your insights
Findwise
 
RDBMS to Graph Webinar
RDBMS to Graph WebinarRDBMS to Graph Webinar
RDBMS to Graph Webinar
Neo4j
 
Rclass
RclassRclass
Data Modeling & Metadata for Graph Databases
Data Modeling & Metadata for Graph DatabasesData Modeling & Metadata for Graph Databases
Data Modeling & Metadata for Graph Databases
DATAVERSITY
 
Cio summit 20170223_v20
Cio summit 20170223_v20Cio summit 20170223_v20
Cio summit 20170223_v20
Joshua Bae
 
16. long formal report
16. long   formal report16. long   formal report
16. long formal report
Abhilipsa Dhal
 
How HubSpot's Reporting Tool Will Revolutionize Your Company
How HubSpot's Reporting Tool Will Revolutionize Your CompanyHow HubSpot's Reporting Tool Will Revolutionize Your Company
How HubSpot's Reporting Tool Will Revolutionize Your Company
JaxzenMarketing
 
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j GraphTalk Helsinki - Introduction and Graph Use CasesNeo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j
 
Enabling Data-Driven Marketing
Enabling Data-Driven MarketingEnabling Data-Driven Marketing
Enabling Data-Driven Marketing
Annalect Finland
 
Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...
Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...
Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...
Massimiliano Crosato
 
Slides from GraphDay Santa Clara
Slides from GraphDay Santa ClaraSlides from GraphDay Santa Clara
Slides from GraphDay Santa Clara
Neo4j
 
Data Science Training | Data Science For Beginners | Data Science With Python...
Data Science Training | Data Science For Beginners | Data Science With Python...Data Science Training | Data Science For Beginners | Data Science With Python...
Data Science Training | Data Science For Beginners | Data Science With Python...
Simplilearn
 
Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data Work
David Chiu
 
Como transformar servidores em cientistas de dados e diminuir a distância ent...
Como transformar servidores em cientistas de dados e diminuir a distância ent...Como transformar servidores em cientistas de dados e diminuir a distância ent...
Como transformar servidores em cientistas de dados e diminuir a distância ent...
Rommel Carvalho
 
Big Data for HR
Big Data for HRBig Data for HR
Big Data for HR
Laurent Kinet
 
Inception Phases - Handling Complexity
Inception Phases - Handling ComplexityInception Phases - Handling Complexity
Inception Phases - Handling Complexity
Equal Experts
 
Advertising Analytics 2.0
Advertising Analytics 2.0Advertising Analytics 2.0
Advertising Analytics 2.0
Purple, Rock, Scissors
 
RDBMS to Graphs
RDBMS to GraphsRDBMS to Graphs
RDBMS to Graphs
Neo4j
 
Vikram emerging technologies
Vikram emerging technologiesVikram emerging technologies
From simple to more advanced: Lessons learned in 13 months with Tableau
From simple to more advanced: Lessons learned in 13 months with TableauFrom simple to more advanced: Lessons learned in 13 months with Tableau
From simple to more advanced: Lessons learned in 13 months with Tableau
Sergii Khomenko
 

Similar to Graph All the Things: An Introduction to Graph Databases (20)

Findability Day 2014 Neo4j how graph data boost your insights
Findability Day 2014 Neo4j how graph data boost your insightsFindability Day 2014 Neo4j how graph data boost your insights
Findability Day 2014 Neo4j how graph data boost your insights
 
RDBMS to Graph Webinar
RDBMS to Graph WebinarRDBMS to Graph Webinar
RDBMS to Graph Webinar
 
Rclass
RclassRclass
Rclass
 
Data Modeling & Metadata for Graph Databases
Data Modeling & Metadata for Graph DatabasesData Modeling & Metadata for Graph Databases
Data Modeling & Metadata for Graph Databases
 
Cio summit 20170223_v20
Cio summit 20170223_v20Cio summit 20170223_v20
Cio summit 20170223_v20
 
16. long formal report
16. long   formal report16. long   formal report
16. long formal report
 
How HubSpot's Reporting Tool Will Revolutionize Your Company
How HubSpot's Reporting Tool Will Revolutionize Your CompanyHow HubSpot's Reporting Tool Will Revolutionize Your Company
How HubSpot's Reporting Tool Will Revolutionize Your Company
 
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j GraphTalk Helsinki - Introduction and Graph Use CasesNeo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
 
Enabling Data-Driven Marketing
Enabling Data-Driven MarketingEnabling Data-Driven Marketing
Enabling Data-Driven Marketing
 
Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...
Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...
Mirko Lorenz Data Driven Journalism Overview Seminar Ordine dei Giornalisti d...
 
Slides from GraphDay Santa Clara
Slides from GraphDay Santa ClaraSlides from GraphDay Santa Clara
Slides from GraphDay Santa Clara
 
Data Science Training | Data Science For Beginners | Data Science With Python...
Data Science Training | Data Science For Beginners | Data Science With Python...Data Science Training | Data Science For Beginners | Data Science With Python...
Data Science Training | Data Science For Beginners | Data Science With Python...
 
Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data Work
 
Como transformar servidores em cientistas de dados e diminuir a distância ent...
Como transformar servidores em cientistas de dados e diminuir a distância ent...Como transformar servidores em cientistas de dados e diminuir a distância ent...
Como transformar servidores em cientistas de dados e diminuir a distância ent...
 
Big Data for HR
Big Data for HRBig Data for HR
Big Data for HR
 
Inception Phases - Handling Complexity
Inception Phases - Handling ComplexityInception Phases - Handling Complexity
Inception Phases - Handling Complexity
 
Advertising Analytics 2.0
Advertising Analytics 2.0Advertising Analytics 2.0
Advertising Analytics 2.0
 
RDBMS to Graphs
RDBMS to GraphsRDBMS to Graphs
RDBMS to Graphs
 
Vikram emerging technologies
Vikram emerging technologiesVikram emerging technologies
Vikram emerging technologies
 
From simple to more advanced: Lessons learned in 13 months with Tableau
From simple to more advanced: Lessons learned in 13 months with TableauFrom simple to more advanced: Lessons learned in 13 months with Tableau
From simple to more advanced: Lessons learned in 13 months with Tableau
 

More from Neo4j

Atelier - Architecture d’applications de Graphes - GraphSummit Paris
Atelier - Architecture d’applications de Graphes - GraphSummit ParisAtelier - Architecture d’applications de Graphes - GraphSummit Paris
Atelier - Architecture d’applications de Graphes - GraphSummit Paris
Neo4j
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
FLOA - Détection de Fraude - GraphSummit Paris
FLOA -  Détection de Fraude - GraphSummit ParisFLOA -  Détection de Fraude - GraphSummit Paris
FLOA - Détection de Fraude - GraphSummit Paris
Neo4j
 
SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...
SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...
SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...
Neo4j
 
ADEO - Knowledge Graph pour le e-commerce, entre challenges et opportunités ...
ADEO -  Knowledge Graph pour le e-commerce, entre challenges et opportunités ...ADEO -  Knowledge Graph pour le e-commerce, entre challenges et opportunités ...
ADEO - Knowledge Graph pour le e-commerce, entre challenges et opportunités ...
Neo4j
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
Neo4j
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
Neo4j
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
Neo4j
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
Neo4j
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Neo4j
 
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptxBT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
Neo4j
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Neo4j
 

More from Neo4j (20)

Atelier - Architecture d’applications de Graphes - GraphSummit Paris
Atelier - Architecture d’applications de Graphes - GraphSummit ParisAtelier - Architecture d’applications de Graphes - GraphSummit Paris
Atelier - Architecture d’applications de Graphes - GraphSummit Paris
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
FLOA - Détection de Fraude - GraphSummit Paris
FLOA -  Détection de Fraude - GraphSummit ParisFLOA -  Détection de Fraude - GraphSummit Paris
FLOA - Détection de Fraude - GraphSummit Paris
 
SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...
SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...
SOPRA STERIA - GraphRAG : repousser les limitations du RAG via l’utilisation ...
 
ADEO - Knowledge Graph pour le e-commerce, entre challenges et opportunités ...
ADEO -  Knowledge Graph pour le e-commerce, entre challenges et opportunités ...ADEO -  Knowledge Graph pour le e-commerce, entre challenges et opportunités ...
ADEO - Knowledge Graph pour le e-commerce, entre challenges et opportunités ...
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptxBT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 

Graph All the Things: An Introduction to Graph Databases

  • 1. Graph All The Things Introduction to Graph Databases Neo4j Graph Day 2014 New York Utpal Bhatt VP Marketing, Neo4j @bhatt_utpal #neo4j
  • 2. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Creator of Neo4j, the world’s leading graph database. 130 subscription customers, 40+ Global 2000 customers in production. Open source with 40,000+ downloads per month. $25M raised to date from Fidelity Growth Partners Europe (London), Sunstone (Copenhagen) and Conor (Helsinki). NEO TECHNOLOGY CREATORS OF NEO4J 70 people, offices in Munich, Malmö Sweden, London, Paris & San Francisco (HQ). COMPANY OVERVIEW “By  2017  more  than  25%  of   enterprises  will  use  graph     databases.”
  • 3. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l WHEN DO YOU NEED A GRAPH DATABASE? When your business depends on Relationships in Data
  • 4. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l BUSINESS IMPACT OF USING RELATIONSHIPS IN DATA
  • 5. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l C 34,3%B 38,4%A 3,3% D 3,8% 1,8% 1,8% 1,8% 1,8% 1,8% E 8,1% F 3,9% USING RELATIONSHIP INFORMATION IN THE CONSUMER WEB
  • 6. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Use of Relationship Information in The Consumer Web USING RELATIONSHIP INFORMATION IN THE CONSUMER WEB
  • 7. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Use of Relationship Information in The Consumer Web USING RELATIONSHIP INFORMATION IN THE CONSUMER WEB
  • 8. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Unlocking The Business Potential Of Relationships In Data Graph Databases are purpose built to manage Data and its Relationships Wide%column, stores, , Data,is,mapped,by, a,row,key,,column, key,and,8me, stamp., Key,Value, Stores, , Store,keys,and, associated,values., Graph, databases, , Store,data,and,the, rela8onships, between,data., Document, stores, , Store,all,data, related,to,a, specific,key,as,a, single,document.,, DATA,MODEL,RICHNESS, Adapted from the 451 Group UNLOCKING THE POTENTIAL OF RELATIONSHIPS IN DATA
  • 9. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l The Property Graph ModelTHE PROPERTY GRAPH MODEL
  • 10. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l The Property Graph Model Ann Loves Dan THE PROPERTY GRAPH MODEL
  • 11. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l The Property Graph Model Ann DanLoves THE PROPERTY GRAPH MODEL
  • 12. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ann Dan The Property Graph Model (Ann) –[:LOVES]-> (Dan) Loves THE PROPERTY GRAPH MODEL
  • 13. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ann Dan The Property Graph Model Loves (:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"}) THE PROPERTY GRAPH MODEL
  • 14. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ann Dan The Property Graph Model Loves (:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"}) THE PROPERTY GRAPH MODEL
  • 15. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ann Dan The Property Graph Model Loves (:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"}) Node Relationship Node THE PROPERTY GRAPH MODEL
  • 16. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ann Dan The Property Graph Model Loves (:Person {name:"Ann"}) –[:LOVES]-> (:Person {name:"Dan"}) Node Relationship Node property propertylabel labeltype THE PROPERTY GRAPH MODEL
  • 17. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Cypher Query: Whom does Ann love? (:Person {name:"Ann"})–[:LOVES]->(whom) CYPHER
  • 18. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Cypher Query: Whom does Ann love? MATCH (:Person {name:"Ann"})–[:LOVES]->(whom) CYPHER
  • 19. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Cypher Query: Whom does Ann love? MATCH (:Person {name:"Ann"})–[:LOVES]->(whom) RETURN whom CYPHER
  • 20. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l CypherCYPHER
  • 21. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Under The Hood MATCH (:Person {name:"Ann"})–[:LOVES]->(whom)RETURN whom cypher native graph processing native storage UNDER THE HOOD
  • 22. *“Find all direct reports and how many they manage, up to 3 levels down” Example HR Query (using SQL)
  • 23. *“Find all direct reports and how many they manage, up to 3 levels down” (SELECT T.directReportees AS directReportees, sum(T.count) AS count FROM ( SELECT manager.pid AS directReportees, 0 AS count FROM person_reportee manager WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") UNION SELECT manager.pid AS directReportees, count(manager.directly_manages) AS count FROM person_reportee manager WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees UNION SELECT manager.pid AS directReportees, count(reportee.directly_manages) AS count FROM person_reportee manager JOIN person_reportee reportee ON manager.directly_manages = reportee.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees UNION SELECT manager.pid AS directReportees, count(L2Reportees.directly_manages) AS count FROM person_reportee manager JOIN person_reportee L1Reportees ON manager.directly_manages = L1Reportees.pid JOIN person_reportee L2Reportees ON L1Reportees.directly_manages = L2Reportees.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees ) AS T GROUP BY directReportees) UNION (SELECT T.directReportees AS directReportees, sum(T.count) AS count FROM ( SELECT manager.directly_manages AS directReportees, 0 AS count FROM person_reportee manager WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") UNION SELECT reportee.pid AS directReportees, count(reportee.directly_manages) AS count FROM person_reportee manager JOIN person_reportee reportee ON manager.directly_manages = reportee.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees UNION (continued from previous page...) SELECT depth1Reportees.pid AS directReportees, count(depth2Reportees.directly_manages) AS count FROM person_reportee manager JOIN person_reportee L1Reportees ON manager.directly_manages = L1Reportees.pid JOIN person_reportee L2Reportees ON L1Reportees.directly_manages = L2Reportees.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees ) AS T GROUP BY directReportees) UNION (SELECT T.directReportees AS directReportees, sum(T.count) AS count FROM( SELECT reportee.directly_manages AS directReportees, 0 AS count FROM person_reportee manager JOIN person_reportee reportee ON manager.directly_manages = reportee.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees UNION SELECT L2Reportees.pid AS directReportees, count(L2Reportees.directly_manages) AS count FROM person_reportee manager JOIN person_reportee L1Reportees ON manager.directly_manages = L1Reportees.pid JOIN person_reportee L2Reportees ON L1Reportees.directly_manages = L2Reportees.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") GROUP BY directReportees ) AS T GROUP BY directReportees) UNION (SELECT L2Reportees.directly_manages AS directReportees, 0 AS count FROM person_reportee manager JOIN person_reportee L1Reportees ON manager.directly_manages = L1Reportees.pid JOIN person_reportee L2Reportees ON L1Reportees.directly_manages = L2Reportees.pid WHERE manager.pid = (SELECT id FROM person WHERE name = "fName lName") ) ! Example HR Query (using SQL)
  • 24. 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 Same Query in Cypher *“Find all direct reports and how many they manage, up to 3 levels down”
  • 25. DATABASE # PEOPLE QUERY TIME (MS) MySQL 1,000 2,000 Neo4j 1,000 2 Neo4j 1,000,000 2
  • 26. Neo Technology, Inc Confidential “Our  Neo4j  solution  is  literally   thousands  of  times  faster  than  the   prior  MySQL  solution,
 with  queries  that  require  10-­‐100   times  less  code.”   ! -­‐  Volker  Pacher,  Senior  Developer  eBay But what about the Real World
  • 27. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l UTILIZING RELATIONSHIPS FOR RECOMMENDATIONS Utilize Relationships in Data to Enable Context-Rich Recommendations The Solution David Jane Purchased Order 56 Order 54 Monster energy drink Low fat frozen Yogurt Dairy and eggs Beverages Weight Management Frozen Order 55 Susan Customers Orders Product The Need Clear & Performant Access to Customer, Purchase & Interest Data to make Recommendations Category
  • 28. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Total Dollar Amount Transaction Count Investigate Investigate UNCOVERING FRAUD RINGS
  • 29. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Utilize Relationship in you Logistics Network work as a Graph A B Utilize Relationship information in your Logistics Network to Minimize Time & Maximize Use of your Network Utilizing Relationships In Supply Chain And Logistics MANAGING SUPPLY CHAIN AND LOGISTICS
  • 30. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Utilizing Relationships to diagnose problems and gauge their impact The Solution Instantly diagnose problems across 1B+ element networks The Problem The Internet Of ThingsPOWERING THE INTERNET OF THINGS
  • 31. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Identity and Access Control Network Diagnostics Graph based Search MORE ENTERPRISE EXAMPLES Master Data Management
  • 32. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ref: http://www.gartner.com/id=2081316 Interest Graph Payment Graph Intent Graph Mobile Graph Consumer Web Giants Depends on Five Graphs Gartner’s “5 Graphs” Social Graph GARTNER’S 5 GRAPHS CONSUMER GIANTS DEPEND UPON 5 THINGS
  • 33. Neo Technology, Inc Confidential ! • Payment Graph
 (e.g. Fraud Detection, Credit Risk Analysis, Chargebacks...) • Customer Graph
 (org drillthru, product recommendations, mobile payments, etc.) • Entitlement Graph
 (identity & access management, authorization) •Asset Graph
 (portfolio analytics, risk management, market & sentiment analysis, compliance) • Master Data Graph
 (enterprise collaboration, corporate hierarchy, data governance) Finance Finance 5 GRAPHS OF FINANCIAL SERVICES
  • 34. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l GRAPH DATABASES - THE FASTEST GROWING DBMS CATEGORY Source: http://db-engines.com/en/ranking/graph+dbms!
  • 35. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l 0% 10% 20% 30% 2011 2014 2017 25% 2.5% 0% %ofEnterprisesusingGraphDatabases “Forrester estimates that over 25% of enterprises will be using graph databases by 2017” Sources • Forrester TechRadar™: Enterprise DBMS, Feb 13 2014 (http://www.forrester.com/TechRadar+Enterprise +DBMS+Q1+2014/fulltext/-/E-RES106801) • Dataversity Mar 31 2014: “Deconstructing NoSQL:Analysis of a 2013 Survey on the Use, Production and Assessment of NoSQLTechnologies in the Enterprise” (http://www.dataversity.net) • Neo Technology customer base in 2011 and 2014 • Estimation of other graph vendors’ customer base in 2011 and 2014 based on best available intelligence “25% of survey respondents said they plan to use Graph databases in the future.” Graph Databases: Powering The Enterprise GRAPH DATABASES - POWERING THE ENTERPRISE
  • 36. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Ref: Gartner, ‘IT Market Clock for Database Management Systems, 2014,’ September 22, 2014 https://www.gartner.com/doc/2852717/it-market-clock-database-management “Graph analysis is possibly the single most effective competitive differentiator for organizations pursuing data- driven operations and decisions after the design of data capture.” Graph Databases: Can Transform Your Business GRAPH DATABASES - CAN TRANSFORM YOUR BUSINESS
  • 37. N e o Te c h n o l o g y, I n c C o n f i d e n t i a l Summary When your business depends on Relationships in Data SUMMARY
  • 39. Neo4j's Graph Academy | www.graphdatabases.com Download Now! ! Thanks For Listening!