Quick start - create a graph

Once the workload has been enabled in your workspace, follow the steps below to create a graph dataset from a Lakehouse and analyze it using Bloom and Query. See Configure for more information on enabling the workload. A sample dataset is provided in this guide to help you get the most out of your trial, and links to other datasets and Notebooks in GitHub are provided at the end of the guide.

You may have up to ten 14-day free trials per organization, but only a single graph item per trial user at any one time.

This guide is intended to help users of the Free Trial. Some steps may differ for Neo4j users who have an organization in Aura.

The workspace must be a Fabric workspace, that is, a workspace with a Fabric capacity or Trial assigned to it. My Workspace is a Power BI workspace by default, so creating a Graph Dataset there fails until you assign it a Fabric capacity in its workspace settings. Using a dedicated Fabric workspace is recommended. See Troubleshooting if you encounter the error Can’t create item in current workspace.

  1. Open your Fabric workspace

  2. Select New Item → Neo4j Graph Dataset.

Select Neo4j Graph Dataset from New Item
  1. Provide a name for the dataset, for example retail graph.

  2. Decide how to proceed:

Choose how to create the graph dataset
  1. Select Sample retail dataset (recommended) if you need some data to explore.

  2. Select New Graph Dataset only if you already have data readily available in OneLake (then continue to Step 5).

  3. Ignore Connect to existing. This only applies to organizations that have an Aura Professional or Business Critical database that you want to connect to Fabric.

  1. Select an available Lakehouse (must have been created with schema support) or create a new Lakehouse, and then use Create.

Create sample data in a Lakehouse
  1. Wait for the tables to be created.

Sample data load completed
  1. Select Continue setup.

  2. Select Start trial now to start an AuraDB Professional 14-day trial with 4GB, 1 CPU, and 8GB of storage.

  3. If an Aura region is not available for your Fabric region, you will be asked to select your preferred AuraDB region from the list of available regions.

  4. Copy and close the credential information, and store it in a password manager. You need this to use Notebooks or to connect from applications that you develop.

Aura credentials
  1. Select the Lakehouse with the data you want to use.

Select the Lakehouse for schema mapping
  1. Select two or more tables in the Lakehouse, then use Next.

  2. Review the AI-assisted graph model, and make any necessary edits.

Review and edit the suggested graph model
  1. Use Transform to graph to create the AuraDB graph database.

  2. Wait for the five transformation steps to complete. You will receive an email notification when the task has been completed. Note that the Preview button allows you to advance to start querying the graph while it is being imported.

Transformation progress steps
  1. If you remain on the progress screen, you are taken to the Query tab once all the data has loaded.

Query tab
  1. Either use Cypher® to query the graph, or press CtrI + I type a prompt for TextCypher to generate Cypher for you.

Cypher statement generated by a text prompt and the resulting graph
  1. Graph Algorithms are available in Bloom, via Cypher in Query or via Notebooks. Paid instances can use Serverless Graph Analytics, follow this guide for information on this.

  2. To export results back to the Lakehouse, follow this guide.

If you used the sample data set, refer to the blog Write Neo4j Graph Intelligence Results Back to OneLake in Fabric, which demonstrates how to run algorithms from a Notebook.

Looking for datasets and inspiration

GitHub has other great examples of data sets and the use of algorithms to solve business problems.

If the AuraDB administrator has disabled the Generative AI assistance in Aura, then the Transform button does not use AI to propose a graph model. Refer to Data Modeling for guidance. See Aura Documentation → Aura Organization settings for more information on AI assistance.