Wednesday, April 13, 2022

Develop XR with Oracle Cloud, Database on HoloLens, Ep 2: Property Graphs, Data Visualization, and Metaverse

This is the second piece in a series on developing XR applications and experiences using Oracle.

The first piece can be found here

Again I will specifically show applications developed with Oracle database and cloud technologies, Hololens 2 (Microsoft Mixed Reality Headset), MRTK (Mixed Reality Toolkit) APIs (v2.7.2), and Unity (v2021.1.20f) platform.

Read More: Develop XR with Oracle Cloud, Database on HoloLens, Ep 1: Spatial, AI/ML, Kubernetes, and OpenTelemetry

Throughout the blog, I will reference a corresponding demo video found here 

Extended Reality (XR), Metaverse, and HoloLens

I will refer the reader to the first piece in the series for an overview of XR and Hololens.

The first blog in this series was based on a data-driven microservices workshop and described a number of aspects that will be present in the metaverse such as online shopping, DevOps, etc. and I will continue to delve into these areas in this series. One area in particular that I will focus more and more on is collaboration. The graphs in this workshop including models, notebooks, etc. can all be shared and actively collaborated up, even in real-time, remotely. These types of abilities will be expanded upon and extended to concepts such as digital doubles, etc. in these future pieces. 

This blog will not go into property graph concepts deeply and will instead focus on the XR-enablement of them using examples in existing graph workshops.

Basics of creating property graphs

There are essentially four parts or stages to (visual) graph analysis... the actual data, the relationships and graph modeling of that data, notebooks written (in PGQL, eg) for analysis, and visualization of the notebook output in various layouts and highlights. 

The creation of a property graph model from existing tables looks like this...

Oracle Database Exam Prep, Oracle Database Career, Oracle Database Preparation, Oracle Database Jobs, Oracle Database Skill, Extended Reality (XR), XR Hololens Representation

Forced graph layout and community detection


The following force graph layout shows community detection (specifically strongly connected components and the Kosaraj algorithm for community detection in the case)... 

Oracle Database Exam Prep, Oracle Database Career, Oracle Database Preparation, Oracle Database Jobs, Oracle Database Skill, Extended Reality (XR), XR Hololens Representation

The following is an XR Hololens representation of the same where vertex and edge labels are shown as well as the directional relationship of those edges and objects all of which can be manipulated via GGV (gaze, gesture, and voice).

Oracle Database Exam Prep, Oracle Database Career, Oracle Database Preparation, Oracle Database Jobs, Oracle Database Skill, Extended Reality (XR), XR Hololens Representation

Concentric graph layout with rotation and movement


There are numerous types of layouts, each with its own customization settings, tailored for viewing different aspects from different vantage points. Here we see a Concentric layout.

Oracle Database Exam Prep, Oracle Database Career, Oracle Database Preparation, Oracle Database Jobs, Oracle Database Skill, Extended Reality (XR), XR Hololens Representation

The following is an XR Hololens representation of the same. As with all of the XR representations discussed, it is possible to manipulate and analyze the graph visualizations through GGV, however, in this case, I have also added rotation and movement to the final visual representation in order to provide multiple angles and position the graph in a way as best suited to analysis as possible. I've also added spatial audio in this case just for fun though I will be exploring it as an additional tool for analysis and detection as well

Oracle Database Exam Prep, Oracle Database Career, Oracle Database Preparation, Oracle Database Jobs, Oracle Database Skill, Extended Reality (XR), XR Hololens Representation

Visual Data and Graph Modeling


Finally, the video shows a concept for visual data and graph modeling where data sources (in this case basic tables but not limited to such) are represented as objects (cubes) that can be dropped on a common platform/dock. This action results in processing on the Oracle database side to create a graph model, correlations, commonalities, etc., and produce as output other objects that can, in turn, be studied and used in further combinations and analysis.

Oracle Database Exam Prep, Oracle Database Career, Oracle Database Preparation, Oracle Database Jobs, Oracle Database Skill, Extended Reality (XR), XR Hololens Representation

Additional Thoughts


The use cases for properties graphs are literally endless and I have only scratched the service of how they can be visualized in XR. I look forward to putting out more blogs on this topic and other areas of XR with Oracle Cloud, Database soon.

Source: oracle.com

Related Posts

0 comments:

Post a Comment