SlideShare uma empresa Scribd logo
1 de 30
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

Mais conteúdo relacionado

Mais procurados

Graph database Use Cases
Graph database Use CasesGraph database Use Cases
Graph database Use CasesMax De Marzi
 
Neo4j GraphDay Seattle- Sept19- neo4j basic training
Neo4j GraphDay Seattle- Sept19- neo4j basic trainingNeo4j GraphDay Seattle- Sept19- neo4j basic training
Neo4j GraphDay Seattle- Sept19- neo4j basic trainingNeo4j
 
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 & BahrainNeo4j
 
Neo4j 4 Overview
Neo4j 4 OverviewNeo4j 4 Overview
Neo4j 4 OverviewNeo4j
 
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 WorldNeo4j
 
Neo4j Presentation
Neo4j PresentationNeo4j Presentation
Neo4j PresentationMax De Marzi
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfNeo4j
 
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine LearnGraphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine LearnNeo4j
 
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceNeo4j
 
Introduction à Neo4j
Introduction à Neo4jIntroduction à Neo4j
Introduction à Neo4jNeo4j
 
Neo4j - Cas d'usages pour votre métier
Neo4j - Cas d'usages pour votre métierNeo4j - Cas d'usages pour votre métier
Neo4j - Cas d'usages pour votre métierNeo4j
 
How Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge GraphHow Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge GraphNeo4j
 
Neo4j Popular use case
Neo4j Popular use case Neo4j Popular use case
Neo4j Popular use case Neo4j
 
An overview of Neo4j Internals
An overview of Neo4j InternalsAn overview of Neo4j Internals
An overview of Neo4j InternalsTobias Lindaaker
 
Introduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash courseIntroduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash courseNeo4j
 
How Graph Databases efficiently store, manage and query connected data at s...
How Graph Databases efficiently  store, manage and query  connected data at s...How Graph Databases efficiently  store, manage and query  connected data at s...
How Graph Databases efficiently store, manage and query connected data at s...jexp
 
Training Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL LibraryTraining Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL LibraryNeo4j
 
The Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j OverviewThe Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j OverviewNeo4j
 
Workshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data ScienceWorkshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data ScienceNeo4j
 

Mais procurados (20)

Graph database Use Cases
Graph database Use CasesGraph database Use Cases
Graph database Use Cases
 
Neo4j GraphDay Seattle- Sept19- neo4j basic training
Neo4j GraphDay Seattle- Sept19- neo4j basic trainingNeo4j GraphDay Seattle- Sept19- neo4j basic training
Neo4j GraphDay Seattle- Sept19- neo4j basic training
 
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 4 Overview
Neo4j 4 OverviewNeo4j 4 Overview
Neo4j 4 Overview
 
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 Presentation
Neo4j PresentationNeo4j Presentation
Neo4j Presentation
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
 
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine LearnGraphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
 
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
 
Introduction à Neo4j
Introduction à Neo4jIntroduction à Neo4j
Introduction à Neo4j
 
Neo4j - Cas d'usages pour votre métier
Neo4j - Cas d'usages pour votre métierNeo4j - Cas d'usages pour votre métier
Neo4j - Cas d'usages pour votre métier
 
How Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge GraphHow Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge Graph
 
Neo4j Popular use case
Neo4j Popular use case Neo4j Popular use case
Neo4j Popular use case
 
An overview of Neo4j Internals
An overview of Neo4j InternalsAn overview of Neo4j Internals
An overview of Neo4j Internals
 
Introduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash courseIntroduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash course
 
How Graph Databases efficiently store, manage and query connected data at s...
How Graph Databases efficiently  store, manage and query  connected data at s...How Graph Databases efficiently  store, manage and query  connected data at s...
How Graph Databases efficiently store, manage and query connected data at s...
 
Training Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL LibraryTraining Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL Library
 
The Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j OverviewThe Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j Overview
 
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
 

Semelhante a 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 & Neo4jSuroor 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 #panamapapersdarthvader42
 
Polyglot Persistence with MongoDB and Neo4j
Polyglot Persistence with MongoDB and Neo4jPolyglot Persistence with MongoDB and Neo4j
Polyglot Persistence with MongoDB and Neo4jCorie 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 CasesNeo4j
 
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 Neo4jNeo4j
 
Performance of graph query languages
Performance of graph query languagesPerformance of graph query languages
Performance of graph query languagesAthiq Ahamed
 
Big Data Analytics with R
Big Data Analytics with RBig Data Analytics with R
Big Data Analytics with RGreat 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 Neo4jNeo4j
 
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 2013DataMind-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 BuschTalent42
 
richardrodger-vespa-waterford-oct.pdf
richardrodger-vespa-waterford-oct.pdfrichardrodger-vespa-waterford-oct.pdf
richardrodger-vespa-waterford-oct.pdfRichard Rodger
 
FP adoption at REA
FP adoption at REAFP adoption at REA
FP adoption at REAkenbot
 
CROSSMINER Project at OW2con'19
CROSSMINER Project at OW2con'19CROSSMINER Project at OW2con'19
CROSSMINER Project at OW2con'19OW2
 
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 RasaRasa Technologies
 
An Introduction to Apache Hadoop
An  Introduction to Apache HadoopAn  Introduction to Apache Hadoop
An Introduction to Apache HadoopMindfire Solutions
 
Scaling Pinterest
Scaling PinterestScaling Pinterest
Scaling PinterestC4Media
 
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-convertedNeo4j graphdatabaseforrecommendations-130531021030-phpapp02-converted
Neo4j graphdatabaseforrecommendations-130531021030-phpapp02-convertedsnehapandey01
 

Semelhante a 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
 

Mais de 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
 

Último

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 

Último (20)

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 

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