First Quarterly Update on Oracle Graph (2023)

January 25, 2023 | 5 minute read
Rahul Tasker
Senior Product Manager
Text Size 100%:

Oracle Graph - First Quarterly Update (2023)

Graph databases are a part of Oracle’s converged database offering that store and navigate relationships between entities. Oracle provides support for both property and RDF knowledge graphs and simplifies the process of modeling relational data as graph structures. Interactive graph queries can run directly on graph data in the database or in a high-performance in-memory graph server. Oracle Graph Server and Client enables developers, analysts, and data scientists to use graphs within Oracle Database, while Graph Studio in Oracle Autonomous Database removes barriers to entry by automating complicated setup and management, making data integration seamless, and by providing step-by-step examples for getting started.

Oracle Graph Server and Client 23.1 is available for download for use with databases in the Cloud (OCI Marketplace image is available) and for databases on-premises. The marquee feature of this release is the release of a graph visualization JavaScript library for Property Graphs. This library allows developers to leverage many of the benefits of graph visualization available in Graph Studio and the graph visualization tool, but in their own applications. Additionally, GraphML now supports a Supervised Edge Wise model, which allows us to run tasks on edges, with up to 13x faster performance than our competitors. This release also offers a new API, for Python and Java, that can be used to import local GraphSON v3.0 files into Oracle Database, to easily import data, and create a graph from it.


Graph Visualization Library for Property Graphs

In this release, we also now offer a JavaScript library, which can be used to embed visualizations into your application. This library is available as a release artifact, titled oracle-graph-visualization-library-<version>.zip. The API takes in a JSON object and uses that object as the basis for building a visualization. The application should build a JSON object from the results of a PGQL query, and then use the API to visualize it.

This library offers a customizable layout for the visualization, as well as for vertex and edge appearance. For example, the highlight and expand vertices functionalities that is available in the graph visualization tool, is also available using this library, but using an API, rather than a UI.


Enhancements on GraphWise in GraphML

The previous version of PGX.ML supported models for vertices and graphlets. As of this release, we now support a Supervised Edge Wise model, which allows us to run tasks on edges. Using this model, you can now run classification, regression, and embedding generation on edges. In our benchmark assessments, we have also shown up to 13x faster performance than our competitors. This feature will soon be available in Graph Studio.


New and Improved GraphSON File Importer

GraphSON is the JSON based format, used to describe graph data. In this release, we added a new API, for Python and Java, that can be used to import local GraphSON v3.0 files into Oracle Database. This API imports data in batches and generates a CREATE PROPERTY GRAPH statement and applies it. The GraphSON importer also allows you to specify the output graph model that you need, such as PG_VIEW.

GraphSON File Importer



Graph Visualization for RDF Graphs

Graph visualization in the RDF Server and Query UI now uses Cytoscape.js. Cytoscape is an open sourced, general platform for complex network analysis and visualization. Developers can use popular Cytoscape features to visualize RDF graph query results.

Graph Visualization for RDF Graphs using Cytoscape


Other Notable Features

  • The session info returned by ServerInstance.getServerState() API now contains info which user session belongs to:

getServerState Example

  • Graph Server rpm install no longer attempts to install the Python client automatically. That can be done as a separate step.
  • RDF Server now bundles Monaco code editor. This is the same code editor used in Graph Studio, so it enables SPARQL syntax highlighting.

For more information, please visit our Property Graph documentation, and here is a section on RDF graph visualization using the Cytoscape.js library. Please try out these new features!

Rahul Tasker

Senior Product Manager

Product Manager for Oracle Spatial and Graph

Previous Post

Writing Applications for JSON Documents in a Sharded Environment

Richard Delval | 15 min read

Next Post

Announcing third-party Python packages for use for Graph Studio on Autonomous Database

Rahul Tasker | 4 min read