SlideShare a Scribd company logo
Neo4j:Introduction to 
Graph DB 
Presenter: Manash Ranjan Rautray,QA, 
Mindfire Solutions 
Date: 12/09/2014
Manash Ranjan Rautray, Software QA Engineer 
Mindfire Solutions 
Skills : WebDriver, Java, JUnit, Maven, Oracle 11G,Neo4j,Mongo DB 
Certifications : ISTQB Foundation Level, V-Skills Selenium Certified,MCP:70-480 
Connect with Me : 
LinkedIn : http://in.linkedin.com/pub/manash-ranjan-rautray/60/9a5/528 
Contact Me : 
Email :manash.rautray@mindfiresolutiosn.com 
Skype: mfsi_manashr 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions 
About Me
The Path Forward: 
·What is a Graph ? 
·What is Neo4j ? 
·Building blocks of a Graph DB 
·Data Modelling: SQL vs Graph 
·Use case: Social Media 
·Cypher Query Language 
·Installation of Neo 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
What is Graph ? 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
This is a Graph 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Twitter Social Graph 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Internet Graph 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
A graph database... 
2N 
O: not for charts & diagrams. 
YES: for storing data that is structured as a graph. 
Remember linked lists, trees? 
Graphs are the general-purpose data structure. 
“A relational database may tell you the average age of everyone in this 
session,but a graph database will tell you with whom you will be going for 
lunch.” 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
What is Neo4j? 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
The Property Graph of Neo4j: 
open_source: 
true 
language:’Swedish’ 
year:2007 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Who is using Graph Databases? 
● Some big names using Graph 
Databases: 
○ Facebook - Open Graph Database 
○ Google - Knowledge Graph 
○ Twitter - FlockDB distributed graph Database 
○ Adobe 
○ Glassdoor 
○ JustDial 
○ CareerBuilder 
○ Indiatimes 
○ telenor 
○ hewlett packard 
○ T-Mobile 
○ Cisco Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Why Neo4j? 
● Fully Transactional (ACID) 
● Highly Agile 
● Best suited for data which is highly connected and have complex 
relationships. 
● Is supremely fast when it comes to querying connected data 
● Highly scalable, up to several billion nodes/relationships/properties 
● Neo4j allows infinite depth 
● Data Modeling in Neo4j : 
·The whole model relies on the questions we have to ask our database 
·Very easily done, even when designing domains in SQL we tend to make 
graphs on whiteboards. 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Neo4j vs. Mysql 
● for the simple friends of friends query, Neo4j is 60% faster than 
MySQL 
● for friends of friends of friends, Neo is 180 times faster 
● and for the depth four query, Neo4j is 1,135 times faster 
● and MySQL just chokes on the depth 5 query 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Data Modeling : SQL vs. 
Graph 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Example: YouTube in SQL 
ID Name 
1 Alice 
2 Bob 
3 Charles 
4 David 
ID Name 
1 Bob’s Gaming 
Channel 
2 Bob’s Cute Dog 
3 Cooking with 
Charles 
4 David’s How-To 
Channel 
5 Disco Dancing with 
David 
User 
ID 
Channel 
ID 
2 1 
2 2 
3 3 
4 4 
4 5 
USERS 
USERS_CHANNELS CHANNELS 
USERS_SUBSCRIPTIONS 
User 
ID 
Channel 
ID 
1 3 
1 4 
2 3 
2 5 
3 1 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
User 
Channel Example: YouTube in a 
name:’David’Graph 
name:’Disco Dancing with David’ 
OPERATES 
name:’David’s How-To Channel’ 
name:’Bob’ 
name:’Bob’s Cute Dog’ 
name:’Bob’s Gaming Channel’ 
name:’Alice’ 
name:’Cooking with Charles’ name:’Charles’ 
OPERATES 
SUBSCRIBED 
OPERATES 
OPERATES 
OPERATES 
SUBSCRIBED 
SUBSCRIBED 
SUBSCRIBED 
SUBSCRIBED 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Use Case: Social Media 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Cypher Query Language 
● Is a declarative query language for querying 
Neo4j 
● Expressive and Human readable syntax 
● Matches patterns of nodes and relationships to 
extract/modify information in the graph 
● With cypher, we can create, update, remove 
nodes, relationships and properties 
● Has an online console at http://www.neo4j. 
org/console 
● Has a short learning curve due to similarities with 
SQL query statements 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Cypher Query Language 
Create a Node: 
CREATE (n:Actor { name:"Tom Hanks",age:44 }) 
● Actor is the Label 
● n is the variable for new node 
● {} brackets to add properties to the node 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Cypher Query Language 
Read Properties of a Node: 
MATCH (actor:Actor) 
WHERE actor.name="Tom Hanks 
RETURN actor; 
● Actor is the Label 
● actor is the variable for node 
● WHERE to restrict the result to our 
criteria 
● RETURN the properties on the node 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
Question and 
Answer 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
References 
http://neo4j.com/docs/milestone/ 
http://neo4j.com/graphacademy/?gclid=CJ_Mn56e3b8CFXNo7AodVDoAkA 
https://www.youtube.com/watch?v=7Fsfa5DP9sE 
groups.google.com/group/neo4j
Thank you 
Presenter: Manash Ranjan Rautray, Mindfire 
Solutions
www.mindfiresolutions.com 
https://www.facebook.com/MindfireSolutions 
http://www.linkedin.com/company/mindfire-solutions 
http://twitter.com/mindfires

More Related Content

What's hot

Neo4j 4.1 overview
Neo4j 4.1 overviewNeo4j 4.1 overview
Neo4j 4.1 overview
Neo4j
 
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4jNeo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j
 
Introduction to Neo4j for the Emirates & Bahrain
Introduction to Neo4j for the Emirates & BahrainIntroduction to Neo4j for the Emirates & Bahrain
Introduction to Neo4j for the Emirates & Bahrain
Neo4j
 
Intro to Cypher
Intro to CypherIntro to Cypher
Intro to Cypher
Neo4j
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
Max De Marzi
 
Intro to Neo4j
Intro to Neo4jIntro to Neo4j
Intro to Neo4j
Neo4j
 
How to Build a Fraud Detection Solution with Neo4j
How to Build a Fraud Detection Solution with Neo4jHow to Build a Fraud Detection Solution with Neo4j
How to Build a Fraud Detection Solution with Neo4j
Neo4j
 
Neo4j Fundamentals
Neo4j FundamentalsNeo4j Fundamentals
Neo4j Fundamentals
Max De Marzi
 
Graph based data models
Graph based data modelsGraph based data models
Graph based data models
Moumie Soulemane
 
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
Neo4j
 
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Neo4j
 
Graph databases
Graph databasesGraph databases
Graph databases
Vinoth Kannan
 
Workshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data ScienceWorkshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data Science
Neo4j
 
Knowledge Graphs and Generative AI
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
Neo4j
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
Harri Kauhanen
 
Neo4j in Production: A look at Neo4j in the Real World
Neo4j in Production: A look at Neo4j in the Real WorldNeo4j in Production: A look at Neo4j in the Real World
Neo4j in Production: A look at Neo4j in the Real World
Neo4j
 
Neo4j in Depth
Neo4j in DepthNeo4j in Depth
Neo4j in Depth
Max De Marzi
 
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data ScienceScaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Neo4j
 
Fraud Detection and Neo4j
Fraud Detection and Neo4j Fraud Detection and Neo4j
Fraud Detection and Neo4j
Max De Marzi
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
Neo4j
 

What's hot (20)

Neo4j 4.1 overview
Neo4j 4.1 overviewNeo4j 4.1 overview
Neo4j 4.1 overview
 
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4jNeo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
 
Introduction to Neo4j for the Emirates & Bahrain
Introduction to Neo4j for the Emirates & BahrainIntroduction to Neo4j for the Emirates & Bahrain
Introduction to Neo4j for the Emirates & Bahrain
 
Intro to Cypher
Intro to CypherIntro to Cypher
Intro to Cypher
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Intro to Neo4j
Intro to Neo4jIntro to Neo4j
Intro to Neo4j
 
How to Build a Fraud Detection Solution with Neo4j
How to Build a Fraud Detection Solution with Neo4jHow to Build a Fraud Detection Solution with Neo4j
How to Build a Fraud Detection Solution with Neo4j
 
Neo4j Fundamentals
Neo4j FundamentalsNeo4j Fundamentals
Neo4j Fundamentals
 
Graph based data models
Graph based data modelsGraph based data models
Graph based data models
 
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
 
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
 
Graph databases
Graph databasesGraph databases
Graph databases
 
Workshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data ScienceWorkshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data Science
 
Knowledge Graphs and Generative AI
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Neo4j in Production: A look at Neo4j in the Real World
Neo4j in Production: A look at Neo4j in the Real WorldNeo4j in Production: A look at Neo4j in the Real World
Neo4j in Production: A look at Neo4j in the Real World
 
Neo4j in Depth
Neo4j in DepthNeo4j in Depth
Neo4j in Depth
 
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data ScienceScaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
 
Fraud Detection and Neo4j
Fraud Detection and Neo4j Fraud Detection and Neo4j
Fraud Detection and Neo4j
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
 

Similar to Neo4J : Introduction to Graph Database

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
 
No sql database and python -- Presentation done at Python Developer's meetup ...
No sql database and python -- Presentation done at Python Developer's meetup ...No sql database and python -- Presentation done at Python Developer's meetup ...
No sql database and python -- Presentation done at Python Developer's meetup ...
Roshan Bhandari
 
Graph databases and the #panamapapers
Graph databases and the #panamapapersGraph databases and the #panamapapers
Graph databases and the #panamapapers
darthvader42
 
Polyglot Persistence with MongoDB and Neo4j
Polyglot Persistence with MongoDB and Neo4jPolyglot Persistence with MongoDB and Neo4j
Polyglot Persistence with MongoDB and Neo4j
Corie Pollock
 
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
 
Bringing Deep Learning into production
Bringing Deep Learning into production Bringing Deep Learning into production
Bringing Deep Learning into production
Paolo Platter
 
GraphTalk Helsinki - Introduction to Graphs and Neo4j
GraphTalk Helsinki - Introduction to Graphs and Neo4jGraphTalk Helsinki - Introduction to Graphs and Neo4j
GraphTalk Helsinki - Introduction to Graphs and Neo4j
Neo4j
 
Performance of graph query languages
Performance of graph query languagesPerformance of graph query languages
Performance of graph query languages
Athiq Ahamed
 
Big Data Analytics with R
Big Data Analytics with RBig Data Analytics with R
Big Data Analytics with R
Great Wide Open
 
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Neo4j
 
Introducción a Neo4j
Introducción a Neo4jIntroducción a Neo4j
Introducción a Neo4j
Neo4j
 
DataMind interactive learning: Dublin R User Group: September 2013
DataMind interactive learning: Dublin R User Group: September 2013DataMind interactive learning: Dublin R User Group: September 2013
DataMind interactive learning: Dublin R User Group: September 2013
DataMind-slides
 
Talent42 2017: Netflix and Fill - Laura Pruitt and Sydney Busch
Talent42 2017: Netflix and Fill - Laura Pruitt and Sydney BuschTalent42 2017: Netflix and Fill - Laura Pruitt and Sydney Busch
Talent42 2017: Netflix and Fill - Laura Pruitt and Sydney Busch
Talent42
 
richardrodger-vespa-waterford-oct.pdf
richardrodger-vespa-waterford-oct.pdfrichardrodger-vespa-waterford-oct.pdf
richardrodger-vespa-waterford-oct.pdf
Richard Rodger
 
FP adoption at REA
FP adoption at REAFP adoption at REA
FP adoption at REA
kenbot
 
CROSSMINER Project at OW2con'19
CROSSMINER Project at OW2con'19CROSSMINER Project at OW2con'19
CROSSMINER Project at OW2con'19
OW2
 
Rasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from Rasa
Rasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from RasaRasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from Rasa
Rasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from Rasa
Rasa Technologies
 
An Introduction to Apache Hadoop
An  Introduction to Apache HadoopAn  Introduction to Apache Hadoop
An Introduction to Apache Hadoop
Mindfire Solutions
 
Scaling Pinterest
Scaling PinterestScaling Pinterest
Scaling Pinterest
C4Media
 
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-convertedNeo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
snehapandey01
 

Similar to Neo4J : Introduction to Graph Database (20)

Getting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4jGetting started with Graph Databases & Neo4j
Getting started with Graph Databases & Neo4j
 
No sql database and python -- Presentation done at Python Developer's meetup ...
No sql database and python -- Presentation done at Python Developer's meetup ...No sql database and python -- Presentation done at Python Developer's meetup ...
No sql database and python -- Presentation done at Python Developer's meetup ...
 
Graph databases and the #panamapapers
Graph databases and the #panamapapersGraph databases and the #panamapapers
Graph databases and the #panamapapers
 
Polyglot Persistence with MongoDB and Neo4j
Polyglot Persistence with MongoDB and Neo4jPolyglot Persistence with MongoDB and Neo4j
Polyglot Persistence with MongoDB and Neo4j
 
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
 
Bringing Deep Learning into production
Bringing Deep Learning into production Bringing Deep Learning into production
Bringing Deep Learning into production
 
GraphTalk Helsinki - Introduction to Graphs and Neo4j
GraphTalk Helsinki - Introduction to Graphs and Neo4jGraphTalk Helsinki - Introduction to Graphs and Neo4j
GraphTalk Helsinki - Introduction to Graphs and Neo4j
 
Performance of graph query languages
Performance of graph query languagesPerformance of graph query languages
Performance of graph query languages
 
Big Data Analytics with R
Big Data Analytics with RBig Data Analytics with R
Big Data Analytics with R
 
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
 
Introducción a Neo4j
Introducción a Neo4jIntroducción a Neo4j
Introducción a Neo4j
 
DataMind interactive learning: Dublin R User Group: September 2013
DataMind interactive learning: Dublin R User Group: September 2013DataMind interactive learning: Dublin R User Group: September 2013
DataMind interactive learning: Dublin R User Group: September 2013
 
Talent42 2017: Netflix and Fill - Laura Pruitt and Sydney Busch
Talent42 2017: Netflix and Fill - Laura Pruitt and Sydney BuschTalent42 2017: Netflix and Fill - Laura Pruitt and Sydney Busch
Talent42 2017: Netflix and Fill - Laura Pruitt and Sydney Busch
 
richardrodger-vespa-waterford-oct.pdf
richardrodger-vespa-waterford-oct.pdfrichardrodger-vespa-waterford-oct.pdf
richardrodger-vespa-waterford-oct.pdf
 
FP adoption at REA
FP adoption at REAFP adoption at REA
FP adoption at REA
 
CROSSMINER Project at OW2con'19
CROSSMINER Project at OW2con'19CROSSMINER Project at OW2con'19
CROSSMINER Project at OW2con'19
 
Rasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from Rasa
Rasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from RasaRasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from Rasa
Rasa Developer Summit - Tom Bocklisch, Rasa - Product Updates from Rasa
 
An Introduction to Apache Hadoop
An  Introduction to Apache HadoopAn  Introduction to Apache Hadoop
An Introduction to Apache Hadoop
 
Scaling Pinterest
Scaling PinterestScaling Pinterest
Scaling Pinterest
 
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-convertedNeo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
 

More from Mindfire Solutions

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
Mindfire Solutions
 
diet management app
diet management appdiet management app
diet management app
Mindfire Solutions
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
Mindfire Solutions
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
Mindfire Solutions
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
Mindfire Solutions
 
ELMAH
ELMAHELMAH
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
Mindfire Solutions
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
Mindfire Solutions
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
Mindfire Solutions
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
Mindfire Solutions
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
Mindfire Solutions
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
Mindfire Solutions
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
Mindfire Solutions
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
Mindfire Solutions
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
Mindfire Solutions
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
Mindfire Solutions
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
Mindfire Solutions
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
Mindfire Solutions
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
Mindfire Solutions
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
Mindfire Solutions
 

More from Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Recently uploaded

Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Envertis Software Solutions
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
Ayan Halder
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Top 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptxTop 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptx
devvsandy
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
mz5nrf0n
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
YousufSait3
 

Recently uploaded (20)

Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Top 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptxTop 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptx
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
 

Neo4J : Introduction to Graph Database

  • 1. Neo4j:Introduction to Graph DB Presenter: Manash Ranjan Rautray,QA, Mindfire Solutions Date: 12/09/2014
  • 2. Manash Ranjan Rautray, Software QA Engineer Mindfire Solutions Skills : WebDriver, Java, JUnit, Maven, Oracle 11G,Neo4j,Mongo DB Certifications : ISTQB Foundation Level, V-Skills Selenium Certified,MCP:70-480 Connect with Me : LinkedIn : http://in.linkedin.com/pub/manash-ranjan-rautray/60/9a5/528 Contact Me : Email :manash.rautray@mindfiresolutiosn.com Skype: mfsi_manashr Presenter: Manash Ranjan Rautray, Mindfire Solutions About Me
  • 3. The Path Forward: ·What is a Graph ? ·What is Neo4j ? ·Building blocks of a Graph DB ·Data Modelling: SQL vs Graph ·Use case: Social Media ·Cypher Query Language ·Installation of Neo Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 4. What is Graph ? Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 5. This is a Graph Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 6. Twitter Social Graph Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 7. Internet Graph Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 8. A graph database... 2N O: not for charts & diagrams. YES: for storing data that is structured as a graph. Remember linked lists, trees? Graphs are the general-purpose data structure. “A relational database may tell you the average age of everyone in this session,but a graph database will tell you with whom you will be going for lunch.” Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 9. What is Neo4j? Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 10. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 11. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 12. The Property Graph of Neo4j: open_source: true language:’Swedish’ year:2007 Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 13. Who is using Graph Databases? ● Some big names using Graph Databases: ○ Facebook - Open Graph Database ○ Google - Knowledge Graph ○ Twitter - FlockDB distributed graph Database ○ Adobe ○ Glassdoor ○ JustDial ○ CareerBuilder ○ Indiatimes ○ telenor ○ hewlett packard ○ T-Mobile ○ Cisco Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 14. Why Neo4j? ● Fully Transactional (ACID) ● Highly Agile ● Best suited for data which is highly connected and have complex relationships. ● Is supremely fast when it comes to querying connected data ● Highly scalable, up to several billion nodes/relationships/properties ● Neo4j allows infinite depth ● Data Modeling in Neo4j : ·The whole model relies on the questions we have to ask our database ·Very easily done, even when designing domains in SQL we tend to make graphs on whiteboards. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 15. Neo4j vs. Mysql ● for the simple friends of friends query, Neo4j is 60% faster than MySQL ● for friends of friends of friends, Neo is 180 times faster ● and for the depth four query, Neo4j is 1,135 times faster ● and MySQL just chokes on the depth 5 query Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 16. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 17. Data Modeling : SQL vs. Graph Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 18. Example: YouTube in SQL ID Name 1 Alice 2 Bob 3 Charles 4 David ID Name 1 Bob’s Gaming Channel 2 Bob’s Cute Dog 3 Cooking with Charles 4 David’s How-To Channel 5 Disco Dancing with David User ID Channel ID 2 1 2 2 3 3 4 4 4 5 USERS USERS_CHANNELS CHANNELS USERS_SUBSCRIPTIONS User ID Channel ID 1 3 1 4 2 3 2 5 3 1 Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 19. User Channel Example: YouTube in a name:’David’Graph name:’Disco Dancing with David’ OPERATES name:’David’s How-To Channel’ name:’Bob’ name:’Bob’s Cute Dog’ name:’Bob’s Gaming Channel’ name:’Alice’ name:’Cooking with Charles’ name:’Charles’ OPERATES SUBSCRIBED OPERATES OPERATES OPERATES SUBSCRIBED SUBSCRIBED SUBSCRIBED SUBSCRIBED Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 20. Use Case: Social Media Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 21. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 22. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 23. Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 24. Cypher Query Language ● Is a declarative query language for querying Neo4j ● Expressive and Human readable syntax ● Matches patterns of nodes and relationships to extract/modify information in the graph ● With cypher, we can create, update, remove nodes, relationships and properties ● Has an online console at http://www.neo4j. org/console ● Has a short learning curve due to similarities with SQL query statements Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 25. Cypher Query Language Create a Node: CREATE (n:Actor { name:"Tom Hanks",age:44 }) ● Actor is the Label ● n is the variable for new node ● {} brackets to add properties to the node Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 26. Cypher Query Language Read Properties of a Node: MATCH (actor:Actor) WHERE actor.name="Tom Hanks RETURN actor; ● Actor is the Label ● actor is the variable for node ● WHERE to restrict the result to our criteria ● RETURN the properties on the node Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 27. Question and Answer Presenter: Manash Ranjan Rautray, Mindfire Solutions
  • 28. References http://neo4j.com/docs/milestone/ http://neo4j.com/graphacademy/?gclid=CJ_Mn56e3b8CFXNo7AodVDoAkA https://www.youtube.com/watch?v=7Fsfa5DP9sE groups.google.com/group/neo4j
  • 29. Thank you Presenter: Manash Ranjan Rautray, Mindfire Solutions