SlideShare a Scribd company logo
1 of 24
Use Oracle Graph with APEX
Make building modern data-driven applications easier
Rahul Tasker
Spatial and Graph Product Management
Safe harbor statement
The following is intended to outline our general product direction. It is intended
for information purposes only and may not be incorporated into any contract. It
is not a commitment to deliver any material, code, or functionality, and should
not be relied upon in making purchasing decisions. The development, release,
timing, and pricing of any features or functionality described for Oracle’s
products may change and remains at the sole discretion of Oracle Corporation.
Copyright © 2023, Oracle and/or its affiliates
2
Copyright © 2023, Oracle and/or its affiliates
3
• Introduction to graphs
• What are SQL property graphs
• Graphs in APEX
• Demo
• Q/A
Agenda
Copyright © 2023, Oracle and/or its affiliates
4
Graph
What is a graph?
• Data model representing entities as vertices and
relationships as edges
• Optionally including attributes
What are typical graphs?
• Social networks
• LinkedIn, Facebook, Twitter, ...
• Physical networks, supplier networks, ...
• Dependency graphs
• Part hierarchies, data lineage, org charts, ...
• Workflows
• Knowledge graphs
• Associating related entities, e.g. in public safety
E
A D
C B
F
Copyright © 2023, Oracle and/or its affiliates
5
A graph representation of your data
• Data entities become vertices
• Connections between them become edges
Graph Analytics
Consider new nodes J, K, L
• Node I is highly connected, so it could be an
important node
• Node J has only one connection, but that is an
incoming edge from Node I, an important node
• So Node J might be important too
Example: Pagerank algorithm identifies such
Graph Data Model
E
A
D
C
B
F
H
I
G
J
K
L
Ora-Gram-Book
Ora-Gram Book is a fictitious social media platform.
• Connect with family and friends
• Post photos and videos
• Comment and like others' posts
As new users join Ora-Gram-Book, they want to make it easier for friends and
family to find each other easier and faster.
Copyright © 2023, Oracle and/or its affiliates
6
Users
ID
Email
Name
DOB
Posts
ID
Content
Likes
ID
Post_ID
Liker_ID
Comments
ID
Post_ID
Commentor_ID
Follows
ID
Follower_ID
Followed_ID
Creates
ID
Poster_ID
Post_id
Copyright © 2023, Oracle and/or its affiliates
7
Users
ID
Email
Name
DOB
Posts
ID
Content
Likes
ID
Post_ID
Liker_ID
Comments
ID
Post_ID
Commentor_ID
Follows
ID
Follower_ID
Followed_ID
Users
Follows
Comments
Likes
Creates
ID
Poster_ID
Post_id
Posts
Creates
Copyright © 2023, Oracle and/or its affiliates
8
What users should we recommend Thom follows?
Recommend new connections to users based on a high amount of mutual follows/followers
Copyright © 2023, Oracle and/or its affiliates
9
What users should we recommend Thom follow?
Recommend new connections to users based on a high amount of mutual follows/followers
Copyright © 2023, Oracle and/or its affiliates
10
Copyright © 2023, Oracle and/or its affiliates
11
Create a Graph from Tables
ID
1
2
3
…
672
673
674
…
831
832
833
…
FOLLOWERS
USERS
FOLLOWER_ID FOLLOWED_ID
1 2
1 672
3 1
2 833
2 840
2 493
… …
PGQL DDL SYNTAX:
CREATE PROPERTY GRAPH Oragrambook_graph
VERTEX TABLES (
USERS LABEL Users PROPERTIES ( ID, EMAIL, NAME, DOB )
)
EDGE TABLES (
FOLLOWERS
KEY(POST_ID)
SOURCE KEY ( FOLLOWER_ID) REFERENCES USERS
DESTINATION KEY ( FOLLOWED_ID) REFERENCES USERS
LABEL follows PROPERTIES ( FOLLOWED_ID )
672
833
Query a Graph
Copyright © 2023, Oracle and/or its affiliates
12
/* List accounts which have transferred money to another account */
select id from GRAPH_TABLE(social_graph
MATCH (src)-[is follows]->(dst)
COLUMNS (src.id as id) );
Vertices are in (), edges are in []
Columns to return
follows
src dst
Query a Graph
Copyright © 2023, Oracle and/or its affiliates
13
/* List users who follow other users */
select id from GRAPH_TABLE(social_graph
MATCH (src)-[is follows]->(dst)
COLUMNS (src.id as id) );
Vertices are in (), edges are in []
Columns to return
select id from GRAPH_TABLE(social_graph
MATCH (src)-[is follows]->{1,3}(dst)
COLUMNS (dst.id as id) ); Path length in {} – from 1 to 3
hops
/* List users who follows a user who follows a user… (inclusive) */
follows
src dst
follows follows
Copyright © 2023, Oracle and/or its affiliates
14
Contrasting Developer Architectures
Document Reporting
Every App Requires distributed
execution and data movement across
multiple fragmented databases
Developers Focused on Innovation
Developers Focused on Integration
EVENT
RPC
ETL
REPLICATION
EVENT
RPC
ETL
REPLICATION
Simply invoke SQL or REST API to
run report, ML, graph, spatial,
blockchain, IoT, etc. in a
converged database
OracleStrategy
HeterogeneousStrategy
Text Search Graph
ML
EVENT
RPC
ETL
REPLICATION
ETL
REPLICATION
EVENT
RPC
Copyright © 2023, Oracle and/or its affiliates
Graphs in APEX
15
Newly release Graph Visualization and Sample App
Copyright © 2023, Oracle and/or its affiliates
16
Available at https://oracle.github.io/apex/
Graph Visualization Plugin
Copyright © 2023, Oracle and/or its affiliates
17
• Visualize Graph queries
• Customize appearance and layout
• Customize labels
• Interactive page item
Native Graph Support
Copyright © 2023, Oracle and/or its affiliates
18
• Property Graph Source
• SQL Query source
• Declares match, columns and
where clauses
• Wherever you can use SQL, you
can use SQL property graphs
Copyright © 2023, Oracle and/or its affiliates
Demo
19
Modern Apps Need To Generate Value From Data in New Ways
Machine
Learning
Real-Time
Analytics
Blockchain
Documents
Graph
Analysis
Spatial
Processing
Text
Search
IoT
Copyright © 2023, Oracle and/or its affiliates
20
Summary
• Graphs can make complex queries very simple
• New SQL syntax supported for Property Graph
• APEX and other SQL tools and development environments can be used with property graphs out-of-
the-box
• Native Support for APEX
• Graph visualization plugin
21 Copyright © 2023, Oracle and/or its affiliates
Blog posts
• Overview blog post on Oracle Graph 23c
• Get started with property graphs in 23c
Examples (Jupyter, SQLDev)
• Github
Videos
• Property graphs with SQL
• Create, query and visualize graphs with SQL
• OCW presentation – Property graphs join SQL
LiveLabs workshop
• Property graphs in Oracle 23c
Documentation
• Plugin and sample app download
• Plugin documentation
• Oracle Graph Developer‘s Guide
Oracle Graph 23c – Resources
Copyright © 2023, Oracle and/or its affiliates
22
• Learning Sessions
• Hands On Labs
• Digital Sessions
• Demos
• Details on all Graph Cloud World Sessions
• Details on all Spatial Cloud World Sessions
Learn more about Graphs at DatabaseWorld at CloudWorld
23 Copyright © 2023, Oracle and/or its affiliates
Q/A
24 Copyright © 2023, Oracle and/or its affiliates

More Related Content

What's hot

Hitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning toolsHitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning toolsBjoern Rost
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
 
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...Charlie Berger
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesBobby Curtis
 
Improving PySpark performance: Spark Performance Beyond the JVM
Improving PySpark performance: Spark Performance Beyond the JVMImproving PySpark performance: Spark Performance Beyond the JVM
Improving PySpark performance: Spark Performance Beyond the JVMHolden Karau
 
Iceberg: a fast table format for S3
Iceberg: a fast table format for S3Iceberg: a fast table format for S3
Iceberg: a fast table format for S3DataWorks Summit
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureBob Rhubart
 
Introduction to Oracle Cloud
Introduction to Oracle CloudIntroduction to Oracle Cloud
Introduction to Oracle Cloudjohnnhernandez
 
EXACC Presentat CHEUG 2019 (9).pptx
EXACC Presentat CHEUG 2019 (9).pptxEXACC Presentat CHEUG 2019 (9).pptx
EXACC Presentat CHEUG 2019 (9).pptxabdulhafeezkalsekar1
 
Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...
Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...
Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...Igor De Souza
 
EBS 12.1 and 12.2 strategy-roadmap-given
EBS 12.1 and 12.2 strategy-roadmap-givenEBS 12.1 and 12.2 strategy-roadmap-given
EBS 12.1 and 12.2 strategy-roadmap-givenBerry Clemens
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationMarkus Michalewicz
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateMarkus Michalewicz
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssAnil Nair
 
Open Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLOpen Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLJonathan Levin
 

What's hot (20)

Hitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning toolsHitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning tools
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
 
Improving PySpark performance: Spark Performance Beyond the JVM
Improving PySpark performance: Spark Performance Beyond the JVMImproving PySpark performance: Spark Performance Beyond the JVM
Improving PySpark performance: Spark Performance Beyond the JVM
 
Iceberg: a fast table format for S3
Iceberg: a fast table format for S3Iceberg: a fast table format for S3
Iceberg: a fast table format for S3
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
SQLd360
SQLd360SQLd360
SQLd360
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference Architecture
 
Introduction to Oracle Cloud
Introduction to Oracle CloudIntroduction to Oracle Cloud
Introduction to Oracle Cloud
 
EXACC Presentat CHEUG 2019 (9).pptx
EXACC Presentat CHEUG 2019 (9).pptxEXACC Presentat CHEUG 2019 (9).pptx
EXACC Presentat CHEUG 2019 (9).pptx
 
Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...
Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...
Data Engineer, Patterns & Architecture The future: Deep-dive into Microservic...
 
EBS 12.1 and 12.2 strategy-roadmap-given
EBS 12.1 and 12.2 strategy-roadmap-givenEBS 12.1 and 12.2 strategy-roadmap-given
EBS 12.1 and 12.2 strategy-roadmap-given
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ss
 
Open Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLOpen Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETL
 

Similar to Property Graphs in APEX.pptx

How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...Jean Ihm
 
How To Visualize Graphs
How To Visualize GraphsHow To Visualize Graphs
How To Visualize GraphsJean Ihm
 
Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...
Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...
Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...apidays
 
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the MapTammy Bednar
 
Workshop - Build a Graph Solution
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph SolutionNeo4j
 
Database@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenTammy Bednar
 
UNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New FeaturesUNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New Featuresmsewtz
 
Dimensional modeling in oracle sql developer
Dimensional modeling in oracle sql developerDimensional modeling in oracle sql developer
Dimensional modeling in oracle sql developerJeff Smith
 
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps
Oracle Spatial Studio:  Fast and Easy Spatial Analytics and MapsOracle Spatial Studio:  Fast and Easy Spatial Analytics and Maps
Oracle Spatial Studio: Fast and Easy Spatial Analytics and MapsJean Ihm
 
Solving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache ArrowSolving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache ArrowWes McKinney
 
Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Neo4j
 
Arches Getty Brownbag Talk
Arches Getty Brownbag TalkArches Getty Brownbag Talk
Arches Getty Brownbag Talkbenosteen
 
SQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 QuestionsSQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 QuestionsMike Broberg
 
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsOracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsChris Muir
 
GraphQL research summary
GraphQL research summaryGraphQL research summary
GraphQL research summaryObjectivity
 
Intro to JavaScript for APEX Developers
Intro to JavaScript for APEX DevelopersIntro to JavaScript for APEX Developers
Intro to JavaScript for APEX DevelopersDaniel McGhan
 
Your Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph StrategyYour Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph StrategyNeo4j
 
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Codemotion
 
NYC School of Data - High School Selection Workshop
NYC School of Data - High School Selection WorkshopNYC School of Data - High School Selection Workshop
NYC School of Data - High School Selection Workshopmsewtz
 
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference
Nodes2020 | Graph of enterprise_metadata | NEO4J ConferenceNodes2020 | Graph of enterprise_metadata | NEO4J Conference
Nodes2020 | Graph of enterprise_metadata | NEO4J ConferenceDeepak Chandramouli
 

Similar to Property Graphs in APEX.pptx (20)

How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
 
How To Visualize Graphs
How To Visualize GraphsHow To Visualize Graphs
How To Visualize Graphs
 
Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...
Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...
Apidays Paris 2023 - Productizing AsyncAPI for Data Replication and Changed D...
 
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
 
Workshop - Build a Graph Solution
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph Solution
 
Database@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data Driven
 
UNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New FeaturesUNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New Features
 
Dimensional modeling in oracle sql developer
Dimensional modeling in oracle sql developerDimensional modeling in oracle sql developer
Dimensional modeling in oracle sql developer
 
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps
Oracle Spatial Studio:  Fast and Easy Spatial Analytics and MapsOracle Spatial Studio:  Fast and Easy Spatial Analytics and Maps
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps
 
Solving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache ArrowSolving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache Arrow
 
Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!
 
Arches Getty Brownbag Talk
Arches Getty Brownbag TalkArches Getty Brownbag Talk
Arches Getty Brownbag Talk
 
SQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 QuestionsSQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 Questions
 
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsOracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
 
GraphQL research summary
GraphQL research summaryGraphQL research summary
GraphQL research summary
 
Intro to JavaScript for APEX Developers
Intro to JavaScript for APEX DevelopersIntro to JavaScript for APEX Developers
Intro to JavaScript for APEX Developers
 
Your Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph StrategyYour Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph Strategy
 
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
 
NYC School of Data - High School Selection Workshop
NYC School of Data - High School Selection WorkshopNYC School of Data - High School Selection Workshop
NYC School of Data - High School Selection Workshop
 
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference
Nodes2020 | Graph of enterprise_metadata | NEO4J ConferenceNodes2020 | Graph of enterprise_metadata | NEO4J Conference
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Property Graphs in APEX.pptx

  • 1. Use Oracle Graph with APEX Make building modern data-driven applications easier Rahul Tasker Spatial and Graph Product Management
  • 2. Safe harbor statement The following is intended to outline our general product direction. It is intended for information purposes only and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. Copyright © 2023, Oracle and/or its affiliates 2
  • 3. Copyright © 2023, Oracle and/or its affiliates 3 • Introduction to graphs • What are SQL property graphs • Graphs in APEX • Demo • Q/A Agenda
  • 4. Copyright © 2023, Oracle and/or its affiliates 4 Graph What is a graph? • Data model representing entities as vertices and relationships as edges • Optionally including attributes What are typical graphs? • Social networks • LinkedIn, Facebook, Twitter, ... • Physical networks, supplier networks, ... • Dependency graphs • Part hierarchies, data lineage, org charts, ... • Workflows • Knowledge graphs • Associating related entities, e.g. in public safety E A D C B F
  • 5. Copyright © 2023, Oracle and/or its affiliates 5 A graph representation of your data • Data entities become vertices • Connections between them become edges Graph Analytics Consider new nodes J, K, L • Node I is highly connected, so it could be an important node • Node J has only one connection, but that is an incoming edge from Node I, an important node • So Node J might be important too Example: Pagerank algorithm identifies such Graph Data Model E A D C B F H I G J K L
  • 6. Ora-Gram-Book Ora-Gram Book is a fictitious social media platform. • Connect with family and friends • Post photos and videos • Comment and like others' posts As new users join Ora-Gram-Book, they want to make it easier for friends and family to find each other easier and faster. Copyright © 2023, Oracle and/or its affiliates 6
  • 9. What users should we recommend Thom follows? Recommend new connections to users based on a high amount of mutual follows/followers Copyright © 2023, Oracle and/or its affiliates 9
  • 10. What users should we recommend Thom follow? Recommend new connections to users based on a high amount of mutual follows/followers Copyright © 2023, Oracle and/or its affiliates 10
  • 11. Copyright © 2023, Oracle and/or its affiliates 11 Create a Graph from Tables ID 1 2 3 … 672 673 674 … 831 832 833 … FOLLOWERS USERS FOLLOWER_ID FOLLOWED_ID 1 2 1 672 3 1 2 833 2 840 2 493 … … PGQL DDL SYNTAX: CREATE PROPERTY GRAPH Oragrambook_graph VERTEX TABLES ( USERS LABEL Users PROPERTIES ( ID, EMAIL, NAME, DOB ) ) EDGE TABLES ( FOLLOWERS KEY(POST_ID) SOURCE KEY ( FOLLOWER_ID) REFERENCES USERS DESTINATION KEY ( FOLLOWED_ID) REFERENCES USERS LABEL follows PROPERTIES ( FOLLOWED_ID ) 672 833
  • 12. Query a Graph Copyright © 2023, Oracle and/or its affiliates 12 /* List accounts which have transferred money to another account */ select id from GRAPH_TABLE(social_graph MATCH (src)-[is follows]->(dst) COLUMNS (src.id as id) ); Vertices are in (), edges are in [] Columns to return follows src dst
  • 13. Query a Graph Copyright © 2023, Oracle and/or its affiliates 13 /* List users who follow other users */ select id from GRAPH_TABLE(social_graph MATCH (src)-[is follows]->(dst) COLUMNS (src.id as id) ); Vertices are in (), edges are in [] Columns to return select id from GRAPH_TABLE(social_graph MATCH (src)-[is follows]->{1,3}(dst) COLUMNS (dst.id as id) ); Path length in {} – from 1 to 3 hops /* List users who follows a user who follows a user… (inclusive) */ follows src dst follows follows
  • 14. Copyright © 2023, Oracle and/or its affiliates 14 Contrasting Developer Architectures Document Reporting Every App Requires distributed execution and data movement across multiple fragmented databases Developers Focused on Innovation Developers Focused on Integration EVENT RPC ETL REPLICATION EVENT RPC ETL REPLICATION Simply invoke SQL or REST API to run report, ML, graph, spatial, blockchain, IoT, etc. in a converged database OracleStrategy HeterogeneousStrategy Text Search Graph ML EVENT RPC ETL REPLICATION ETL REPLICATION EVENT RPC
  • 15. Copyright © 2023, Oracle and/or its affiliates Graphs in APEX 15
  • 16. Newly release Graph Visualization and Sample App Copyright © 2023, Oracle and/or its affiliates 16 Available at https://oracle.github.io/apex/
  • 17. Graph Visualization Plugin Copyright © 2023, Oracle and/or its affiliates 17 • Visualize Graph queries • Customize appearance and layout • Customize labels • Interactive page item
  • 18. Native Graph Support Copyright © 2023, Oracle and/or its affiliates 18 • Property Graph Source • SQL Query source • Declares match, columns and where clauses • Wherever you can use SQL, you can use SQL property graphs
  • 19. Copyright © 2023, Oracle and/or its affiliates Demo 19
  • 20. Modern Apps Need To Generate Value From Data in New Ways Machine Learning Real-Time Analytics Blockchain Documents Graph Analysis Spatial Processing Text Search IoT Copyright © 2023, Oracle and/or its affiliates 20
  • 21. Summary • Graphs can make complex queries very simple • New SQL syntax supported for Property Graph • APEX and other SQL tools and development environments can be used with property graphs out-of- the-box • Native Support for APEX • Graph visualization plugin 21 Copyright © 2023, Oracle and/or its affiliates
  • 22. Blog posts • Overview blog post on Oracle Graph 23c • Get started with property graphs in 23c Examples (Jupyter, SQLDev) • Github Videos • Property graphs with SQL • Create, query and visualize graphs with SQL • OCW presentation – Property graphs join SQL LiveLabs workshop • Property graphs in Oracle 23c Documentation • Plugin and sample app download • Plugin documentation • Oracle Graph Developer‘s Guide Oracle Graph 23c – Resources Copyright © 2023, Oracle and/or its affiliates 22
  • 23. • Learning Sessions • Hands On Labs • Digital Sessions • Demos • Details on all Graph Cloud World Sessions • Details on all Spatial Cloud World Sessions Learn more about Graphs at DatabaseWorld at CloudWorld 23 Copyright © 2023, Oracle and/or its affiliates
  • 24. Q/A 24 Copyright © 2023, Oracle and/or its affiliates

Editor's Notes

  1. Here are some additional resources on Graphs in Oracle Database 23c
  2. Be sure to catch us at Cloud World if you’re interested in learning more