<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Benton Lackey on Medium]]></title>
        <description><![CDATA[Stories by Benton Lackey on Medium]]></description>
        <link>https://medium.com/@benton.lackey?source=rss-1a572a80bf89------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LkVZFmnuC9keiICd4_i45Q.jpeg</url>
            <title>Stories by Benton Lackey on Medium</title>
            <link>https://medium.com/@benton.lackey?source=rss-1a572a80bf89------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 04:51:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@benton.lackey/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Neo4j Virtual Graph on Snowflake]]></title>
            <link>https://medium.com/snowflake/neo4j-virtual-graph-on-snowflake-bee771442fe1?source=rss-1a572a80bf89------2</link>
            <guid isPermaLink="false">https://medium.com/p/bee771442fe1</guid>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[neo4j]]></category>
            <dc:creator><![CDATA[Benton Lackey]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 14:01:05 GMT</pubDate>
            <atom:updated>2026-10-13T14:01:05.736Z</atom:updated>
            <content:encoded><![CDATA[<p>Neo4j is the <a href="https://db-engines.com/en/ranking/graph+dbms">leading graph database</a>. It makes it easy to create knowledge graphs and enterprise knowledge layers, leveraging the connections in existing data. One way to accomplish this is with the Virtual Graph feature in Neo4j Aura. This creates a virtual graph on top of Snowflake without the need to copy data.</p><p>This approach reduces time to value and provides a lower TCO than alternatives.</p><p>In this blog post, we’ll look at a sample dataset in Snowflake. We’ll then set up Virtual Graph running on top of it.</p><h3>Setup Snowflake</h3><p>If you don’t already have a Snowflake account, it’s easy to <a href="https://signup.snowflake.com/">signup for a free trial</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oVFUrEQ4WmTXvef2GFKa4w.png" /><figcaption>Snowflake Sample Data</figcaption></figure><p>Snowflake then has some really great <a href="https://docs.snowflake.com/en/user-guide/sample-data">sample datasets</a>. We’re going to use the TPC-H dataset. It has a really neat data model based on a hypothetical business with parts, customers, suppliers and so on. The dataset has 8 tables and a graph structure implicit in it.</p><p>You’re going to need to create a service account for this to work. You can do something like this:</p><pre>CREATE USER IF NOT EXISTS VIRTUAL_GRAPH_SERVICE_ACCOUNT<br><br>TYPE = SERVICE;<br><br>CREATE ROLE VIRTUAL_GRAPH_READER;<br>GRANT USAGE ON DATABASE SNOWFLAKE_SAMPLE_DATA TO ROLE VIRTUAL_GRAPH_READER;<br>GRANT USAGE ON SCHEMA SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 TO ROLE VIRTUAL_GRAPH_READER;<br>GRANT SELECT ON ALL TABLES IN SCHEMA SNOWFLAKE_SAMPLE_DATA.TPCH_SF1 TO ROLE VIRTUAL_GRAPH_READER;<br>GRANT ROLE VIRTUAL_GRAPH_READER TO USER VIRTUAL_GRAPH_SERVICE_ACCOUNT;<br><br>You will need to create a key on the command line. A command like this should do it:<br><br>openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out snowkey.p8 -nocrypt<br>openssl rsa -in snowkey.p8 -pubout -out snowkey.pub<br><br>Then you would need to assign that key in Snowflake:<br>ALTER USER VIRTUAL_GRAPH_SERVICE_ACCOUNT SET RSA_PUBLIC_KEY=&#39;MIIBIjANBgkqh…your_key_here…&#39;;</pre><p>More detail is in the Quick Start <a href="https://neo4j.com/docs/virtual-graph/aura/getting-started-snowflake/">here</a>.</p><h3>Setup Neo4j</h3><p>Much as Snowflake offers a free trial, so does Neo4j. You can signup <a href="https://neo4j.com/free-graph-database/">here</a>. Once you’ve logged in, you’ll be presented with a view to create an instance. In this case, we’ll want to create a Virtual Graph instance. That’s a lightweight Neo4j instance that uses a data warehouse for storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AD9AqgXTeNUmkctf7ZLSFg.png" /><figcaption>Neo4j Aura</figcaption></figure><p>We’ll select Snowflake and then need to configure the connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xVKQ943uBy5I-6DXD-CsSA.png" /><figcaption>Neo4j Aura — Virtual Graph Configuration</figcaption></figure><p>Then, for a trial account, values will be something like:</p><pre>Name - Snowflake<br>Host - XXX-YYY.snowflakecomputing.com<br>Port - 443<br>Database - SNOWFLAKE_SAMPLE_DATA<br>Schema - TPCH_SF1<br>Warehouse - COMPUTE_WH<br>Role - ACCOUNTADMIN</pre><p>When complete, you’ll see the loaded table schemas!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hiBwZPQS84zImKOlWAiJ9w.png" /><figcaption>Neo4j Aura — Snowflake Schema</figcaption></figure><p>Neo4j Aura uses AI to generate a graph schema from this data. In this case, the result was this!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ds0cQekw7XBY4Cai_1m-wg.png" /><figcaption>Neo4j Aura — Virtual Graph Schema</figcaption></figure><p>Following through the dialogs, we create our instance and can then view it in the Neo4j Aura console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q1_iCO4oQ5_pEFPipvN9-g.png" /><figcaption>Neo4j Aura — Virtual Graph Instance</figcaption></figure><p>That takes a few minutes to deploy. When complete, we can connect to it. We can see the data from our Snowflake instance, now represented in Neo4j using the Query tool!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3VhGPi5PsrDW2svYPhb6oQ.png" /><figcaption>Neo4j Aura — Query</figcaption></figure><p>For instance, here’s a graph showing some customers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mKfjhm7Iw3pMl6rG8-J9kQ.png" /><figcaption>Neo4j Aura — Query result showing a graph</figcaption></figure><p>It’s also possible to use the Bloom BI tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5X1141tf4QMd0atSaVTUaA.png" /><figcaption>Neo4j Aura — Bloom Business Intelligence</figcaption></figure><p>This is, of course, a synthetic dataset. Exploring real data is always more exciting as that tends to have more structure. We encourage you to try that with your datasets!</p><h3>Conclusion</h3><p>We hope you found this walkthrough useful. With Virtual Graph, it is very easy to get started with graph databases on your existing Snowflake datasets. We’re curious to hear what you build!</p><p>You can learn more about how Neo4j works with Snowflake <a href="http://neo4j.com/snowflake">here</a>. Please reach out to <a href="/service/mailto:ecosystem@neo4j.com">ecosystem@neo4j.com</a> with any questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bee771442fe1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/snowflake/neo4j-virtual-graph-on-snowflake-bee771442fe1">Neo4j Virtual Graph on Snowflake</a> was originally published in <a href="https://medium.com/snowflake">Snowflake Builders Blog: Data Engineers, App Developers, AI, &amp; Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>