SlideShare a Scribd company logo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Oracle Ask TOM Office Hours:
How to Visualize Graphs
Create graph visualizations with Oracle Database.
2018.8.28
Albert Godfrind, Solutions Architect @agodfrin
Gabriela Montiel-Moreno, Software Development Manager @gabimontielm
Jean Ihm, Product Manager @JeanIhm
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
AskTOM sessions on property graphs
• Today’s is the fourth session on property graphs
– February’s session introduced Property Graphs
– March's session explained how to model graphs from relational data
– May's session explained how to perform graph analytics
– In case you missed them, recordings are available at the URL above
• Today’s topic: How to Visualize Graphs
• Visit the Spatial and Graph landing page to view recordings; submit
feedback, questions, topic requests; view upcoming session dates and
topics; sign up
2
https://devgym.oracle.com/pls/apex/dg/office_hours/3084
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
3
The Story so far …
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Oracle Big Data Spatial and Graph
• Available for Big Data platform/BDCS
– Hadoop, HBase, Oracle NoSQL
• Supported both on BDA and commodity
hardware
– CDH and Hortonworks
• Database connectivity through Big Data
Connectors or Big Data SQL
• Included in Big Data Cloud Service
Oracle Spatial and Graph
• Available with Oracle 18c/12.2/DBCS
• Using tables for graph persistence
• Graph views on relational data
• In-database graph analytics
– Sparsification, shortest path, page rank, triangle
counting, WCC, sub graphs
• SQL queries possible
• Included in Database Cloud Service
4
Graph Product Options
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Graph Data Access Layer (DAL)
5
Architecture of Property Graph
Graph Analytics (PGX)
Blueprints/Tinkerpop/Gremlin
REST/WebService
APIs
Java,Groovy,Python,…
Scalable and Persistent Storage Management
Oracle NoSQL
Database
Oracle RDBMS Apache HBase
What we focus
on now
Parallel In-Memory Graph Analytics
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
• What is a graph?
– Data model representing entities as
vertices and relationships as edges
– Optionally including attributes
• Flexible data model
– No predefined schema, easily extensible
– Particularly useful for sparse data
• Enabling new kinds of analytics
– Overcoming limitations in relational
technology
6
Graph Data Model
E
A D
C B
F
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Graph Analysis for Business Insight
7
Identify
Influencers
Discover Graph Patterns
in Big Data
Generate
Recommendations
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
8
Viewing Graphs. Why and How ?
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Why Visualize Graphs ?
• Analytics identify important vertices
• Analytics identify relationships
• A visual graph highlights the results
9
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 10
https://www.macalester.edu/~abeverid/thrones.html
A social network generated from
A Storm of Swords.
The color of a vertex indicates its
community.
The size of a vertex corresponds
to its PageRank value, and the
size of its label corresponds to its
betweenness centrality.
An edge’s thickness represents
its weight.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 11
https://www.macalester.edu/~abeverid/thrones.html
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
• d3.js • vis.js
12
Graph Visualization Libraries
http://visjs.orghttp://d3js.org
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Tom Sawyer Perspectives
• Desktop and Web
• Powerful and flexible
• Full Oracle Integration
13
http://www.tomsawyer.com
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Linkurious
• Server-based (Node.JS)
• Light-weight JavaScript
visualizer
• Powerful rendering
• Oracle integration
14
https://www.slideshare.net/Linkurious/how-to-visualize-oracle-big-data-spatial-and-graph-with-ogma
https://linkurio.us/visualize-oracle-graph-data-ogma-library/
https://linkurio.us
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
• Open Source
• Originally for biological research
• Now a general platform for
complex graph analysis and
visualization
• Desktop / Pure Java
• Extensible via Plug-ins
• Also Javascript library
(cytoscape.js)
15
http://www.cytoscape.org
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 16
Interactive Analysis with Property Graph Plug-in
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Download the Proper Version for Your Platform
• Can also install older
versions
• All the way back to
version 2.1
17
http://www.cytoscape.org
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Configure Property Graph Plugins
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
For Oracle Spatial and Graph For Big Data Spatial and Graph
19
Property Graph Plug-ins for Cytoscape
http://www.oracle.com/technetwork/database/options/s
patialandgraph/downloads/index-156999.html
https://www.oracle.com/technetwork/database/database-
technologies/bigdata-spatialandgraph/downloads/bdsp-
downloads-2562575.html
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Cytoscape Configuration for Oracle Database
Database Configuration
oracle.rdbms.jdbc-url The JDBC connection url: “jdbc:oracle:thin:@host:port:sid”
oracle.rdbms.username The username value to establish the JDBC connection
oracle.rdbms.graph-name The graph name to be loaded by default.
Database Configuration
oracle-pg-pgx.num.workers.io
The number of workers to be executed for input/output
operations
oracle-pg-pgx.num.workers.analysis
The number of workers to be executed for analysis
operations
oracle-pg-pgx.server.instance.url
The url where the analyst service endpoint will be executed.
For example: http://127.0.0.1:7007/
20
File propertyGraph.properties
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Cytoscape Features
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Establishing a connection to Oracle DB
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 23
Graph Manipulation
Request Graph
Information
Data Access Layer
Oracle Spatial and Graph
Oracle Database
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 24
Retrieve schema
information
Data Access Layer
Oracle Spatial and Graph
Graph Manipulation
Oracle Database
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 25
Graph Manipulation
Data Access Layer
Oracle Spatial and Graph
Create temporary graph
Oracle Database
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 26
Graph Manipulation
Data Access LayerCreate temporary graph
Visualize temporary
graph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Visualizing Properties on Nodes and Edges
27
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Searching …
28
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Visual Mapping Rules
29
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Finding the Shortest Path Between Two Vertices
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Execute PGQL
Edit the query or
load from a file
Add the properties
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 32
Execute PGQL
Parallel In-Memory Graph Analytics (PGX)PGQL Query
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 33
Execute PGQL
PGQL Query Parallel In-Memory Graph Analytics (PGX)
Oracle Spatial and Graph
Read original
graph
Oracle Database
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 34
Execute PGQL
PGQL Query Parallel In-Memory Graph Analytics (PGX)
Execute query
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 35
Execute PGQL
Results Parallel In-Memory Graph Analytics (PGX)
Execute query
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 36
Execute PGQL
Results Parallel In-Memory Graph Analytics (PGX)
Execute query
Visualize
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 37
Saving Analytics Results
• Current visible graph can be
stored for an easy retrieval in the
future as sub-graphs
• Each sub-graph represents a
successor of N depth-level of the
original graph
• Internally the hierarchy of sub-
graphs is managed by a meta-
graph.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 38
Load Graph Data From Saved Sub-graphs
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 39
Import a Graph Data File
• Multiple Files supported:
– GML
– GraphSON
– GML
– Oracle Flat File
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Adding Vertices
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Adding Edges
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Removing Vertices
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
43
Demo
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Demo
44
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
45
Resources
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Resources
• Oracle Spatial and Graph & Big Data Spatial and Graph on OTN
oracle.com/technetwork/database/options/spatialandgraph
oracle.com/technetwork/database/database-technologies/bigdata-spatialandgraph
– White papers, software downloads, documentation and videos
• Blogs – examples, tips & tricks
blogs.oracle.com/oraclespatial | blogs.oracle.com/bigdataspatialgraph
• Property Graphs 101: How to Get Started with Property Graphs on the Oracle Database –
Arthur Dayton, Vlamis Software https://youtu.be/QSj0zOjOAWI
• YouTube channel: https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w
• Oracle Big Data Lite Virtual Machine - a free sandbox to get started
www.oracle.com/technetwork/database/bigdata-appliance/oracle-bigdatalite-2104726.html
– Hands On Lab included in /opt/oracle/oracle-spatial-graph/ or http://github.com/oracle/BigDataLite/
46
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 47
Tutorials
https://docs.oracle.com/cd/E56133_01/latest/tutorials/index.html
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Resources – social media and online communities
• Follow the product team: @SpatialHannes, @JeanIhm, @agodfrin
• Oracle Spatial and Graph SIG user groups (search “Oracle Spatial and
Graph Community”)
48
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Oracle OpenWorld and Code One 2018
• Oracle‘s flagship conference with expanded developer content
• Graph sessions and demos will include:
– Introduction to Graph Analytics and Graph Cloud Service
– How to Analyze Data Warehouse Data as a Graph
– Anomaly Detection with Graph Analytics
– Build Serverless Big Data and Graph Visualization Web Applications using Spring Data
and Core Java (Tom Sawyer Software)
– Graph Query Language for Navigating Complex Data
– Extend BI/DW by Modeling a Star Schema as a Property Graph in Oracle Database 12.2
– When Graphs Meet Machine Learning
– Analyzing Blockchain and Bitcoin Transaction Data as Graphs
oracle.com/code-one | October 21-25, San Francisco, CA
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Including Oracle Spatial and Graph Summit
analyticsanddatasummit.org
50
Oracle HQ Conference Center, Redwood Shores, California
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
AskTOM sessions on property graphs
• Next Spatial and Graph session in October
– Topic: PGQL: A Query Language for Graphs
• View recordings, submit feedback, questions,
topic requests, view upcoming session dates and
topics, sign up to get regular updates
51
https://devgym.oracle.com/pls/apex/dg/office_hours/3084
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
52
Thanks for attending! See you next month.
https://devgym.oracle.com/pls/apex/dg/office_hours/3084
How To Visualize Graphs

More Related Content

PPTX
REFRACTIVE SURGERY PRESENTATION.pptx
PDF
PGQL: A Language for Graphs
PPTX
Keratoplasty update 2016
PPTX
Ffa and icg
PPTX
PagerDuty: Optimizing Incident Response to Deliver Amazing Digital Experiences
PPTX
post traumatic glaucoma ( secondary glaucoma)
PPTX
Ocular hypertension
PDF
Awr + 12c performance tuning
REFRACTIVE SURGERY PRESENTATION.pptx
PGQL: A Language for Graphs
Keratoplasty update 2016
Ffa and icg
PagerDuty: Optimizing Incident Response to Deliver Amazing Digital Experiences
post traumatic glaucoma ( secondary glaucoma)
Ocular hypertension
Awr + 12c performance tuning

What's hot (14)

PPTX
Choroidal nevus and chrpe
PDF
Types of IOL and Microlentics-2.pdf iol p
PPT
Building an Effective Identity Management Strategy
PPTX
Managing the failing bleb
PDF
IT Demand and Delivery Management
PDF
The back of the napkin Presentation
PPTX
Anatomy of cornea & corneal tranparency dr.ysr
PDF
Run Cloud Native MySQL NDB Cluster in Kubernetes
PPTX
Posterior Vitreous Detachment Treatment.pptx
PPTX
Case Presentation.pptx
PDF
A Cloud Journey - Move to the Oracle Cloud
PDF
How to get started with Oracle Cloud Infrastructure
PDF
Powerful Spatial Features You Never Knew Existed in Oracle Spatial and Graph ...
Choroidal nevus and chrpe
Types of IOL and Microlentics-2.pdf iol p
Building an Effective Identity Management Strategy
Managing the failing bleb
IT Demand and Delivery Management
The back of the napkin Presentation
Anatomy of cornea & corneal tranparency dr.ysr
Run Cloud Native MySQL NDB Cluster in Kubernetes
Posterior Vitreous Detachment Treatment.pptx
Case Presentation.pptx
A Cloud Journey - Move to the Oracle Cloud
How to get started with Oracle Cloud Infrastructure
Powerful Spatial Features You Never Knew Existed in Oracle Spatial and Graph ...
Ad

Similar to How To Visualize Graphs (20)

PDF
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps
PDF
Introduction to Property Graph Features (AskTOM Office Hours part 1)
PDF
Gain Insights with Graph Analytics
PPTX
Intro to GraphQL for Database Developers
PPTX
Graph Analytics on Data from Meetup.com
PDF
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
PDF
On24 oracle-machine-learning-platform-12-feb-2020-webcast
PDF
Graph Gurus Episode 25: Unleash the Business Value of Your Data Lake with Gra...
PDF
GraalVM: Run Programs Faster Everywhere
PDF
Diagnose Your Microservices
PDF
An Introduction to Graph: Database, Analytics, and Cloud Services
PDF
Serverless Java Challenges & Triumphs
PDF
20190704_AGIT_Georaster_ImageryData_KPatenge
PDF
20181019 code.talks graph_analytics_k_patenge
PPTX
Serverless patterns
PDF
Data meets AI - ATP Roadshow India
PPTX
Oracle GoldenGate Performance Tuning
PDF
Why to Use an Oracle Database?
PDF
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
PPTX
The Changing Role of a DBA in an Autonomous World
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps
Introduction to Property Graph Features (AskTOM Office Hours part 1)
Gain Insights with Graph Analytics
Intro to GraphQL for Database Developers
Graph Analytics on Data from Meetup.com
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
On24 oracle-machine-learning-platform-12-feb-2020-webcast
Graph Gurus Episode 25: Unleash the Business Value of Your Data Lake with Gra...
GraalVM: Run Programs Faster Everywhere
Diagnose Your Microservices
An Introduction to Graph: Database, Analytics, and Cloud Services
Serverless Java Challenges & Triumphs
20190704_AGIT_Georaster_ImageryData_KPatenge
20181019 code.talks graph_analytics_k_patenge
Serverless patterns
Data meets AI - ATP Roadshow India
Oracle GoldenGate Performance Tuning
Why to Use an Oracle Database?
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
The Changing Role of a DBA in an Autonomous World
Ad

Recently uploaded (20)

PDF
annual-report-2024-2025 original latest.
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Introduction to machine learning and Linear Models
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
annual-report-2024-2025 original latest.
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
oil_refinery_comprehensive_20250804084928 (1).pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
ISS -ESG Data flows What is ESG and HowHow
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Qualitative Qantitative and Mixed Methods.pptx
Introduction-to-Cloud-ComputingFinal.pptx
Clinical guidelines as a resource for EBP(1).pdf
Galatica Smart Energy Infrastructure Startup Pitch Deck
Introduction to Knowledge Engineering Part 1
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Introduction to machine learning and Linear Models
STUDY DESIGN details- Lt Col Maksud (21).pptx
Business Analytics and business intelligence.pdf
The THESIS FINAL-DEFENSE-PRESENTATION.pptx

How To Visualize Graphs

  • 1. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Oracle Ask TOM Office Hours: How to Visualize Graphs Create graph visualizations with Oracle Database. 2018.8.28 Albert Godfrind, Solutions Architect @agodfrin Gabriela Montiel-Moreno, Software Development Manager @gabimontielm Jean Ihm, Product Manager @JeanIhm
  • 2. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. AskTOM sessions on property graphs • Today’s is the fourth session on property graphs – February’s session introduced Property Graphs – March's session explained how to model graphs from relational data – May's session explained how to perform graph analytics – In case you missed them, recordings are available at the URL above • Today’s topic: How to Visualize Graphs • Visit the Spatial and Graph landing page to view recordings; submit feedback, questions, topic requests; view upcoming session dates and topics; sign up 2 https://devgym.oracle.com/pls/apex/dg/office_hours/3084
  • 3. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 3 The Story so far …
  • 4. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle Big Data Spatial and Graph • Available for Big Data platform/BDCS – Hadoop, HBase, Oracle NoSQL • Supported both on BDA and commodity hardware – CDH and Hortonworks • Database connectivity through Big Data Connectors or Big Data SQL • Included in Big Data Cloud Service Oracle Spatial and Graph • Available with Oracle 18c/12.2/DBCS • Using tables for graph persistence • Graph views on relational data • In-database graph analytics – Sparsification, shortest path, page rank, triangle counting, WCC, sub graphs • SQL queries possible • Included in Database Cloud Service 4 Graph Product Options
  • 5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Graph Data Access Layer (DAL) 5 Architecture of Property Graph Graph Analytics (PGX) Blueprints/Tinkerpop/Gremlin REST/WebService APIs Java,Groovy,Python,… Scalable and Persistent Storage Management Oracle NoSQL Database Oracle RDBMS Apache HBase What we focus on now Parallel In-Memory Graph Analytics
  • 6. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. • What is a graph? – Data model representing entities as vertices and relationships as edges – Optionally including attributes • Flexible data model – No predefined schema, easily extensible – Particularly useful for sparse data • Enabling new kinds of analytics – Overcoming limitations in relational technology 6 Graph Data Model E A D C B F
  • 7. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Graph Analysis for Business Insight 7 Identify Influencers Discover Graph Patterns in Big Data Generate Recommendations
  • 8. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 8 Viewing Graphs. Why and How ?
  • 9. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Why Visualize Graphs ? • Analytics identify important vertices • Analytics identify relationships • A visual graph highlights the results 9
  • 10. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 10 https://www.macalester.edu/~abeverid/thrones.html A social network generated from A Storm of Swords. The color of a vertex indicates its community. The size of a vertex corresponds to its PageRank value, and the size of its label corresponds to its betweenness centrality. An edge’s thickness represents its weight.
  • 11. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 11 https://www.macalester.edu/~abeverid/thrones.html
  • 12. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. • d3.js • vis.js 12 Graph Visualization Libraries http://visjs.orghttp://d3js.org
  • 13. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Tom Sawyer Perspectives • Desktop and Web • Powerful and flexible • Full Oracle Integration 13 http://www.tomsawyer.com
  • 14. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Linkurious • Server-based (Node.JS) • Light-weight JavaScript visualizer • Powerful rendering • Oracle integration 14 https://www.slideshare.net/Linkurious/how-to-visualize-oracle-big-data-spatial-and-graph-with-ogma https://linkurio.us/visualize-oracle-graph-data-ogma-library/ https://linkurio.us
  • 15. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. • Open Source • Originally for biological research • Now a general platform for complex graph analysis and visualization • Desktop / Pure Java • Extensible via Plug-ins • Also Javascript library (cytoscape.js) 15 http://www.cytoscape.org
  • 16. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 16 Interactive Analysis with Property Graph Plug-in
  • 17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Download the Proper Version for Your Platform • Can also install older versions • All the way back to version 2.1 17 http://www.cytoscape.org
  • 18. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Configure Property Graph Plugins
  • 19. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. For Oracle Spatial and Graph For Big Data Spatial and Graph 19 Property Graph Plug-ins for Cytoscape http://www.oracle.com/technetwork/database/options/s patialandgraph/downloads/index-156999.html https://www.oracle.com/technetwork/database/database- technologies/bigdata-spatialandgraph/downloads/bdsp- downloads-2562575.html
  • 20. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Cytoscape Configuration for Oracle Database Database Configuration oracle.rdbms.jdbc-url The JDBC connection url: “jdbc:oracle:thin:@host:port:sid” oracle.rdbms.username The username value to establish the JDBC connection oracle.rdbms.graph-name The graph name to be loaded by default. Database Configuration oracle-pg-pgx.num.workers.io The number of workers to be executed for input/output operations oracle-pg-pgx.num.workers.analysis The number of workers to be executed for analysis operations oracle-pg-pgx.server.instance.url The url where the analyst service endpoint will be executed. For example: http://127.0.0.1:7007/ 20 File propertyGraph.properties
  • 21. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Cytoscape Features
  • 22. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Establishing a connection to Oracle DB
  • 23. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 23 Graph Manipulation Request Graph Information Data Access Layer Oracle Spatial and Graph Oracle Database
  • 24. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 24 Retrieve schema information Data Access Layer Oracle Spatial and Graph Graph Manipulation Oracle Database
  • 25. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 25 Graph Manipulation Data Access Layer Oracle Spatial and Graph Create temporary graph Oracle Database
  • 26. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 26 Graph Manipulation Data Access LayerCreate temporary graph Visualize temporary graph
  • 27. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Visualizing Properties on Nodes and Edges 27
  • 28. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Searching … 28
  • 29. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Visual Mapping Rules 29
  • 30. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Finding the Shortest Path Between Two Vertices
  • 31. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Execute PGQL Edit the query or load from a file Add the properties
  • 32. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 32 Execute PGQL Parallel In-Memory Graph Analytics (PGX)PGQL Query
  • 33. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 33 Execute PGQL PGQL Query Parallel In-Memory Graph Analytics (PGX) Oracle Spatial and Graph Read original graph Oracle Database
  • 34. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 34 Execute PGQL PGQL Query Parallel In-Memory Graph Analytics (PGX) Execute query
  • 35. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 35 Execute PGQL Results Parallel In-Memory Graph Analytics (PGX) Execute query
  • 36. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 36 Execute PGQL Results Parallel In-Memory Graph Analytics (PGX) Execute query Visualize
  • 37. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 37 Saving Analytics Results • Current visible graph can be stored for an easy retrieval in the future as sub-graphs • Each sub-graph represents a successor of N depth-level of the original graph • Internally the hierarchy of sub- graphs is managed by a meta- graph.
  • 38. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 38 Load Graph Data From Saved Sub-graphs
  • 39. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 39 Import a Graph Data File • Multiple Files supported: – GML – GraphSON – GML – Oracle Flat File
  • 40. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Adding Vertices
  • 41. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Adding Edges
  • 42. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Removing Vertices
  • 43. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 43 Demo
  • 44. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Demo 44
  • 45. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 45 Resources
  • 46. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Resources • Oracle Spatial and Graph & Big Data Spatial and Graph on OTN oracle.com/technetwork/database/options/spatialandgraph oracle.com/technetwork/database/database-technologies/bigdata-spatialandgraph – White papers, software downloads, documentation and videos • Blogs – examples, tips & tricks blogs.oracle.com/oraclespatial | blogs.oracle.com/bigdataspatialgraph • Property Graphs 101: How to Get Started with Property Graphs on the Oracle Database – Arthur Dayton, Vlamis Software https://youtu.be/QSj0zOjOAWI • YouTube channel: https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w • Oracle Big Data Lite Virtual Machine - a free sandbox to get started www.oracle.com/technetwork/database/bigdata-appliance/oracle-bigdatalite-2104726.html – Hands On Lab included in /opt/oracle/oracle-spatial-graph/ or http://github.com/oracle/BigDataLite/ 46
  • 47. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 47 Tutorials https://docs.oracle.com/cd/E56133_01/latest/tutorials/index.html
  • 48. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Resources – social media and online communities • Follow the product team: @SpatialHannes, @JeanIhm, @agodfrin • Oracle Spatial and Graph SIG user groups (search “Oracle Spatial and Graph Community”) 48
  • 49. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle OpenWorld and Code One 2018 • Oracle‘s flagship conference with expanded developer content • Graph sessions and demos will include: – Introduction to Graph Analytics and Graph Cloud Service – How to Analyze Data Warehouse Data as a Graph – Anomaly Detection with Graph Analytics – Build Serverless Big Data and Graph Visualization Web Applications using Spring Data and Core Java (Tom Sawyer Software) – Graph Query Language for Navigating Complex Data – Extend BI/DW by Modeling a Star Schema as a Property Graph in Oracle Database 12.2 – When Graphs Meet Machine Learning – Analyzing Blockchain and Bitcoin Transaction Data as Graphs oracle.com/code-one | October 21-25, San Francisco, CA
  • 50. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Including Oracle Spatial and Graph Summit analyticsanddatasummit.org 50 Oracle HQ Conference Center, Redwood Shores, California
  • 51. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. AskTOM sessions on property graphs • Next Spatial and Graph session in October – Topic: PGQL: A Query Language for Graphs • View recordings, submit feedback, questions, topic requests, view upcoming session dates and topics, sign up to get regular updates 51 https://devgym.oracle.com/pls/apex/dg/office_hours/3084
  • 52. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 52 Thanks for attending! See you next month. https://devgym.oracle.com/pls/apex/dg/office_hours/3084