Property Graphs in APEX.pptx

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
1 de 24

Recomendados

Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour... por
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
3.4K visualizações50 slides
Oracle 11G SCAN: Concepts and Implementation Experience Sharing por
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingYury Velikanov
7.5K visualizações28 slides
New Generation Oracle RAC Performance por
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
2.2K visualizações44 slides
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices por
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
1.6K visualizações42 slides
Oracle Active Data Guard: Best Practices and New Features Deep Dive por
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
516 visualizações45 slides
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O... por
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
701 visualizações129 slides

Mais conteúdo relacionado

Mais procurados

Oracle Performance Tools of the Trade por
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeCarlos Sierra
11.1K visualizações55 slides
Oracle RAC 19c: Best Practices and Secret Internals por
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
9.5K visualizações47 slides
Oracle RAC - New Generation por
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New GenerationAnil Nair
1.4K visualizações97 slides
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0 por
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0オラクルエンジニア通信
4.5K visualizações36 slides
Anil nair rac_internals_sangam_2016 por
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
1.4K visualizações70 slides
Make Your Application “Oracle RAC Ready” & Test For It por
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMarkus Michalewicz
831 visualizações26 slides

Mais procurados(20)

Oracle Performance Tools of the Trade por Carlos Sierra
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
Carlos Sierra11.1K visualizações
Oracle RAC 19c: Best Practices and Secret Internals por Anil Nair
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
Anil Nair9.5K visualizações
Oracle RAC - New Generation por Anil Nair
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New Generation
Anil Nair1.4K visualizações
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0 por オラクルエンジニア通信
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
オラクルエンジニア通信4.5K visualizações
Anil nair rac_internals_sangam_2016 por Anil Nair
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
Anil Nair1.4K visualizações
Make Your Application “Oracle RAC Ready” & Test For It por Markus Michalewicz
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For It
Markus Michalewicz831 visualizações
Understanding oracle rac internals part 1 - slides por Mohamed Farouk
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk4.3K visualizações
TFA Collector - what can one do with it por Sandesh Rao
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
Sandesh Rao572 visualizações
Oracle RAC 19c and Later - Best Practices #OOWLON por Markus Michalewicz
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
Markus Michalewicz2.9K visualizações
Enterprise manager 13c por MarketingArrowECS_CZ
Enterprise manager 13cEnterprise manager 13c
Enterprise manager 13c
MarketingArrowECS_CZ2.9K visualizações
Oracle Transparent Data Encryption (TDE) 12c por Nabeel Yoosuf
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12c
Nabeel Yoosuf8.8K visualizações
Oracle Drivers configuration for High Availability, is it a developer's job? por Ludovico Caldara
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
Ludovico Caldara623 visualizações
Weblogic 101 for dba por Osama Mustafa
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
Osama Mustafa352 visualizações
AV/DF Advanced Security Option por DLT Solutions
AV/DF Advanced Security OptionAV/DF Advanced Security Option
AV/DF Advanced Security Option
DLT Solutions1.1K visualizações
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11) por オラクルエンジニア通信
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
オラクルエンジニア通信6.5K visualizações
Exadata master series_asm_2020 por Anil Nair
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
Anil Nair761 visualizações
Standard Edition High Availability (SEHA) - The Why, What & How por Markus Michalewicz
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
Markus Michalewicz4.1K visualizações
Oracle RAC on Extended Distance Clusters - Customer Examples por Markus Michalewicz
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
Markus Michalewicz2.2K visualizações

Similar a Property Graphs in APEX.pptx

How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p... por
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
622 visualizações61 slides
How To Visualize Graphs por
How To Visualize GraphsHow To Visualize Graphs
How To Visualize GraphsJean Ihm
788 visualizações53 slides
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map por
#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
151 visualizações42 slides
Workshop - Build a Graph Solution por
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph SolutionNeo4j
94 visualizações61 slides
Database@Home : The Future is Data Driven por
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenTammy Bednar
81 visualizações35 slides
UNYOUG - APEX 19.2 New Features por
UNYOUG - APEX 19.2 New FeaturesUNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New Featuresmsewtz
562 visualizações45 slides

Similar a Property Graphs in APEX.pptx(20)

How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p... por Jean Ihm
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 Ihm622 visualizações
How To Visualize Graphs por Jean Ihm
How To Visualize GraphsHow To Visualize Graphs
How To Visualize Graphs
Jean Ihm788 visualizações
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map por Tammy Bednar
#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
Tammy Bednar151 visualizações
Workshop - Build a Graph Solution por Neo4j
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph Solution
Neo4j94 visualizações
Database@Home : The Future is Data Driven por Tammy Bednar
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data Driven
Tammy Bednar81 visualizações
UNYOUG - APEX 19.2 New Features por msewtz
UNYOUG - APEX 19.2 New FeaturesUNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New Features
msewtz562 visualizações
Dimensional modeling in oracle sql developer por Jeff Smith
Dimensional modeling in oracle sql developerDimensional modeling in oracle sql developer
Dimensional modeling in oracle sql developer
Jeff Smith33.2K visualizações
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps por Jean Ihm
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
Jean Ihm933 visualizações
Solving Enterprise Data Challenges with Apache Arrow por Wes McKinney
Solving Enterprise Data Challenges with Apache ArrowSolving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache Arrow
Wes McKinney1.1K visualizações
Arches Getty Brownbag Talk por benosteen
Arches Getty Brownbag TalkArches Getty Brownbag Talk
Arches Getty Brownbag Talk
benosteen156 visualizações
SQL to NoSQL: Top 6 Questions por Mike Broberg
SQL to NoSQL: Top 6 QuestionsSQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 Questions
Mike Broberg1.2K visualizações
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts por Chris Muir
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
Chris Muir1.1K visualizações
GraphQL research summary por Objectivity
GraphQL research summaryGraphQL research summary
GraphQL research summary
Objectivity196 visualizações
Intro to JavaScript for APEX Developers por Daniel McGhan
Intro to JavaScript for APEX DevelopersIntro to JavaScript for APEX Developers
Intro to JavaScript for APEX Developers
Daniel McGhan658 visualizações
Your Roadmap for An Enterprise Graph Strategy por Neo4j
Your Roadmap for An Enterprise Graph StrategyYour Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph Strategy
Neo4j340 visualizações
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F... por Codemotion
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...
Codemotion1.5K visualizações
NYC School of Data - High School Selection Workshop por msewtz
NYC School of Data - High School Selection WorkshopNYC School of Data - High School Selection Workshop
NYC School of Data - High School Selection Workshop
msewtz371 visualizações
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference por Deepak Chandramouli
Nodes2020 | Graph of enterprise_metadata | NEO4J ConferenceNodes2020 | Graph of enterprise_metadata | NEO4J Conference
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference
Deepak Chandramouli284 visualizações
Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده... por mahdi ahmadi
Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده...Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده...
Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده...
mahdi ahmadi206 visualizações
Scribe online 03 scribe online cdk and api overview por Scribe Software Corp.
Scribe online 03   scribe online cdk and api overviewScribe online 03   scribe online cdk and api overview
Scribe online 03 scribe online cdk and api overview
Scribe Software Corp.848 visualizações

Último

SUPPLIER SOURCING.pptx por
SUPPLIER SOURCING.pptxSUPPLIER SOURCING.pptx
SUPPLIER SOURCING.pptxangelicacueva6
16 visualizações1 slide
SAP Automation Using Bar Code and FIORI.pdf por
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdfVirendra Rai, PMP
23 visualizações38 slides
Mini-Track: Challenges to Network Automation Adoption por
Mini-Track: Challenges to Network Automation AdoptionMini-Track: Challenges to Network Automation Adoption
Mini-Track: Challenges to Network Automation AdoptionNetwork Automation Forum
13 visualizações27 slides
Network Source of Truth and Infrastructure as Code revisited por
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisitedNetwork Automation Forum
27 visualizações45 slides
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... por
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...Bernd Ruecker
40 visualizações69 slides
MVP and prioritization.pdf por
MVP and prioritization.pdfMVP and prioritization.pdf
MVP and prioritization.pdfrahuldharwal141
31 visualizações8 slides

Último(20)

SUPPLIER SOURCING.pptx por angelicacueva6
SUPPLIER SOURCING.pptxSUPPLIER SOURCING.pptx
SUPPLIER SOURCING.pptx
angelicacueva616 visualizações
SAP Automation Using Bar Code and FIORI.pdf por Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
Virendra Rai, PMP23 visualizações
Mini-Track: Challenges to Network Automation Adoption por Network Automation Forum
Mini-Track: Challenges to Network Automation AdoptionMini-Track: Challenges to Network Automation Adoption
Mini-Track: Challenges to Network Automation Adoption
Network Automation Forum13 visualizações
Network Source of Truth and Infrastructure as Code revisited por Network Automation Forum
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisited
Network Automation Forum27 visualizações
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... por Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker40 visualizações
MVP and prioritization.pdf por rahuldharwal141
MVP and prioritization.pdfMVP and prioritization.pdf
MVP and prioritization.pdf
rahuldharwal14131 visualizações
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... por James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson92 visualizações
Microsoft Power Platform.pptx por Uni Systems S.M.S.A.
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptx
Uni Systems S.M.S.A.53 visualizações
Evolving the Network Automation Journey from Python to Platforms por Network Automation Forum
Evolving the Network Automation Journey from Python to PlatformsEvolving the Network Automation Journey from Python to Platforms
Evolving the Network Automation Journey from Python to Platforms
Network Automation Forum13 visualizações
Data Integrity for Banking and Financial Services por Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely25 visualizações
Powerful Google developer tools for immediate impact! (2023-24) por wesley chun
Powerful Google developer tools for immediate impact! (2023-24)Powerful Google developer tools for immediate impact! (2023-24)
Powerful Google developer tools for immediate impact! (2023-24)
wesley chun10 visualizações
NET Conf 2023 Recap por Lee Richardson
NET Conf 2023 RecapNET Conf 2023 Recap
NET Conf 2023 Recap
Lee Richardson10 visualizações
Igniting Next Level Productivity with AI-Infused Data Integration Workflows por Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software280 visualizações
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... por TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc11 visualizações
Ransomware is Knocking your Door_Final.pdf por Security Bootcamp
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdf
Security Bootcamp59 visualizações
Democratising digital commerce in India-Report por Kapil Khandelwal (KK)
Democratising digital commerce in India-ReportDemocratising digital commerce in India-Report
Democratising digital commerce in India-Report
Kapil Khandelwal (KK)18 visualizações
Five Things You SHOULD Know About Postman por Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman36 visualizações

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

Notas do Editor

  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