SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
Introduction to Neo4jIntroduction to Neo4j
Introduction to Neo4jNeo4j
 
Introducing Neo4j
Introducing Neo4jIntroducing Neo4j
Introducing Neo4jNeo4j
 
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 Neo4jDebanjan Mahata
 
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, Neo4jNeo4j
 
Intro to Neo4j presentation
Intro to Neo4j presentationIntro to Neo4j presentation
Intro to Neo4j presentationjexp
 
Graphs for Finance - AML with Neo4j Graph Data Science
Graphs for Finance - AML with Neo4j Graph Data Science Graphs for Finance - AML with Neo4j Graph Data Science
Graphs for Finance - AML with Neo4j Graph Data Science Neo4j
 
NOSQLEU - Graph Databases and Neo4j
NOSQLEU - Graph Databases and Neo4jNOSQLEU - Graph Databases and Neo4j
NOSQLEU - Graph Databases and Neo4jTobias Lindaaker
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 
Neo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j
 
RDBMS to Graph
RDBMS to GraphRDBMS to Graph
RDBMS to GraphNeo4j
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4jjexp
 
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
 
Neo4j Fundamentals
Neo4j FundamentalsNeo4j Fundamentals
Neo4j FundamentalsMax De Marzi
 
Building Applications with a Graph Database
Building Applications with a Graph DatabaseBuilding Applications with a Graph Database
Building Applications with a Graph DatabaseTobias Lindaaker
 
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 WhereEugene Hanikblum
 
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
 
Intermediate Cypher.pdf
Intermediate Cypher.pdfIntermediate Cypher.pdf
Intermediate Cypher.pdfNeo4j
 

Tendances (20)

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
Introduction to Neo4jIntroduction to Neo4j
Introduction to Neo4j
 
Introducing Neo4j
Introducing Neo4jIntroducing Neo4j
Introducing Neo4j
 
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
 
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
 
Intro to Neo4j presentation
Intro to Neo4j presentationIntro to Neo4j presentation
Intro to Neo4j presentation
 
Graphs for Finance - AML with Neo4j Graph Data Science
Graphs for Finance - AML with Neo4j Graph Data Science Graphs for Finance - AML with Neo4j Graph Data Science
Graphs for Finance - AML with Neo4j Graph Data Science
 
NOSQLEU - Graph Databases and Neo4j
NOSQLEU - Graph Databases and Neo4jNOSQLEU - Graph Databases and Neo4j
NOSQLEU - Graph Databases and Neo4j
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Neo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j Graph Data Science - Webinar
Neo4j Graph Data Science - Webinar
 
RDBMS to Graph
RDBMS to GraphRDBMS to Graph
RDBMS to Graph
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
 
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
 
Neo4j in Depth
Neo4j in DepthNeo4j in Depth
Neo4j in Depth
 
Neo4j Fundamentals
Neo4j FundamentalsNeo4j Fundamentals
Neo4j Fundamentals
 
Building Applications with a Graph Database
Building Applications with a Graph DatabaseBuilding Applications with a Graph Database
Building Applications with a Graph Database
 
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
 
Graph databases
Graph databasesGraph databases
Graph databases
 
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...
 
Intermediate Cypher.pdf
Intermediate Cypher.pdfIntermediate Cypher.pdf
Intermediate Cypher.pdf
 

Similaire à 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
 

Similaire à 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
 

Plus 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
 

Dernier

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 

Dernier (20)

Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 

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