SlideShare a Scribd company logo
Exploring Graph
Use Cases with
JanusGraph
Jason Plurad
Open Source Developer & Advocate
DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Graphs are not new
2DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Image credit: Leonhard Euler, Solutio problematis ad
geometriam situs pertinentis (1736), Public Domain
Property Graph Model
3DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Image credit: JanusGraph, CC by 4.0
Open Source Graph Stack
4DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Apache TinkerPop™
Maintainer The Apache
Software
Foundation
License Apache
Releases 3.3.3
May 2018
https://tinkerpop.apache.org
JanusGraph™
Maintainer The Linux
Foundation
License Apache
Releases 0.3.0 planned
2Q 2018
https://janusgraph.org
IBM Compose for JanusGraph
5DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
https://www.compose.com/databases/janusgraph
Graph Data Use Cases
6
Social network analysis
Configuration management database
Master data management
Recommendation engines
Knowledge graphs
Internet of things
Cyber security attack analysis
DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
C
A
B
D
Bill of Materials
7DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Bill of Materials (BOM)
8DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Image credit: UK Government, Manual of Driving and
Maintenance for Mechanical Vehicles (1937), Public Domain
BOM Hierarchy
9DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
BOM Traversals
10DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
• Parent
• Child
• All parents
• All children
• All parents and
children
Routing
11DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Airline Reservations
and Routing
Jason
• Raleigh (RDU)
• Detroit (DTW)
• Amsterdam (AMS)
• Berlin (TXL)
Chin
• San Jose (SJC)
• London (LHR)
• Berlin (TXL)
DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Shortest Path with Gremlin
13
What is the shortest path to Berlin?
DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
Image credit: Apache TinkerPop, ALv2
> g.V(rdu).
repeat( out('route').simplePath() ).
until( has('code’, TXL') ).
limit(5).
path().by('code').
toList()
==> [RDU, JFK, TXL]
==> [RDU, LAX, TXL]
==> [RDU, MIA, TXL]
==> [RDU, YYZ, TXL]
==> [RDU, SFO, TXL]
Routing Considerations
14
What is the shortest path to Berlin?
DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
> g.V(rdu).
repeat( out('route').simplePath() ).
until( has('code’, TXL') ).
limit(5).
path().by('code').
toList()
==> [RDU, JFK, TXL]
==> [RDU, LAX, TXL]
==> [RDU, MIA, TXL]
==> [RDU, YYZ, TXL]
==> [RDU, SFO, TXL]
• Direction, Distance, Duration
• Country
• Hub airports
• Availability
• Price
Image credit: Apache TinkerPop, ALv2
15
Start Exploring Graphs
DOC ID / Month XX, 2018 / © 2018 IBM Corporation
• Graph modeling is an iterative process
• Graphs can become more interesting with a variety of connected data
• Watch out for supernodes
• When possible, start with the graph queries
• The data might be structured as a graph, but solving the business problem doesn’t always
require a graph database
16
Thank you
janusgraph.org
tinkerpop.apache.org
compose.com/databases/janusgraph
github.com/IBM/janusgraph-utils
developer.ibm.com/code/patterns
twitter.com/pluradj
Build on IBM Cloud
for free with
no time restrictions
https://ibm.biz/BdZN6M
DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
17DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation

More Related Content

What's hot (20)

PDF
Introduction to Apache Flink - Fast and reliable big data processing
Till Rohrmann
 
PPTX
Zero to Snowflake Presentation
Brett VanderPlaats
 
PDF
The Graph Database Universe: Neo4j Overview
Neo4j
 
PPT
Hadoop Map Reduce
VNIT-ACM Student Chapter
 
PPTX
APACHE SPARK.pptx
DeepaThirumurugan
 
PDF
Apache Pulsar Development 101 with Python
Timothy Spann
 
PDF
GPT and Graph Data Science to power your Knowledge Graph
Neo4j
 
PDF
MongodB Internals
Norberto Leite
 
PDF
An overview of Neo4j Internals
Tobias Lindaaker
 
PDF
Apache Spark Introduction
sudhakara st
 
PPTX
Map reduce presentation
ateeq ateeq
 
PDF
Deploying Flowable at scale in AWS
Flowable
 
PDF
Google BigQuery
Matthias Feys
 
PPTX
Deep dive into LangChain integration with Neo4j.pptx
TomazBratanic1
 
PDF
Automatic Machine Learning, AutoML
Himadri Mishra
 
PDF
ASPgems - kappa architecture
Juantomás García Molina
 
PDF
Graph database Use Cases
Max De Marzi
 
PDF
Machine Learning with PyCarent + MLflow
Databricks
 
PDF
Splunk Cloud
Splunk
 
PDF
Talend Open Studio Fundamentals #1: Workspaces, Jobs, Metadata and Trips & Tr...
Gabriele Baldassarre
 
Introduction to Apache Flink - Fast and reliable big data processing
Till Rohrmann
 
Zero to Snowflake Presentation
Brett VanderPlaats
 
The Graph Database Universe: Neo4j Overview
Neo4j
 
Hadoop Map Reduce
VNIT-ACM Student Chapter
 
APACHE SPARK.pptx
DeepaThirumurugan
 
Apache Pulsar Development 101 with Python
Timothy Spann
 
GPT and Graph Data Science to power your Knowledge Graph
Neo4j
 
MongodB Internals
Norberto Leite
 
An overview of Neo4j Internals
Tobias Lindaaker
 
Apache Spark Introduction
sudhakara st
 
Map reduce presentation
ateeq ateeq
 
Deploying Flowable at scale in AWS
Flowable
 
Google BigQuery
Matthias Feys
 
Deep dive into LangChain integration with Neo4j.pptx
TomazBratanic1
 
Automatic Machine Learning, AutoML
Himadri Mishra
 
ASPgems - kappa architecture
Juantomás García Molina
 
Graph database Use Cases
Max De Marzi
 
Machine Learning with PyCarent + MLflow
Databricks
 
Splunk Cloud
Splunk
 
Talend Open Studio Fundamentals #1: Workspaces, Jobs, Metadata and Trips & Tr...
Gabriele Baldassarre
 

Similar to Exploring Graph Use Cases with JanusGraph (20)

PPTX
Airline reservations and routing: a graph use case
DataWorks Summit
 
PDF
Airline Reservations and Routing: A Graph Use Case
Jason Plurad
 
PDF
JanusGraph: Looking Backward, Reaching Forward
Jason Plurad
 
PPTX
Janus graph lookingbackwardreachingforward
Demai Ni
 
PDF
Graph Computing with JanusGraph
Jason Plurad
 
PPTX
Large Scale Graph Analytics with JanusGraph
DataWorks Summit
 
PDF
BUILDING WHILE FLYING
Kamal Shannak
 
PDF
Graph Gurus Episode 26: Using Graph Algorithms for Advanced Analytics Part 1
TigerGraph
 
PPTX
Building a Flexible UI with Oracle ApEx
Bradley Brown
 
PPTX
Powers of Ten Redux
Jason Plurad
 
PDF
Graph Computing with JanusGraph
Jason Plurad
 
PDF
JanusGraph DB
Mike Frampton
 
PPT
Webinar: An Introduction to InfiniteGraph, and Connecting the Dots in Big Data.
InfiniteGraph
 
PPTX
Cloudera Cares + DataKind | 7 May 2015 | London, UK
Cloudera, Inc.
 
PDF
Metadata and the Power of Pattern-Finding
DATAVERSITY
 
PDF
Graph Computing with Apache TinkerPop
Jason Plurad
 
PDF
Shortest route finding using an object oriented database approach
Alexander Decker
 
PPTX
Debbie Wilson: Deliver More Efficient, Joined-Up Services through Improved Ma...
AGI Geocommunity
 
PDF
En un mundo hiperconectado, las bases de datos de grafos son tu arma secreta
javier ramirez
 
PDF
Neo4j GraphTalk Helsinki - Next-Gerneation Telecommunication Solutions with N...
Neo4j
 
Airline reservations and routing: a graph use case
DataWorks Summit
 
Airline Reservations and Routing: A Graph Use Case
Jason Plurad
 
JanusGraph: Looking Backward, Reaching Forward
Jason Plurad
 
Janus graph lookingbackwardreachingforward
Demai Ni
 
Graph Computing with JanusGraph
Jason Plurad
 
Large Scale Graph Analytics with JanusGraph
DataWorks Summit
 
BUILDING WHILE FLYING
Kamal Shannak
 
Graph Gurus Episode 26: Using Graph Algorithms for Advanced Analytics Part 1
TigerGraph
 
Building a Flexible UI with Oracle ApEx
Bradley Brown
 
Powers of Ten Redux
Jason Plurad
 
Graph Computing with JanusGraph
Jason Plurad
 
JanusGraph DB
Mike Frampton
 
Webinar: An Introduction to InfiniteGraph, and Connecting the Dots in Big Data.
InfiniteGraph
 
Cloudera Cares + DataKind | 7 May 2015 | London, UK
Cloudera, Inc.
 
Metadata and the Power of Pattern-Finding
DATAVERSITY
 
Graph Computing with Apache TinkerPop
Jason Plurad
 
Shortest route finding using an object oriented database approach
Alexander Decker
 
Debbie Wilson: Deliver More Efficient, Joined-Up Services through Improved Ma...
AGI Geocommunity
 
En un mundo hiperconectado, las bases de datos de grafos son tu arma secreta
javier ramirez
 
Neo4j GraphTalk Helsinki - Next-Gerneation Telecommunication Solutions with N...
Neo4j
 
Ad

More from Jason Plurad (9)

PDF
Community-Driven Graphs with JanusGraph
Jason Plurad
 
PDF
JanusGraph, Jupyter Meetup NYC
Jason Plurad
 
PDF
Start Flying with Python & Apache TinkerPop
Jason Plurad
 
PPTX
Community-Driven Graphs with JanusGraph
Jason Plurad
 
PDF
Graph Processing with Apache TinkerPop and Gremlin
Jason Plurad
 
PDF
IBM Open by Design: Graph Technology
Jason Plurad
 
PDF
Enabling Multimodel Graphs with Apache TinkerPop
Jason Plurad
 
PDF
Graph Processing with Titan and Scylla
Jason Plurad
 
PDF
Graph Processing with Apache TinkerPop
Jason Plurad
 
Community-Driven Graphs with JanusGraph
Jason Plurad
 
JanusGraph, Jupyter Meetup NYC
Jason Plurad
 
Start Flying with Python & Apache TinkerPop
Jason Plurad
 
Community-Driven Graphs with JanusGraph
Jason Plurad
 
Graph Processing with Apache TinkerPop and Gremlin
Jason Plurad
 
IBM Open by Design: Graph Technology
Jason Plurad
 
Enabling Multimodel Graphs with Apache TinkerPop
Jason Plurad
 
Graph Processing with Titan and Scylla
Jason Plurad
 
Graph Processing with Apache TinkerPop
Jason Plurad
 
Ad

Recently uploaded (20)

PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
Kubernetes - Architecture & Components.pdf
geethak285
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 

Exploring Graph Use Cases with JanusGraph

  • 1. Exploring Graph Use Cases with JanusGraph Jason Plurad Open Source Developer & Advocate DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
  • 2. Graphs are not new 2DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation Image credit: Leonhard Euler, Solutio problematis ad geometriam situs pertinentis (1736), Public Domain
  • 3. Property Graph Model 3DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation Image credit: JanusGraph, CC by 4.0
  • 4. Open Source Graph Stack 4DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation Apache TinkerPop™ Maintainer The Apache Software Foundation License Apache Releases 3.3.3 May 2018 https://tinkerpop.apache.org JanusGraph™ Maintainer The Linux Foundation License Apache Releases 0.3.0 planned 2Q 2018 https://janusgraph.org
  • 5. IBM Compose for JanusGraph 5DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation https://www.compose.com/databases/janusgraph
  • 6. Graph Data Use Cases 6 Social network analysis Configuration management database Master data management Recommendation engines Knowledge graphs Internet of things Cyber security attack analysis DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation C A B D
  • 7. Bill of Materials 7DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
  • 8. Bill of Materials (BOM) 8DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation Image credit: UK Government, Manual of Driving and Maintenance for Mechanical Vehicles (1937), Public Domain
  • 9. BOM Hierarchy 9DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
  • 10. BOM Traversals 10DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation • Parent • Child • All parents • All children • All parents and children
  • 11. Routing 11DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
  • 12. Airline Reservations and Routing Jason • Raleigh (RDU) • Detroit (DTW) • Amsterdam (AMS) • Berlin (TXL) Chin • San Jose (SJC) • London (LHR) • Berlin (TXL) DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
  • 13. Shortest Path with Gremlin 13 What is the shortest path to Berlin? DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation Image credit: Apache TinkerPop, ALv2 > g.V(rdu). repeat( out('route').simplePath() ). until( has('code’, TXL') ). limit(5). path().by('code'). toList() ==> [RDU, JFK, TXL] ==> [RDU, LAX, TXL] ==> [RDU, MIA, TXL] ==> [RDU, YYZ, TXL] ==> [RDU, SFO, TXL]
  • 14. Routing Considerations 14 What is the shortest path to Berlin? DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation > g.V(rdu). repeat( out('route').simplePath() ). until( has('code’, TXL') ). limit(5). path().by('code'). toList() ==> [RDU, JFK, TXL] ==> [RDU, LAX, TXL] ==> [RDU, MIA, TXL] ==> [RDU, YYZ, TXL] ==> [RDU, SFO, TXL] • Direction, Distance, Duration • Country • Hub airports • Availability • Price Image credit: Apache TinkerPop, ALv2
  • 15. 15 Start Exploring Graphs DOC ID / Month XX, 2018 / © 2018 IBM Corporation • Graph modeling is an iterative process • Graphs can become more interesting with a variety of connected data • Watch out for supernodes • When possible, start with the graph queries • The data might be structured as a graph, but solving the business problem doesn’t always require a graph database
  • 16. 16 Thank you janusgraph.org tinkerpop.apache.org compose.com/databases/janusgraph github.com/IBM/janusgraph-utils developer.ibm.com/code/patterns twitter.com/pluradj Build on IBM Cloud for free with no time restrictions https://ibm.biz/BdZN6M DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation
  • 17. 17DataWorks Summit San Jose / IBM Meetup / June 18, 2018 / © 2018 IBM Corporation