4 Introduction to SQL Property Graphs
You can work with SQL property graphs in any SQL based interface (such as SQL Developer, SQLPLUS, or SQLcl) or from a Java program using JDBC.
Using SQL statements, you can perform the following:
- Create a SQL property graph from existing database objects
in your schema, such as:
- Tables (with some exceptions as listed in Limitations of Creating a SQL Property Graph)
- Materialized views
- External tables
- Synonyms for any of the preceding database objects
- Create a synonym for a SQL property graph.
- Revalidate a SQL property graph.
- Rename a SQL property graph
- Run graph pattern matching queries on a SQL property graph.
- Drop a SQL property graph.
For example, the following figure shows the creation of a SQL property graph using the SQL Developer tool.
Figure 4-1 Using SQL Developer to Create a SQL Property Graph

Description of "Figure 4-1 Using SQL Developer to Create a SQL Property Graph"
- Quick Start for Working with SQL Property Graphs
This tutorial helps you get started on creating, querying, and running graph algorithms on a SQL property graph. - Quick Start: Creating a SQL Property Graph by Importing Graph Data from Neo4j
Oracle Graph provides PL/SQL scripts that allow you to import Neo4j graph data and create a SQL property graph in either your Oracle Autonomous Database instance or an on-premises Oracle Database.
Parent topic: SQL Property Graphs
4.1 Quick Start for Working with SQL Property Graphs
This tutorial helps you get started on creating, querying, and running graph algorithms on a SQL property graph.
Before you begin, ensure that you have the required privileges to create and drop a SQL property graph. See Granting System and Object Privileges for SQL Property Graphs for more information.
Parent topic: Introduction to SQL Property Graphs
4.2 Quick Start: Creating a SQL Property Graph by Importing Graph Data from Neo4j
Oracle Graph provides PL/SQL scripts that allow you to import Neo4j graph data and create a SQL property graph in either your Oracle Autonomous Database instance or an on-premises Oracle Database.
The scripts are available at My Oracle Support. Refer to
MOS Note 37473555
for downloading the scripts. Click open the README
file and
follow the instructions to migrate Neo4j graph data to Oracle Database
(either Oracle Autonomous Database or an on-premises database) and create a
SQL property graph.
The following outlines the basic steps that you need to perform as
explained in the README
file:
- Ensure that you meet the necessary prerequisites.
- Retrieve and export the graph metadata from Neo4j into CSV files.
- Upload the CSV files to Oracle Database (that is, through Object Storage for an Autonomous Database instance and local directories for an on-premises database).
- Run the migration tool to read the uploaded graph metadata and generate migration scripts in your environment.
- Run the migration scripts to import the Neo4j graph data into Oracle Database and finally create a SQL property graph.
Parent topic: Introduction to SQL Property Graphs