<?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 Greg on Medium]]></title>
        <description><![CDATA[Stories by Greg on Medium]]></description>
        <link>https://medium.com/@gregory_king?source=rss-5764103b4dd8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HCl31bNjICZ9SyPDt7ZoPg.png</url>
            <title>Stories by Greg on Medium</title>
            <link>https://medium.com/@gregory_king?source=rss-5764103b4dd8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:04:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gregory_king/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[Streamline Data Ingestion With the Neo4j Aura Import API]]></title>
            <link>https://medium.com/neo4j/streamline-data-ingestion-with-the-neo4j-aura-import-api-b838e0f226d2?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b838e0f226d2</guid>
            <category><![CDATA[cli]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[aura]]></category>
            <category><![CDATA[import]]></category>
            <category><![CDATA[neo4j]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Wed, 22 Oct 2025 18:16:26 GMT</pubDate>
            <atom:updated>2025-10-22T18:16:26.379Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Create a free graph database instance in </em></strong><a href="https://login.neo4j.com/u/signup/identifier?state=hKFo2SA4YXB2VkxUSjN1eWNZN25RbXZaRExfcjdteW4wUEd5WKFur3VuaXZlcnNhbC1sb2dpbqN0aWTZIExxUEYxb2V5OGU5amRVTGJ2c2RxZXJieUJyZWJmUDhFo2NpZNkgV1NMczYwNDdrT2pwVVNXODNnRFo0SnlZaElrNXpZVG8"><strong><em>Neo4j AuraDB</em></strong></a></p><p>We’re pleased to introduce you to the new Aura Import API, bringing you programmatic access to the Neo4j Aura Import Service, simplifying the process of bringing your data into Neo4j Aura, and allowing you to focus on building amazing graph applications.</p><h3>Recap on the Aura Import Service</h3><p>The Aura Import Service, available within Neo4j Aura, offers broad support for various data sources. Whether your data resides in traditional RDBMSes like PostgreSQL, MySQL, SQL Server, and Oracle; cloud data warehouses such as Snowflake, Databricks, Azure Synapse, and Amazon Redshift; or cloud storage from the big three providers (AWS S3, Microsoft Azure Blob Storage, Azure Data Lake, and Google Cloud Storage), the Import Service has you covered.</p><p>It allows you to:</p><ul><li><strong>Configure data sources:</strong> Easily connect to your chosen data origins</li><li><strong>Browse table metadata:</strong> Understand the structure of your source data</li><li><strong>Build graph models and mappings:</strong> Visually define how your source data translates into a graph</li><li><strong>Leverage GenAI:</strong> Get a head start on graph model creation with AI-powered assistance</li></ul><h3>Introducing the Aura Import API</h3><p>The new Aura Import API expands on the capabilities of the Import Service, providing programmatic access to trigger and manage your import jobs. To use the API, you’ll need to have a data source and graph model/mapping configured via the Import Service UI. Once you’re happy with your model and mapping, you can grab its ID and use the API to initiate import jobs programmatically.</p><p>The Import Job API is part of the new <a href="https://neo4j.com/docs/aura/platform/api/specification/?urls.primaryName=Aura%20v2beta1">v2beta1 API</a>. The v1 API remains available for a broader range of instance management, which is yet to be migrated.</p><p>A key advantage of the import jobs is their <em>idempotent nature</em>. This means that running the same job twice on the same data will yield identical results. This characteristic is useful for incremental data loads, as new records will be matched against your existing graph and updated or linked appropriately, without creating duplicates.</p><h3>An Example With Google Cloud Workflows</h3><p>We’ll briefly walk through an example of using the API via <a href="https://cloud.google.com/workflows">Google Cloud Workflows</a>, a fully managed orchestration service from Google Cloud.</p><h4>Setting Up Your Import Model</h4><p>Before starting, make a note of your <a href="https://neo4j.com/docs/aura/visual-tour/#org-settings">Aura Organization ID</a> and <a href="https://neo4j.com/docs/aura/visual-tour/#_project_settings">Project ID</a>, which is in the linked Aura screens. You’ll need these to call the Import API.</p><ol><li><strong>Navigate to the Import app:</strong> Start by accessing the Import app within Neo4j Aura.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*hbS9M-DGyDQvWFLWApe4tA.png" /></figure><p><strong>2. Create a new data source:</strong> In this example, we’ll connect to Google Cloud BigQuery using a service account JSON key with the necessary permissions to read and run queries on the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hYnOwppaK7Pe-61MGkbP-Q.png" /></figure><p><strong>3. Create a graph model:</strong> Once connected, you can immediately begin creating your graph model. Feel free to use the AI assistance to jumpstart the process and refine your model as needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAZN97Lg3HpeRpcbI0HTrA.png" /></figure><p>In this somewhat meta example, I’m building a graph of the metadata associated with the Neo4j Import Service itself, illustrating how import jobs run, including the data sources, models, and databases involved.</p><p>Once your import job is defined and you’ve tested it to ensure that it runs as expected and produces the correct results, you’re ready to start running it via the API. Make a note of the model ID from the URL of your model page (e.g., <a href="https://console-preview.neo4j.io/tools/import/models/%3Cimport%20model%20id%3E">https://console-preview.neo4j.io/tools/import/models<strong>/&lt;import model id&gt;</strong></a>), as this will be crucial for the job API.</p><p>For this specific job, I created a view of my underlying BigQuery datasets that contained the last 36 hours of entries, enabling me to call the API daily with some margin for timing.</p><h3>API Endpoints</h3><p>The Import Service currently provides three API endpoints:</p><ul><li>[POST] import/jobs to run an import job</li><li>[GET] import/jobs/{{AURA_API_IMPORT_JOB_ID}} to get the import job status with an option to list progress details</li><li>[POST] import/jobs/{{AURA_API_IMPORT_JOB_ID}}/cancellation to cancel a running job</li></ul><p>You can get more information on the <a href="https://neo4j.com/docs/aura/platform/api/specification/?urls.primaryName=Aura%20v2beta1#/import-jobs">API specification</a>, as well as details on how to <a href="https://neo4j.com/docs/aura/api/authentication/#_creating_credentials">authenticate with the API</a>.</p><h3>Google Cloud Workflows Example</h3><p>In this example, we’ll use Google Cloud Workflows to configure and trigger an import job. While this isn’t a detailed tutorial on Google Cloud Workflows, the following commented YAML for a workflow illustrates basic API usage (also available in a <a href="https://github.com/gregoryking/aura-import-api-gc-workflow">GitHub repository</a>):</p><pre># workflows/aura_import.yaml<br><br>main:<br>  steps:<br>    # Retrieve API secret<br>    - access_string_secret:<br>        call: googleapis.secretmanager.v1.projects.secrets.versions.accessString<br>        args:<br>          project_id: &quot;product-greg-king&quot;<br>          secret_id: &quot;aura_api_secret&quot;<br>          version: &quot;latest&quot;<br>        result: aura_user_secret<br>    - buildVars:<br>        assign:<br>        # OAuth variables<br>        - oauthUrl: https://api.neo4j.io/oauth/token<br>        - tokenForm: &quot;grant_type=client_credentials&quot;<br>        - basicAuth: ${&quot;Basic &quot; + base64.encode(text.encode(aura_user_secret + &quot;:&quot;))}<br>        # Aura API variables<br>        - aura_api_domain: ${sys.get_env(&quot;AURA_API_DOMAIN&quot;)}<br>        - aura_api_version: ${sys.get_env(&quot;AURA_API_VERSION&quot;)}<br>        - apiBase: ${aura_api_domain + &quot;/&quot; + aura_api_version}<br>        # Details of Aura Organization and project<br>        - aura_organization_id: ${sys.get_env(&quot;AURA_ORGANIZATION_ID&quot;)}<br>        - aura_project_id: ${sys.get_env(&quot;AURA_PROJECT_ID&quot;)}<br>        # Import model id for the import job<br>        - import_model_id: ${sys.get_env(&quot;IMPORT_MODEL_ID&quot;)}<br>        # Target Aura Database id for the import job<br>        - aura_db_id: ${sys.get_env(&quot;AURA_DB_ID&quot;)}<br>        # Datrabase user - only required for instances that do not support service account auth (currently Free and VDC tiers)<br>        # - aura_db_user: ${sys.get_env(&quot;AURA_DB_USER&quot;)}<br>        # - aura_db_password: ${sys.get_env(&quot;AURA_DB_PASSWORD&quot;)} # Good practice to get from secrets manager if required, as done for aura_api_secret_above<br>    # Obtain OAuth token<br>    - getToken:<br>        call: http.post<br>        args:<br>            url: ${oauthUrl}<br>            headers:<br>                Content-Type: application/x-www-form-urlencoded<br>                Authorization: ${basicAuth}<br>            body: ${tokenForm}<br>        result: tokenResp<br>    # Parse token<br>    - parseToken:<br>            assign:<br>            - auth_header: ${&quot;Bearer &quot; + tokenResp.body.access_token}<br>            - import_api_url: ${apiBase + &quot;/organizations/&quot; + aura_organization_id + &quot;/projects/&quot; + aura_project_id + &quot;/import/jobs&quot;}<br>    # Run import hob<br>    - runImport:<br>        call: http.post<br>        args:<br>            url: ${import_api_url}<br>            headers:<br>                Authorization: ${auth_header}<br>                Content-Type: application/json<br>            body:<br>                importModelId: ${import_model_id}<br>                auraCredentials:<br>                    dbId: ${aura_db_id}<br>                    # user: ${aura_db_user}<br>                    # password: ${aura_db_password}<br>        result: importResp</pre><p><strong>Note</strong>: It is currently required to pass your database username and password for Free and VDC tier instances.</p><p>This workflow demonstrates how to obtain the necessary OAuth token from a secret stored in Google Cloud Secret Manager, then create an import job. In my example, I configured this workflow to run daily on a cron schedule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-XZoykAVQK3TH1ORKb_QaQ.png" /></figure><p>The workflow could also incorporate the status and cancellation endpoints to track progress and implement retries or cancellations as needed.</p><p>Running this import job daily allows me to gain a rich understanding of how import jobs are being used — in the example below, finding the complete subgraph for five users who’ve run between 10 and 20 import jobs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PRMfnGvaQvm5ifVlN6Nc5w.png" /></figure><h3>Aura CLI for Import Jobs</h3><p>The Import API functionality is also available directly through the Aura CLI, providing a convenient command-line interface for managing your import jobs.</p><p>To enable import features in the <a href="https://neo4j.com/docs/aura/aura-cli/">Aura CLI</a>, first ensure beta features are enabled by running:</p><pre>aura-cli config set beta-enabled true</pre><h3>Triggering an Import Job</h3><pre>aura-cli import job create \<br> — organization-id 64f7d887–2df0–41ae-ac4e-fd34ce55a333 \<br> — project-id 64f7d887–2df0–41ae-ac4e-fd34ce55a333 \<br> — import-model-id fc371c86–7966–40b5–82b3–93f196d0b928 \<br> — db-id 414d93b4<br><br>ID<br>667a9266–07bc-48a0-ae5f-3d1e8e73fac4</pre><h3>Reviewing Progress of an Import Job</h3><p>You can review the progress of an import job, optionally providing the — progress flag for more detailed output:</p><pre>$ aura-cli import job get 667a9266–07bc-48a0-ae5f-3d1e8e73fac4 \<br>  — organization-id 64f7d887–2df0–41ae-ac4e-fd34ce55a333 \<br>  project-id 64f7d887–2df0–41ae-ac4e-fd34ce55a333 \<br>  progress<br><br>┌──────────────────────────────────────┬─────────────┬────────────┬────────────────────────┬──────────────────────────┬──────────────────────────────────┬───────────────────┐<br>│ ID                                   │ IMPORT_TYPE │ INFO:STATE │ INFO:EXIT_STATUS:STATE │ INFO:PERCENTAGE_COMPLETE │ DATA_SOURCE:NAME                 │ AURA_TARGET:DB_ID │<br>├──────────────────────────────────────┼─────────────┼────────────┼────────────────────────┼──────────────────────────┼──────────────────────────────────┼───────────────────┤<br>│ 667a9266-07bc-48a0-ae5f-3d1e8e73fac4 │ cloud       │ Completed  │ Success                │ 100                      │ neo4j-padw-dev.adhoc_scratchpads │ 414d93b4          │<br>└──────────────────────────────────────┴─────────────┴────────────┴────────────────────────┴──────────────────────────┴──────────────────────────────────┴───────────────────┘<br>┌──────────────────────────┐<br>│ INFO:EXIT_STATUS:MESSAGE │<br>├──────────────────────────┤<br>│ Success                  │<br>└──────────────────────────┘<br># Progress details:<br># Nodes progress:<br>┌─────┬──────────────────┬────────────────┬────────────┬───────────────┬─────────────────────┬─────────────────┐<br>│ ID  │ LABELS           │ PROCESSED_ROWS │ TOTAL_ROWS │ CREATED_NODES │ CREATED_CONSTRAINTS │ CREATED_INDEXES │<br>├─────┼──────────────────┼────────────────┼────────────┼───────────────┼─────────────────────┼─────────────────┤<br>│ n:1 │ [                │ 2335           │ 2335       │ 0             │ 0                   │ 0               │<br>│     │   &quot;ImportJob&quot;    │                │            │               │                     │                 │<br>│     │ ]                │                │            │               │                     │                 │<br>│ n:3 │ [                │ 2335           │ 2335       │ 0             │ 0                   │ 0               │<br>│     │   &quot;DataSource&quot;   │                │            │               │                     │                 │<br>│     │ ]                │                │            │               │                     │                 │<br>│ n:2 │ [                │ 2322           │ 2322       │ 0             │ 0                   │ 0               │<br>│     │   &quot;Model&quot;        │                │            │               │                     │                 │<br>│     │ ]                │                │            │               │                     │                 │<br><br>---truncated---</pre><h3>Summary</h3><p>The new Aura Import API brings you programmatic access to the Neo4j Aura Import Service, simplifying the process of bringing your data into Neo4j Aura, and allowing you to focus on building amazing graph applications.</p><p>We’ve shown you how to get started quickly, and we hope you enjoy using the Aura Import API to start automating your import workflows. Be sure to leave any <a href="https://feedback.neo4j.com/data-importer">feedback</a> you may have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b838e0f226d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/streamline-data-ingestion-with-the-neo4j-aura-import-api-b838e0f226d2">Streamline Data Ingestion With the Neo4j Aura Import API</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing New Aura Import Services]]></title>
            <link>https://medium.com/neo4j/relational-database-to-graph-querying-in-less-than-5-minutes-8fdd7e81edef?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fdd7e81edef</guid>
            <category><![CDATA[import]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[relational-databases]]></category>
            <category><![CDATA[graph]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Fri, 01 Nov 2024 16:32:55 GMT</pubDate>
            <atom:updated>2024-11-22T14:35:28.177Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>PostgreSQL, MySQL and SQL Server to Graph querying in less than 5 minutes</strong></h4><p>📣 <strong>Update! </strong>Support for <strong>MySQL </strong>and <strong>SQL Server</strong> has now been added. It’s now also possible to import into <strong>Free</strong>, <strong>Professional</strong> and <strong>Business Critical Instances</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oPTU4N3rcU1C5ZYaS7RCkQ@2x.png" /></figure><p><strong>We’re pleased to announce the launch of a significant new import capability in Neo4j Aura. Our new import service allows you to connect to existing data sources, define a graph data model and initiate a corresponding import job. Getting data into a Neo4j graph and creating the initial data model is often the first step to using graphs for analysis or developing an application. This new import capability makes it possible to get started with your data very easily without requiring code to move data into Neo4j.</strong></p><p><strong>We’re initially launching with connectivity to PostgreSQL with more RDBMS and cloud data warehouse integrations to follow. Our eventual goal is to allow you to import data from a broad range of data sources. Look out for more blog posts covering future sources and read on to take a hands-on look at turning the Chinook dataset from PostgreSQL into a queryable graph.</strong></p><p>If you haven’t already, sign into the latest <a href="https://console-preview.neo4j.io/">console preview</a>. If you want to follow along with your own data source, all you need is a PostgreSQL database accessible via a public IP address.</p><p>Let’s dive in!</p><h3>Set Up the Data Source</h3><p>If you’re already familiar with the existing import capability in console or its predecessor, Workspace, you’ll be familiar with the ability to import from CSV. This functionality remains, but you’ll now see new data source options, too. We’ll start by selecting PostgreSQL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1HLzc8AkcaSfDwROAQlxZg@2x.png" /><figcaption>Selecting a data source</figcaption></figure><p>Next, we complete the connection details for the source and give it a name — the data source will be saved for reuse. We’re going to take a look at the <a href="https://github.com/lerocha/chinook-database">Chinook dataset</a> representing a digital media store. 🎶</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d-oFgiWySsqsW6M1WMBEww@2x.png" /><figcaption>Configuring a new data source</figcaption></figure><p>Once we’re able to successfully connect to the source, we see a summary of the table schema, allowing us to validate that it’s the data source we intended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WcrKle-se0AsyPxNcAjwdw@2x.png" /><figcaption>Reviewing table schema</figcaption></figure><p>Clicking Confirm saves the data source. At this stage, you’ll be given the recommended option of generating a graph model from the data source. Before loading data into a graph database, you must decide on the graph model and map your data to it accordingly. Here, if available, we use the primary and foreign key constraints in your database to create a starter graph model. Let’s give it a shot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ak2weOok8HzWJSjc824IZw@2x.png" /></figure><h3>Generating a Graph Model</h3><p>The Chinook database is pretty well set up regarding keys, so we get a good starting point. You can see a track towards the model&#39;s center with a linked album and, in turn, the artist. At the top, you’ll also see a “self-relationship” for the employee table, which most likely refers to employee reporting lines. If you look at the panel to the right of the graph model carefully, you can see the reports_to column of the employee table is being used to define this relationship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xYm_rqA561t9QoHCRXt-Ww@2x.png" /><figcaption>Generated graph model</figcaption></figure><p>It’s always a good idea to review this candidate graph model to ensure that everything is as expected. On the left side, you can see the table schema from the source database, with the blue dots indicating table columns successfully mapped to the graph model. Some items may be unmapped depending on the completeness of key information in the underlying database. Most types that have clear Neo4j type mapping are supported, but custom data types won’t be available. It’s worth reviewing this list and updating the model and mappings as necessary.</p><p>The names assigned to the nodes and relationships are simply based on the table names; we can tidy these up to make them more meaningful and intuitive in a graph. In Neo4j, we use the following convention:</p><ul><li>NodeLabel: Camel case, beginning with an uppercase character</li><li>RELATIONSHIP_TYPE: Uppercase, using an underscore to separate words</li></ul><p>For example, in our model, we’ve changed a node to have the labelInvoiceLineItem and created a REPORTS_TO relationship between Employee nodes. This makes it easier to understand things later when it comes to querying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*YB9gFUgIyORznGmBI1C-MA@2x.png" /><figcaption>Tidied graph model</figcaption></figure><h3>Import</h3><p>With that complete, we’re now ready to run the import job. If you haven’t done so already, create an Aura Free instance to load your data into, ensuring you take note of the credentials downloaded on instance creation — you’ll need these to perform the load.</p><p>After clicking Run Import, you’ll be prompted to connect to the instance if you aren’t already connected. Then you’ll need to provide the password for your PostgreSQL database and the password for your target Neo4j instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wtQIJZaRWuBqgXjIAJOVGQ@2x.png" /></figure><p>When that’s done, you’ll be sent to the Import Jobs status page to see the status of the import job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bltolAa6KA6ld_WzgE5XlA@2x.png" /></figure><p>If you ever want to return to the graph model and mapping created — to rerun an import job, for example — you can find it listed under the <em>Graph Models</em> tab, with the most recently used listed first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z74wNeej6wrwI4Yz8kGaeA@2x.png" /></figure><h3>Exploration With Co-Pilot</h3><p>When the import job has been completed (or even while it’s in progress), you can go to the Explore or Query tabs to start interacting with your graph.</p><p>We’ll head over to Query. Clicking the refresh icon at the bottom of the <em>Database Information</em> drawer will give you the latest information about the number of nodes and relationships in your database.</p><p>Running the schema visualization procedure, as shown below, shows we’ve successfully loaded data according to the model we created in the import step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FQ_8olMHsy0ofD4a_mlHFQ@2x.png" /><figcaption>Chinook dataset loaded</figcaption></figure><p>With that done, let’s use the Query co-pilot to see what we can learn about the digital media store in the Chinook dataset.</p><blockquote>Which artist has the album with the most tracks?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*UCPZDQfL0WrLhYkCOgjBBA.gif" /></figure><p>It looks like Lenny Kravitz thinks quite highly of his back catalog, with his “Best of” album featuring a pretty comprehensive 57 tracks! The query helpfully returns the artist&#39;s name, album title, and track count. If we modify it a little, we can return the album node and expand from it to see all the tracks in a graph.</p><p>Let’s try something a little more complicated that’ll require stepping through quite a few hops in the graph and doing some aggregation.</p><blockquote>Who is the greatest grossing artist by invoice value?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7OcFgpomKZOngf6qtmsEEg.gif" /></figure><p>Initially, we don’t get any results; co-pilot generations aren’t always perfect. If we compare the graph pattern with the schema, one of the relationship directions has simply been switched around. Correcting that, we can quickly see that Iron Maiden generates the most revenue.</p><p>Let’s see if we can get a bit more color on that.</p><blockquote>Show me all the Iron Maiden albums, tracks, invoices and invoice line items</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*GUhOME2xVyKTCf-xOCfieQ.gif" /></figure><p>We have to do a little correction here again, but we got all the requested items. If we expand to show all the relationships, we get a nice graph of all the Iron Maiden albums, tracks, and invoice items related to them. Pretty neat!</p><p>Hopefully, this little run-through has helped illustrate how you can start with a relational database and get querying with all the benefits of a graph database in next to no time.</p><p>If you try it out on your own database and have feedback, please visit <a href="https://feedback.neo4j.com/data-importer">https://feedback.neo4j.com/data-importer</a> to share your thoughts.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fdd7e81edef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/relational-database-to-graph-querying-in-less-than-5-minutes-8fdd7e81edef">Announcing New Aura Import Services</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Your New Cypher Co-Pilot]]></title>
            <link>https://medium.com/neo4j/introducing-your-new-cypher-co-pilot-75aa82997bce?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/75aa82997bce</guid>
            <category><![CDATA[aura]]></category>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[workspace]]></category>
            <category><![CDATA[cypher]]></category>
            <category><![CDATA[co-pilot]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Thu, 11 Jul 2024 20:37:50 GMT</pubDate>
            <atom:updated>2025-03-26T14:57:44.196Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Er2_VIqS_7Avw8ixQIn3w.jpeg" /></figure><h3>Introducing Your New Cypher Copilot</h3><p>ℹ️ <strong>Update:</strong> You may need to enable the copilot for your organisation before it becomes available, see an example of how to do this for console preview. Similar settings apply for the regular console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*bwS4D38I-LTHWe6tRFspoA.gif" /></figure><p>This summer, we’re pleased to announce the launch of a new Cypher copilot available in Neo4j Aura to all Workspace users.</p><p>When you land in the Workspace Query tab, you’ll notice a new sparkling icon (✨) to the right of the main query editor. That’s where you want to be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*KFOivIm4P21flsxxfo8hPg@2x.png" /><figcaption>Look for the ✨ in the main Cypher editor</figcaption></figure><p>Update: You now need to enable copilots for your organisation to see the sparkles in workspace or the</p><h4>Who’s This For?</h4><p>Our hope is that this early version of the copilot is useful to new and experienced users alike. It will help beginners generate and learn the Cypher constructs that can be used to accomplish different tasks and save time for experienced users by generating a good initial statement to work from.</p><p>We’ve been testing the copilot over the past few months, and we’ve found it to be simultaneously very capable of generating useful and sometimes quite sophisticated queries — but also sometimes getting the simplest things wrong. So it’s really important to check your queries carefully before executing them, especially if they write or update data.</p><h4>How to Use It</h4><p>If you come to Query via the <a href="https://console.neo4j.io/">Aura console</a>, you’ll be authenticated and ready to go. If you haven’t visited Workspace for a while, you might be prompted to log in to Aura again to get going.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3l3eET1JjTYT3yoAXNkQkw.gif" /><figcaption>Only needed a little hint to get the right answer 😉</figcaption></figure><h4>How Does It Work?</h4><p>The copilot currently uses a base LLM from OpenAI with a task-focused system prompt. While the model hasn’t yet been fine-tuned to expertly generate Cypher (see limitations later), it keeps the LLM primed with the context of your current database schema. This means every request should have a reasonable understanding of your current database. The prompt also includes few-shot examples and guidelines for generating correct Cypher.</p><p>You input your natural language question, and the LLM generates a Cypher candidate, which you can edit and adjust (or adjust your question and re-generate) before execution:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3l3eET1JjTYT3yoAXNkQkw.gif" /></figure><h4>Let’s Take It for a Spin</h4><p>One way to use a copilot is to help you build a graph. We will look at a small analysis project I recently completed to analyze event data.</p><p>This small project started with <a href="https://workspace-preview.neo4j.io/workspace/import">Data Importer</a> to quickly load a CSV file of User and Event data with the following model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*ad5yrFu3EDS08cmRGflnjw@2x.png" /><figcaption>Simple User -&gt; Event data model</figcaption></figure><p>However, the data model lacked one important part: a NEXT_EVENT relationship showing chains of events completed in a linear sequence.</p><p>My source data didn’t have a nice input defining the set of relationships between Events, so I knew this was something I could achieve as post-processing in Cypher.</p><p>I’ve done this kind of thing numerous times before, but it can sometimes take some Googling to get a refresher on the best query construct. Here was my first attempt assisted by the copilot, feeding some detail about properties I knew were needed to complete the task accurately:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*xRIdwUBRKuVKrcXx4Mtfmw.gif" /></figure><p>Not a bad first attempt. There is more than one way of solving this problem, but the first attempt looked reasonable. Reviewing the query, there was, however, one obvious problem: It was looking for a specific user, whereas I wanted events for all users. While I could quite easily fix up the query myself, I could also try making the prompt clearer and see if that improves the generation.</p><p>We don’t currently support requesting tweaks to an existing query in the editor, but we do leave the last prompt in the copilot input so you can tweak it to give it more direction.</p><p>Below, you can see it takes a couple of attempts to get the right level of grouping, ensuring both users (u) and events (e) are used in the WITH statements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*t6inYcz3dDaffC1xPsYqbw.gif" /></figure><p>It’s also interesting to note that the copilot switches to a different approach, opting to use collect instead of FOREACH constructs. Both approaches are valid; they are different ways of getting the same result.</p><p>Next, I want to see if I can visualize some chains of events originating from a user. Having done a few queries myself beforehand, I quickly realized that my modeling decision to link the user node to every event may not have been the wisest choice.</p><p>But I was hacking away a quick project, so there was no time for turning back. Feeding some of my insights into the prompt, this was my first attempt:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*565AIIIXrN6DtLeY7Hmm-A@2x.png" /></figure><p>Now this isn’t quite right. You’ll notice I’ve again got a result that is looking for a specific user, rather than users generally. You’ll also notice that the new Cypher editor linting (red squiggly underline) is picking up the use of deprecated syntax, but that’s something we can fix quite easily. That great language support is a good help in fixing up the generated statements.</p><p>But the generation has set me on the right track, After a few tweaks, I’m heading in the right direction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*2frG5PUJo8Sm-eejTlKEBg@2x.png" /></figure><p>Making tweaks so that the query (1) does variable length traversals, (2) uses a second WHERE condition to make sure we end on a node with just one NEXT_EVENT relationship, and (3) fixes up the deprecated syntax swapping SIZE() out for COUNT{} and returning just a single limited path now that we’re looking across all users. Quite a few changes from the original query, but it gets us an event chain to inspect.</p><h4>Let’s Try Something Different</h4><p>Another way of using the copilot is to analyze existing databases. Let’s look at the old trusty Northwind dataset in graph form and see how it fares at answering some questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*rwFEOuXbUDVJ2h8V8DOb0A@2x.png" /><figcaption>The Northwind graph model</figcaption></figure><p>Let’s try asking which supplier supplied the most products:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*UQobExpGrTYlR6ylYeWr6A@2x.png" /></figure><p>Not bad, but I realize that’s not quite what I had in mind. Let’s try being more precise:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*cZ3y9iEQqXysEziuIDfh-w@2x.png" /></figure><p>Nice! We can now see a much more nuanced answer, and the logic used looks pretty good.</p><p>Let’s try another question, like seeing who supplies dairy products:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*gS330xcE4WouEwfDF6rTpw@2x.png" /></figure><p>OK, there are no results there, but I’m pretty sure the dataset contains dairy products. It turns out that “Dairy” isn’t the right categoryName. The schema we supply only has visibility of the schema and not actual data. So it’s guessed a value — just not the correct one. Once I’ve retrieved the correct category name, we get a result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*oEIw7Vdp6lAy6QTdnEIDAQ@2x.png" /></figure><p>Let’s try one final example: Which customer has the deepest pockets? OK, that‘s not exactly what I asked. I asked, “Which customer bought the most expensive product?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*wutFHyMTW6pNAw3lmijAWg@2x.png" /></figure><p>We get a result here, but it’s also accounting for order quantity. Maybe I wanted that, maybe I didn’t. This is a good reminder of how copilots can be great assistants, but they’re no substitute for you understanding what you’re doing and validating the output.</p><p>So just for fun, the last question made me wonder what happens if I actually ask, “Which customer has the deepest pockets?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*FihpTHGX_bOfgZn3aBrAEQ@2x.png" /></figure><p>The query looks reasonable, but the value is 0, which doesn’t look right. It turns out the values it needed were on the ORDERS relationship, so with a quick tweak, we get what looks like a plausible result. Pretty neat!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*GsZnDDa-6BdZzqI-K_fppg@2x.png" /></figure><h4>What to Watch Out For</h4><p>We’re working on improving the copilot generations, and while the above touched on some of the things to watch for, here’s a more complete list:</p><ul><li><strong>Incorrect relationship direction </strong>— Your database schema may not always be fully observed. Upon closer inspection, complex path patterns that may look correct can be found to have the relationship direction reversed.</li><li><strong>Hallucinating “model shortcuts” </strong>— Even if all the correct node labels and relationship types are used, you can sometimes find that a relationship attempts to link two labels that don’t have such a relationship between them.</li><li><strong>Deprecated syntax </strong>— Queries returned can fail to run due to using deprecated syntax. Examples observed include deprecated size functions in WHERE clauses and old graph projection methods for the GDS library.</li><li><strong>Variable naming clashes</strong> — LLMs are generally good at choosing concise, meaningful variable names for path elements, such as(a:Address). When the same label exists multiple times in a path, it has been observed that LLMs unintentionally reuse a variable name when this is not the query’s intent, resulting in incorrect results.</li><li><strong>Inefficient queries</strong> — Unbounded traversals or unlimited queries can lead to computationally expensive operations. Evaluate the complexity of queries carefully.</li><li><strong>The tendency not to return relationships</strong> — Queries are inclined not to include relationships in returns that you intuitively expect, often requiring additional explicit prompting to return relationships. You can also just prefix the pattern with a path = and then return the path.</li></ul><h4>What’s Next?</h4><p>We have some ideas about how we can improve the UX of the copilot, like allowing you to use it from the reusable frames and being aware of the current query context. But our highest priority is improving the quality of the generations with a custom fine-tuned model. Watch for more on this in the coming months.</p><p>We hope you have fun with this initial release and, as always, drop us some feedback over at <a href="https://feedback.neo4j.com/query">https://feedback.neo4j.com/query</a> to let us know how it goes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75aa82997bce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/introducing-your-new-cypher-co-pilot-75aa82997bce">Introducing Your New Cypher Co-Pilot</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neo4j DevTools Update: Workspace, MultiDB, Editors]]></title>
            <link>https://medium.com/neo4j/neo4j-devtools-update-workspace-multidb-editors-oh-my-f680cd0cd17e?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f680cd0cd17e</guid>
            <category><![CDATA[cypher]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[workspace]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[neo4j]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Mon, 23 Oct 2023 08:34:13 GMT</pubDate>
            <atom:updated>2023-10-23T13:03:21.678Z</atom:updated>
            <content:encoded><![CDATA[<p>These last few months, we’ve been working hard to make your development experience in <a href="https://neo4j.com/product/workspace/">Workspace</a> better, finally bringing you some features you’ve been accustomed to in Neo4j Browser (multi-db support!) and powering up existing features with greatly improved Cypher editors and table rendering. Read on to find out more…</p><h4>Query: NEW Cypher Query Editor</h4><p>We’ve been working hard over the last few months to drastically improve the language support we provide. The new editor is now derived from the same grammar as the latest versions of Cypher. For a start, this means that syntax highlighting and code completion are now much more reliable. The two screen grabs below illustrate before and after shots for the same Cypher statements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*-w-CBctYZB0tFeRDQoN9RA@2x.png" /><figcaption>Old editor</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*KIOea4qmntM7iLf4yo5Veg@2x.png" /><figcaption>New Editor</figcaption></figure><p>You’ll see the completeness and contextual accuracy of highlighting is much improved too, one example being key in the context of a key/value pair is no longer incorrectly colored as the Cypher keyword KEY. There’s also better support for highlighting Labels (like “Interest” above), so important concepts now stand out better.</p><p>This same greater understanding of Cypher also powers more accurate completions, like proposing the correct keyword options at the end of this CALL clause:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*IhUcWract7qxgnXDEkvn5w.gif" /><figcaption>Greater code completion accuracy</figcaption></figure><p>We’ve got more improvements in the pipeline, including immediate feedback on the syntactic and semantic correctness of your queries as you type.</p><p>If you want to learn more about how we’re building out improved language support, be sure to check out our NODES 2023 talk <a href="https://neo4j.registration.goldcast.io/events/6fb85147-ca27-4310-9dec-cb345c53bd6f?utm_source=first&amp;utm_medium=blog&amp;utm_campaign=announcement">“Re-Inventing Cypher Editing: Neo4j Meets Language Servers”</a> on October 26, where <a href="https://medium.com/u/68f6f49f99c2">Oskar Damkjaer</a> and <a href="https://medium.com/u/9dffe3d93f18">Nacho Cordon</a> will be giving a deep dive into how we’ve been building this, not just to power our own web UIs, but also IDEs (like VS Code) and your own web apps.</p><p>To take the new (experimental) editor for a spin, simply enable it from the … (more) menu of the main editor in <a href="https://workspace-preview.neo4j.io/workspace/query">Query</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*XuS72yLT2vpzGpys8hK9cw@2x.png" /><figcaption>Enable experimental editor from the main editor … (more) menu</figcaption></figure><h4>Query: New Representation for Nodes, Relationships, and Paths in Tables</h4><p>Nodes, relationships, and paths in tables in <a href="https://workspace-preview.neo4j.io/workspace/query">Query</a> have, until now, had quite a basic representation, largely shown as raw renders of data structures. Since the table view is really useful for seeing related graph elements on the same return line, we wanted to do a better job of making them easier to identify in the table.</p><p>So, we’ve now switched to using a rendering that closely resembles the Cypher patterns you’d use to create such elements. This includes efficient syntax highlighting, making node labels and relationship types much easier to spot. For huge results or very fast scrolling, the highlighting is disabled for performance reasons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l2s-qH0lAmzT_P8spc0T3A@2x.png" /><figcaption>Cypher-style table return of paths</figcaption></figure><h4>Import: Preview Selected</h4><p><a href="https://workspace-preview.neo4j.io/workspace/import">Import</a> users have been enjoying the ability to preview their graphs before running a full load for some time now.</p><p>This is really useful to check everything is just right with your configuration, but with more complex models, it can sometimes be difficult to spot or troubleshoot specific issues. This is because it might be hard to see past all the other parts of the model and focus on specific nodes and relationships.</p><p>To address this, we’ve made a slight tweak to the Preview feature, allowing you to optionally preview only the selected parts of your graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*-Mg2xmEZOvHkSUOkq9JPCQ.gif" /><figcaption>Previewing only the PART_OF relationship with adjoining nodes</figcaption></figure><p>In the example above, you can see how we’re able to validate whether the PART_OF relationship is working as we expect it to.</p><h4>Import: Generate Cypher Script</h4><p>The Import UI gives you a convenient way to create your graph model and map data, but what happens if you want to take the import logic and use it somewhere else without the UI? Or what if the Import UI doesn’t quite allow the complex transformations that you need?</p><p>For these scenarios, we now provide the option to view and download a Cypher script representing a model and mapping. You can use the script as-is or adapt it for more complex needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EPqJFRWhNiZM41AV" /><figcaption>Generate Cypher Script</figcaption></figure><p>Examples of where you might use this generated code include:</p><ul><li>The Workspace Query UI. Note that the CSV files will need to be accessible to the DBMS you are connected to. At present, this means Aura customers will need their files accessible on a public URL for the LOAD CSV command to access them.</li><li>On the command line via <a href="https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/">cypher-shell</a>.</li><li>Driver code — De-compose the script and re-use the CREATE CONSTRAINT and MERGE statements to implement your loads.</li></ul><p>The load script itself has comments to help you understand the purpose of the different parts and where you might need to make changes, depending on where you’re running it. See an example of the Northwind configuration <a href="https://gist.github.com/gregoryking/f641bc920728ebb01384f8ddbe053822#file-neo4j_importer_cypher_script_2023-10-23-cypher">here</a>.</p><p>You can also choose to download just the script or the data, which will give you a handy zip file of the script and your CSV files.</p><h4>Workspace: Now Has Access to Unsecured localhost Instances</h4><p><a href="https://workspace.neo4j.io/">Workspace</a> has been available in Aura for some time, but until this point, it’s been impractical to use the Aura-hosted Workspace app to connect to your local instances.</p><p><a href="https://workspace.neo4j.io/">Neo4j Workspace</a></p><p>This was primarily because we prevented access to unsecured neo4j instances from the secure web app. To address this specifically for unsecured instances <em>running on your machine</em>, you can now connect with the neo4j:// or bolt:// schemes to a Neo4j instance running on your own computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*PhmCiK26xxSDBP3UIEcYCg@2x.png" /><figcaption>Conencting to unsecured local instance</figcaption></figure><p>Currently, you need to first type localhost:7687 in the connection URL (assuming you are running on port 7687) and you’ll then get the option to choose one of the insecure schemes from the dropdown. As the connection form warns you, this will establish an insecure connection, but connections in these scenarios will be between the web app running locally in your browser and your machine.</p><p><em>Note that owing to security restrictions, this way of connecting is not supported in Safari.</em></p><p>With this new support, you can now use Workspace to connect to Neo4j Desktop or any other Neo4j instances you have running locally. Please let us know if you run into any issues with this.</p><h4>Workspace: Multi-Database Support</h4><p>The ability to switch between databases in Neo4j editions that support it is now supported in Workspace.</p><p>When you connect to a multi-database Neo4j instance, you’ll see all the available databases listed under the connection dropdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*F3ysuMcHbF8eKnERJcJwUQ@2x.png" /></figure><p>You can now create new databases using the CREATE DATABASE command in the query tab and switch to them via the connection manager. It’s also now possible to use the :use command to switch to a new DB without using the connection manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*uCCQvyF1wjPD1OwsnB_kpg@2x.png" /><figcaption>Creating and using a new database “db7”</figcaption></figure><p>Since you’ll now have the ability to have result frames open that relate to different databases and different connections, you’ll see colored “pills” in frames to remind you which DB a frame corresponds to.</p><p>If a frame corresponds to a DBMS that you are no longer connected to, the “pill” will appear disabled and remind you of the DBMS and DB it pertains to, and provide a shortcut for connecting to that instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2MhqEdF9w-OaY8NX" /><figcaption>Disconnected result frame</figcaption></figure><p>That’s all for this edition of <strong>Neo4j User Tools News</strong>. As a reminder, below are the useful links you need. Until next time!</p><p><a href="https://neo4j.com/cloud/platform/aura-graph-database/">Neo4j AuraDB Free</a> — If you haven&#39;t already, get a free Neo4j AuaDB Free cloud instance and open Workspace from there.</p><p><a href="https://workspace-preview.neo4j.io/">Neo4j Workspace</a> — Go straight to Neo4j Workspace and connect it to your local Neo4j instance.</p><p><a href="https://feedback.neo4j.com/">Feedback</a> — We love to hear your feedback. Please do drop by if you have any.</p><p><a href="https://feedback.neo4j.com/changelog?labels=bloomneo4jio_browserneo4jio_data-importer_query_import">Changelog</a> — More detailed changes to the user tools can be found here.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f680cd0cd17e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/neo4j-devtools-update-workspace-multidb-editors-oh-my-f680cd0cd17e">Neo4j DevTools Update: Workspace, MultiDB, Editors</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neo4j DevTools — Better in Neo4j Workspace]]></title>
            <link>https://medium.com/neo4j/neo4j-devtools-better-in-neo4j-workspace-6189ad5146d3?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6189ad5146d3</guid>
            <category><![CDATA[cypher]]></category>
            <category><![CDATA[import]]></category>
            <category><![CDATA[workspace]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[neo4j]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Thu, 25 May 2023 20:42:06 GMT</pubDate>
            <atom:updated>2023-05-25T20:42:06.986Z</atom:updated>
            <content:encoded><![CDATA[<h3>Neo4j DevTools — Better in Neo4j Workspace</h3><h4>For the last few months, we’ve been toiling away to bring you a more cohesive and integrated developer experience in<a href="https://neo4j.com/product/workspace/"> Neo4j Workspace</a>. Workspace gives you access to your graph tools in one coherent place and is available now in Aura Free and Professional.</h4><p><a href="https://neo4j.com/product/workspace/">Neo4j Workspace</a></p><p>This update full of goodness is long overdue, so read on to hear about the latest and greatest things we’ve been working on. And if you haven’t already, check it out for real with your own <a href="https://neo4j.com/cloud/platform/aura-graph-database/">free Aura instance</a>.</p><h3>Workspace — Query</h3><p>First off, <strong>Query</strong> is part of Workspace that will ultimately replace the much-loved Neo4j Browser. With Workspace we’re not just rebuilding the same capability, we’re improving things as we go. Here is the low down on some familiar features that have been improved in Query.</p><h4>🎯 Refreshed: Param Support</h4><p>When working with parameters in your application code, testing them out in Browser is a great way to ensure things are working just as you want them to. However, in Browser the :param and :params commands are a little finicky, working slightly differently and the latter often leading to unpredictable data types in your parameter set.</p><p>In Query, there’s now just a single :param command (though :params is aliased to :param for convenience) which supports two ways of expressing parameters. The first is using object syntax to conveniently declare many parameters at once, for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*uyBgiZwt_YYH15bKDuypUA@2x.png" /><figcaption>Setting multiple parameters</figcaption></figure><p>And the arrow syntax is also supported if you just want to declare one parameter. Note that declarations are additive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*eMB7J3BBMJWMT_XOEXhl1w@2x.png" /><figcaption>Setting a single parameter, showing additive nature</figcaption></figure><p>Both ways of defining parameters are now evaluated in a Cypher RETURN statement to ensure you get the correct Neo4j types you are expecting, something which wasn’t guaranteed before. You can find more help on parameters in-product by running the :param command. The latest versions of <a href="https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/">cypher-shell</a> have also been updated to adopt the same syntax to make them more portable.</p><h4>💾 Saved Cypher</h4><p>What used to be termed favorites in Browser has been reimagined as <strong>Saved Cypher</strong>. You’ll find a more predictable UI for saving and organising your most essential Cypher statements.</p><p>Saved Cypher can be created from the result frames via the bookmark icon in the editor, optionally specifying a folder to keep things well organised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*gbVYZFr0CDHsFIUfn1XDVg@2x.png" /><figcaption>Create Saved Cypher</figcaption></figure><p>In the sidebar you’ll find your Saved Cypher itemised with options to edit and reorganise things just as you like them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*fEjHiTMhCM1oFNIm26S83Q.gif" /></figure><p>You’re able to <strong><em>export and import</em></strong> Saved Cypher in CSV format too. This export format gives you a good way to add saved Cypher to a version-controlled backup.</p><p>If you want to edit the exported CSV manually, I highly recommend using VS Code’s <a href="https://github.com/janisdd/vscode-edit-csv">Edit CSV</a> extension. Less developer focussed apps such as Excel or Google Sheets can wreak havoc with escaping, delimiters, and general formatting so do bear this in mind if you find editing the exported output useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kw8pAsM6DysPvhUJF_vu_g@2x.png" /><figcaption>Edit CSV VS Code plugin</figcaption></figure><p>For the time being, <strong>Saved Cypher</strong> statements continue to be stored in your web browser’s local storage, but we&#39;re working on more reliable storage — watch this space.</p><h4>🏎️ Powered-up Graph Visualization</h4><p>Now available in Query is an improved graph visualization and its accompanying details panel. The graph visualization is now powered by the same engine as Explore (aka Bloom), providing better performance for larger graphs while retaining the same layout you know and love from Browser. You can enable it by <strong><em>clicking the experimental toggle lab flask </em></strong>in the bottom left of any visualization before we make it the default. To get a feel for the difference, check out a performance comparison of old and new on a mid-sized graph below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bZg4ZWz8Aw1Es9STwmLF7w.gif" /><figcaption>Old graph visualization</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V4UnvAuRItkR4eJZ58_YMA.gif" /><figcaption>New graph visualisation</figcaption></figure><h4>🕵️ New Plan View Options</h4><p>The familiar plan view from Browser has been given a new lick of paint to help you understand the performance of your queries.</p><p>As before, prefix your queries with EXPLAIN or PROFILE to get the plan view. You’ll also find a new option to view the plan view in text format, handy for sharing some of the finer details via text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u50IQc7l9-Uy1apbrbckuw.gif" /><figcaption>Plan view</figcaption></figure><h4>🔎 Quick History Search</h4><p>Have you ever been frantically hitting the up and down arrows to find that critical query in your history? Well, now you can call on a quick search to find it. Just hit <strong>Ctrl+R on Mac/Linux and F9</strong> on Windows to invoke it. You can edit or execute the statements found with the fuzzy search.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cBOQWrmF6niJRuza---gZA.gif" /></figure><p>We’ll soon be bringing you a new history sidebar where you can view, manage and export your query history too.</p><h3>Workspace — Import</h3><h4>📄 File Filtering</h4><p>We now support the ability to pre-filter files used in an import job, allowing you to execute more loads without the need for pre-processing.</p><p>When mapping files to nodes and relationships, you’ll notice an optional filter file toggle. By specifying a row-column, you can choose which row values should be kept based on an exact string match:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtEXlxqA2_STtobpWYYE7w.gif" /><figcaption>Example filtering to keep only ORDERS relationships from a larger relationships file</figcaption></figure><p>This can be especially useful when you have node or relationship files each containing many nodes or relationships pertainign to different parts of your model.</p><h4>🛑 Stop Import</h4><p>And finally, a long overdue feature is the ability to stop an import job on request, handy if you’ve prematurely started an import job and want to cancel it part way through. The import button now consolidates the handy progress bar too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*gdWYQj2nDJFR_ft2IyoHhw.png" /></figure><h3>Closing Thoughts</h3><p>That’s all for this installment, I look forward to bringing you DevTools updates more regularly again. To all Aura Free and Professional users, we hope you enjoy the latest and greatest versions of our tools. If you have any feedback or requests, we’d love to hear from you over at:</p><p><a href="https://feedback.neo4j.com/query">https://feedback.neo4j.com/query</a> for Query</p><p><a href="https://feedback.neo4j.com/data-importer">https://feedback.neo4j.com/data-importer</a> for Import</p><p>As the year progresses, we’ll be working to make Query and Import available to more users outside of Aura, so stay tuned for more updates on that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6189ad5146d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/neo4j-devtools-better-in-neo4j-workspace-6189ad5146d3">Neo4j DevTools — Better in Neo4j Workspace</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neo4j Data Importer — Introducing File Filtering]]></title>
            <link>https://medium.com/neo4j/neo4j-data-importer-introducing-file-filtering-e41e583dfd2a?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e41e583dfd2a</guid>
            <category><![CDATA[aura]]></category>
            <category><![CDATA[csv]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[import-data]]></category>
            <category><![CDATA[neo4j]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 21:33:17 GMT</pubDate>
            <atom:updated>2023-02-01T21:33:17.758Z</atom:updated>
            <content:encoded><![CDATA[<h3>Neo4j Data Importer — Introducing File Filtering</h3><h4>If your CSV file contains several segments of data indicated by a different column value, you can now treat one file as several, creating separate Nodes and Relationships.</h4><figure><a href="https://data-importer.neo4j.io/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TBSmW6AQEYxR7WSMaJmzQA.png" /></a></figure><p>The latest release of <a href="https://data-importer.neo4j.io/">Neo4j Data Importer</a> introduces a new way to load more data sources without the need for pre-processing. By allowing you to apply simple filters to files we’re enabling loads in more scenarios, including:</p><ul><li>Generally keeping data relevant from only certain rows in a file while skipping the others</li><li>Loading data from aggregate node lists and relationship lists where information on <strong>all</strong> nodes and <strong>all</strong> relationships is encapsulated in just two files. (Like from the Bloom export)</li></ul><p>We’re going to take a quick look at how file filtering can help you with the latter example.</p><p>Consider the following subset of the Northwind data model showing Orders, the Products they contain, and the Shippers they are shipped by.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/0*bj6qTeMIX-TS85sX.png" /><figcaption>Northwind Model Subset</figcaption></figure><p>In the classic Northwind dataset, these are represented by different tables like <em>Shippers.csv</em>, <em>Orders.csv</em>, <em>Products.csv,</em> and <em>Order-Details.csv</em>. When extracting data from more graph-like sources, it is not uncommon to be provided with wide node lists and relationship lists that contain all the nodes and all the relationships in just two files.</p><p>Here’s what an example exported from our very own Neo4j Bloom looks like (but could equally apply to any other graph-like export):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vmY87PQxeaQYONby.png" /><figcaption>bloom-nodes-export.csv</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GLjvSkxvYHrVP-Ql.png" /><figcaption>bloom-relationships-export.csv</figcaption></figure><p>In the nodes file you’ll notice the node types are identified by the <em>~labels </em>column and relationship types in the relationships file by the <em>~relationship_type </em>column.</p><p>Before the file filtering feature, you needed to manually separate the nodes files into three files <em>upfront</em>, representing the three node types and the relationships file into two files representing the two relationship types.</p><p>With file filtering, now optionally available under the File dropdown in the Mapping Panel, you can apply include filters to keep rows only relevant to the Nodes or Relationships in your model.</p><p>Here’s an example of applying the file filter to the <em>bloom-relationships-export.csv </em>file to ensure it only keeps the rows where the <em>~relationship_type </em>column has <em>ORDERS </em>values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W2rl2-t0-1b8HTth.gif" /><figcaption>Animation of file filtering in action</figcaption></figure><p>You’ll notice the filter when applied, <em>gives you feedback as you type on how many matches were found</em>. For performance reasons only the first 10,000 rows of any file are scanned, so even if you don’t see matches in this feedback, there may still be matches further down your file.</p><p>The same filtering principle applies for the nodes file, in this example mapping to the Product node and only keeping the rows in the <em>bloom-nodes-export.csv </em>file where values in the column <em>~labels </em>equal <em>Product</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6ThE47zc1_3Q923B.png" /></figure><blockquote>For now, file filtering supports exact string matches, but <a href="https://feedback.neo4j.com/data-importer"><strong>we’d love to hear your feedback</strong></a> on the utility of the filtering functionality and other things you’d like to see.</blockquote><p>Data Importer is available in AuraDB Free and Professional — if you don’t have one already, get started with your free instance <a href="https://neo4j.com/cloud/platform/aura-graph-database/">here</a>.</p><p>Data Importer continues to be available as both a standalone app in Workspace and within the Import tab of Neo4j Workspace.</p><p>If you need to use Data Importer against a local dev Neo4j instance, you can continue to use the app hosted <a href="http://data-importer.graphapp.io/">here</a> (for non-certificate secured instances only).</p><p>That’s all for now.</p><p>As always, please head over to <a href="https://feedback.neo4j.com/data-importer">https://feedback.neo4j.com/data-importer</a> to leave us your feedback.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e41e583dfd2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/neo4j-data-importer-introducing-file-filtering-e41e583dfd2a">Neo4j Data Importer — Introducing File Filtering</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Importing Your Data Into Neo4j Just Got Even Easier]]></title>
            <link>https://medium.com/neo4j/importing-your-data-into-neo4j-just-got-even-easier-3712e531ca70?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3712e531ca70</guid>
            <category><![CDATA[importer-data]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[import]]></category>
            <category><![CDATA[graph-database]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Fri, 22 Jul 2022 17:01:12 GMT</pubDate>
            <atom:updated>2022-07-22T17:21:30.496Z</atom:updated>
            <content:encoded><![CDATA[<p>Earlier this year, we introduced a new tool, Data Importer, to help users easily import their flat file data into Neo4j’s graph database without writing a single line of code.</p><p>It works by simply providing your flat file data (CSV or TSV) to the Data Importer web interface, modeling the nodes and relationships visually, and mapping the files to your model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/0*bkWcyhcsFWggwDeX" /></figure><p>In this latest release, we’ve added a “Preview” button to help validate your data model before importing the data into Neo4j, saving you time and increasing overall productivity.</p><p>Check out this video for a quick demo of how Preview works.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2MaclMuLcBA%3Fstart%3D361%26feature%3Doembed%26start%3D361&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2MaclMuLcBA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2MaclMuLcBA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/489461093855010682e7dddf6ce6a993/href">https://medium.com/media/489461093855010682e7dddf6ce6a993/href</a></iframe><p>To keep the Preview as performant as possible we’ve made some optimizations you should be aware of so you understand the subtleties of what you see:</p><ul><li>The tool uses the first few rows of the files associated with relationships to preview up to 300 relationships in total. If the most linked parts of your graph aren’t towards the top of each file, you may not see the depth of connections that materialize in the fuller load.</li><li>We don’t currently preview the properties you have mapped. We show the columns mapped to IDs in the relationships as node properties. So don’t worry if you don’t see the properties you have mapped.</li><li>We currently only preview relationships and their linked nodes. You won’t see it in the preview if you have an isolated node in your model or one that doesn’t yet have a fully mapped relationship. But we’re working to fill that gap in a future release.</li></ul><p>We hope this new feature helps you iterate more quickly, testing out ideas before committing to a full data load.</p><p>Additionally, you’ll notice there have been a few styling changes and minor bug fixes trickling through to make Data Importer tidier and more pleasant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GweejMW3FI0L_bpaannV5Q.png" /></figure><p>As always, you can find the latest version of Neo4j Data Importer from the Neo4j AuraDB console, and it comes with every Free and Professional instance of Neo4j.</p><p>Looking to get started with Neo4j? AuraDB is totally FREE — check it out <a href="http://neo4j.com/aura">here</a>.</p><p>For feedback regarding Neo4j Data Importer, leave your thoughts <a href="https://feedback.neo4j.com/data-importer">here</a>, where you can also upvote other ideas from the community.</p><p>Goodbye for now! We look forward to delivering you the next DevTools update soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3712e531ca70" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/importing-your-data-into-neo4j-just-got-even-easier-3712e531ca70">Importing Your Data Into Neo4j Just Got Even Easier</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Neo4j DevTools “It’s Finally Spring Here” Release ]]></title>
            <link>https://medium.com/neo4j/neo4j-devtools-its-finally-spring-here-release-e2d8d6b7eddb?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2d8d6b7eddb</guid>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[browsers]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[import]]></category>
            <category><![CDATA[desktop]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Wed, 20 Apr 2022 18:57:32 GMT</pubDate>
            <atom:updated>2022-05-17T16:13:00.367Z</atom:updated>
            <content:encoded><![CDATA[<p><em>With winter officially behind us, we at Neo4j have been busy in the workshop sharpening our (Dev)Tools with meticulous precision to bring you the latest releases. In this release, we’ve got new features to further improve your data load experience in the new </em><a href="https://neo4j.com/developer-blog/neo4j-devtools-happy-new-year-new-data-importer-and-neo4j-browser-updates/"><em>Neo4j Data Importer</em></a><em>. Thank you to our wonderful users for all the feedback that we’ve received since its release in February. Without further ado, read on to find out more.</em></p><h3>Improved “Empty ID” Handling</h3><p>In previous releases of Data Importer, we treated empty string fields quite naively when it came to using them as IDs. If we saw an empty string in a file, we treated that as a unique identifier and created a node for it. If your data had many missing IDs, this could easily result in a <a href="https://medium.com/neo4j/graph-modeling-all-about-super-nodes-d6ad7e11015b">supernode</a> with the lonely-looking empty ID appearing in your graph.</p><p>To solve this (and since flat files don’t have a concept of <em>null</em> values) we now treat empty strings as null values when it comes to node IDs. We will filter out rows where the empty string is the ID for a node import — meaning we no longer create a node for those rows.</p><p>Additionally, we now provide a setting for your load configuration that allows you to specify other string values you’d like to be treated as nulls. This could be useful if, for example, you have actual string values like “null” or “undefined” in your ID columns. The setting is specific to your model/mapping and will be exported along with your configuration when you share it with others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/0*vrPBXCtysMiEXcM4" /><figcaption><em>Node ID exclude list setting</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NXPp4amYaYHyVDnW" /><figcaption><em>Generated Cypher that now skips “Empty IDs”</em></figcaption></figure><h3>Improved Representation of Partial Mappings and Errors</h3><p>A key part of using Data Importer is making sure you have your model and mapping correctly defined. For the most part, this means you need to ensure you have all the fields completed in the mapping part of the UI. While the previous version of Data Importer helped with this, it wasn’t always clear from the graph model what was partially mapped, and errors could be a bit “shouty,” painting the graph model red when you hadn’t quite got around to mapping something yet.</p><p>In the latest release, we now show nodes and relationships that you haven’t quite got around to fully mapping yet with a dashed line. So from now on, if you see a dashed line, it’s a good reminder that you haven’t yet provided all the required information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lpR5sA1lx22gHvy7" /></figure><p>If you try to run an import with incomplete mappings, Data Importer will still remind you which parts of your model or mapping require your attention:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rLQEi3juMNBxnRGo" /></figure><h3>Other Improvements</h3><p>We’ve also made a few small improvements to the way load progress is shown (it’s now in the form of a progress bar) and made some subtle changes to buttons and menus.</p><p>Loads that previously failed as a result of a type conversion failures on an id field (e.g. converting the string “Abc” to an Integer) will now behave similarly to properties with an empty string — meaning no nodes will be created where the property used as the ID fails type conversion. We’re considering improving reporting of occurrences like these in the load summary to help you better understand how Data Importer is reacting to sub-optimal data. Feel free to let us know more about what you’d like to see on our <a href="https://feedback.neo4j.com/data-importer">feedback</a> page.</p><h3>And Finally…</h3><p>Patch releases of Neo4j Browser and Desktop also went out recently, addressing a number of bugs. We’ve also been busy working on some big things for the future, and while we can’t quite share full details just yet, rest assured that we’re working on things to make your developer experience smoother than ever. Stay tuned for more updates!</p><p><a href="https://neo4j.com/cloud/platform/aura-graph-database">Start Uploading Your Data to Neo4j AuraDB — No Coding Required</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2d8d6b7eddb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/neo4j-devtools-its-finally-spring-here-release-e2d8d6b7eddb">🐇🌱🌦 Neo4j DevTools “It’s Finally Spring Here” Release 😅</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neo4j DevTools’ Happy New Year: New Data Importer and Neo4j Browser Updates]]></title>
            <link>https://medium.com/neo4j/neo4j-devtools-happy-new-year-new-data-importer-and-neo4j-browser-updates-e21e8a4d24a2?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e21e8a4d24a2</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[browser-update]]></category>
            <category><![CDATA[graph-database]]></category>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[connected-data]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Wed, 23 Feb 2022 20:05:55 GMT</pubDate>
            <atom:updated>2022-05-17T16:11:48.784Z</atom:updated>
            <content:encoded><![CDATA[<h4>Bringing you productivity improvements and easier data loading</h4><p>As we’re nearly at the end of February, it’s a belated <strong><em>Happy New Year</em></strong> from the Neo4j DevTools teams, but we’re pleased to be bringing you our first releases of the year.</p><p>In this update we’ve got the <strong><em>beta launch of Neo4j Data Importer </em></strong><em>and</em><strong><em> new productivity features for Neo4j Browser</em></strong>.</p><h3>🎉 Announcing Data Importer (Beta) 🎉</h3><p>For users new to Neo4j — or those completely new to graph — it can be hard to know where to start when it comes to loading data.</p><p>Neo4j has many capable data load options, whether it be the versatile <a href="https://neo4j.com/developer/guide-import-csv/">LOAD CSV</a> cypher command for online import, APOC procedures for other formats, or <a href="https://neo4j.com/docs/operations-manual/current/tutorial/neo4j-admin-import/">neo4j-admin import</a> to rapidly bootstrap a full database. These tools, as capable as they are, come with a learning curve that can get in the way when you’re just starting out.</p><p>To address this need, we’re launching <strong>Neo4j Data Importer</strong>, a small but capable no-code UI for loading flat file data into your Neo4j databases. Today it provides:</p><ul><li>Support for flat-file inputs (CSV, TSV) in the region of 1 million total rows equivalent*</li><li>The ability to sketch out a graph model and map your input data to its structure and properties</li><li>Loads into any Neo4j database reachable from your machine</li><li>Data is only kept in your web browser; the tool doesn’t use a server side component</li></ul><p>*No upper limit is enforced, but larger loads will take longer and rely on a reliable network connection to your database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*R-DfZl9iIY60G3dLJEUokA.png" /><figcaption>Steps of using Data Importer</figcaption></figure><p>Data Importer is<em> not </em>designed to replace ETL tools or handle production loads, but our focus is on getting your 2-dimensional data files into a graph quickly, so you can realize their full potential.</p><p>It’s available now in AuraDB. <a href="https://neo4j.com/cloud/aura/">Get your free AuraDB instance now</a> if you haven’t already and find Data Importer in the “Open with” menu for your database.</p><blockquote>For self-hosted installs, Data Importer is also available at <a href="https://data-importer.graphapp.io/">http://data-importer.graphapp.io</a> for non-certificate-secured Neo4j instances.</blockquote><p>A brief introduction to Data Importer is also available in the product, or you can watch it here to get a feel for what you can do.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvI2XZOf4hVY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvI2XZOf4hVY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvI2XZOf4hVY%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e4808062c9d9fd3ccc34f5f93f26e5a/href">https://medium.com/media/0e4808062c9d9fd3ccc34f5f93f26e5a/href</a></iframe><p>Once you’ve checked it out, <strong><em>we welcome your feedback via the feedback page</em></strong> in the product header, or you can go straight <a href="https://feedback.neo4j.com/data-importer">there</a>.</p><p><a href="https://neo4j-data-importer.canny.io/feature-requests">Feature Requests | Neo4j Data Importer</a></p><h3>Neo4j Browser</h3><h4>New zoom controls and interactions</h4><p>One of the most upvoted features on our <a href="https://neo4j-browser.canny.io/feature-requests">feedback page</a> for Neo4j Browser is the ability to use scroll interactions to zoom in-and-out of the graph visualization, providing an alternative to the simple zoom buttons.</p><p>With this release, you’ll now be able to use trackpad zoom gestures or a scroll wheel with a modifier key to zoom in and out of the visualization. On Mac you can trigger zoom with ⌘ + scroll and on Windows and Linux ctrl + scroll. The modifier is required in the normal Browser view so we don’t interfere with page scrolling, but in full screen the modifier key isn’t required.</p><p>We’ve also added a handy <strong><em>fit-to-screen feature</em></strong> (underneath the zoom buttons) so that you can instantly fit all nodes into the view — handy when you’re looking to see all your query results on screen at once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QpPB0VXee6vW5nkt_4WWTg.gif" /></figure><p>We hope you’ll find these two small improvements make working with the graph visualization much more convenient and fun.</p><h4>Updated visualization library</h4><p>We’ve made some under the hood upgrades to the d3 visualization library that powers the Browser visualization. You shouldn’t see many differences in the overall layout and interactions, but should find the layouts <strong><em>stabilizes more quickly</em></strong> and have slightly <strong><em>smoother interactions</em></strong> on larger result graphs. Do let us know if you have any comments on our <a href="https://neo4j-browser.canny.io/feature-requests">feedback page</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GnwQdyX4X5zWQjWvp1WK1A.gif" /><figcaption>Rendering 300 nodes — <em>before</em> upgrade</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cyryclFnxKzP38Hb_zChrw.gif" /><figcaption>Rendering 300 nodes — <em>after</em> upgrade</figcaption></figure><h4>Parameter assistance</h4><p>Cypher queries with placeholder inputs are most performant when parameterized. These allow the Neo4j query engine to cache the execution plan. If you’re not familiar with query parameters you can read more about them <a href="https://neo4j.com/docs/cypher-manual/current/syntax/parameters/">here</a>.</p><p>Browser today allows you to declare parameters with the :param command for a single parameter, or the :params command to declare an object of parameters.</p><p>In this release, we’re making it easier for you to construct a params object in the editor. When the query you are trying to execute has undefined parameters, you’ll now see a <em>help link under the error</em> to assist you in setting parameters. Clicking it will construct a :params command for you with pre-existing parameters already set and placeholders for you to populate the missing parameters.</p><p>We hope this will help new users learn the parameter syntax more easily and be an added convenience for experienced users too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWq4f-BDGWYX_w1zvrAx9Q.gif" /><figcaption>Parameter Templates example</figcaption></figure><p>That’s all for this installment. Have fun creating and querying your graphs and we’ll see you soon for more DevTools updates!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e21e8a4d24a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/neo4j-devtools-happy-new-year-new-data-importer-and-neo4j-browser-updates-e21e8a4d24a2">Neo4j DevTools’ Happy New Year: New Data Importer and Neo4j Browser Updates</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Brightening Up Your Development Experience with Neo4j DevTools]]></title>
            <link>https://medium.com/neo4j/brightening-up-your-development-experience-with-neo4j-devtools-2bfc93fb6cb3?source=rss-5764103b4dd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bfc93fb6cb3</guid>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[ide]]></category>
            <category><![CDATA[announcements]]></category>
            <category><![CDATA[cypher]]></category>
            <category><![CDATA[electron]]></category>
            <dc:creator><![CDATA[Greg]]></dc:creator>
            <pubDate>Wed, 27 Oct 2021 15:54:17 GMT</pubDate>
            <atom:updated>2021-10-28T17:32:05.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Kw-5ReIf6clg8693" /><figcaption>Photo by <a href="https://unsplash.com/@r3dmax?utm_source=medium&amp;utm_medium=referral">Jonatan Pie</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The DevTools blog has been a little quiet since my last <a href="https://medium.com/neo4j/new-and-noteworthy-neo4j-developer-tools-bfef5a41b41f">installment</a> back when summer still seemed like a distinct possibility.</p><p><a href="https://medium.com/neo4j/new-and-noteworthy-neo4j-developer-tools-bfef5a41b41f">New and Noteworthy: Neo4j Developer Tools</a></p><p>With the winter nights drawing in for those of us in the Northern hemisphere, we’re back once more to brighten up your development experience. First off, here are our latest updates from Neo4j Browser.</p><h3>New Neo4j Browser Properties Panel</h3><p>For quite some time, properties in the Neo4j Browser graph visualization have been neatly tucked away in a slither of space at the bottom of the graph visualization. Great for keeping out of your way, but at the same time, not the easiest thing to work with when dealing with more than a handful of properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*zETAGU2_gaCXvOKdNQSNww@2x.png" /><figcaption>Previous Overview (1) and Properties (2) UI</figcaption></figure><p>To help you inspect property-rich nodes or relationships more easily, we’re now presenting them in their own dedicated side-panel. We’ve also moved the Overview and Styling information, which was previously split between the top and bottom, to this new panel.</p><p>The Overview will show when you have no nodes selected or hovered and displays the labels and types present in the current graph visualization. From here you can choose to restyle them, by clicking on any of them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n14vIULWQfWYE1EI.gif" /><figcaption>Restyle the visualisation from the Overview</figcaption></figure><p>Once you <em>hover</em> or <em>select</em> a node or relationship, its properties are displayed in the new panel. You can change styling from this view too, just as you can in the Overview. The panel can be collapsed or resized if you need to ajdust the space available for your graph visualization.</p><p>The panel’s last expand/collapse state will be remembered and subsequent result frames will observe that latest state, ensuring the panel is always where you need it to be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tbSyBT-Qi1W-7UJgFyu3Pg.gif" /><figcaption>View node and relationship properties</figcaption></figure><p>Property names and values can now be quickly copied, either individually or in bulk for use elsewhere:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vry6ZEKiZ5YhWbeC.gif" /><figcaption>Copy properties</figcaption></figure><p>And finally, to help you understand the <strong>data type</strong> of a property, <em>hovering</em> a property will now reveal its type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PBdzFo4-ZwOIz-Lm.gif" /><figcaption>Inspect property data types</figcaption></figure><h3>Help Make Neo4j Browser Better</h3><p>We’ve optionally been collecting product analytics data from our Browser users running in Neo4j Desktop for some time and we’re now rolling this out more widely to other areas you may run Browser.</p><p>When you run Neo4j Browser outside of Desktop for Aura, you’ll now be informed that you’ve opted into product analytics. This helps us make Browser better, but you will of course be given the option to opt-out. When running in Desktop and Aura, product analytics settings will continue to be managed by those applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aJtzPKT3uM7DXYMk.png" /></figure><h3>Browser Fixes and Improvements</h3><p>We’ve also taken the opportunity to make fixes and improvements that you’ve been suggesting over at our <a href="https://neo4j-browser.canny.io/">Feedback site</a>. Don’t forget to head over there and leave your own feedback or upvote existing requests.</p><p><a href="https://neo4j-browser.canny.io/">Neo4j Browser Feedback</a></p><p>If you’ve ever noticed that <em>navigating the cursor</em> between wrapped lines in long Cypher queries was odd, you’ll now see much more conventional cursor movements between lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*N9zqC24sxqvmy2dx.gif" /></figure><p>When complex structures (e.g. a node with all its properties) are returned and viewed in the table view, we now <em>wrap less</em> and make better use of horizontal space. There’s also a handy <em>copy shortcut</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JXlYrSgybJ-uTt1a.png" /></figure><p>When you <em>arrange favorites</em> into folders, you can now export the entire folder to a zip or file of your queries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/0*wtwhA2r7Aef_owG0.png" /></figure><p>And finally, an issue that caused the <em>bottom bar of the result visualisation</em> to disappear in fullscreen mode has been fixed. You can now enjoy fullscreen mode in all its glory again.</p><h3>Neo4j Desktop</h3><p>Meanwhile over in Neo4j Desktop, we’ve been making a few UI tweaks and addressing a slew of fixes and improvements…</p><h4>View Cached Databases</h4><p>If you ever wonder what databases lie within a 4.x DBMS you haven’t used for a while, you can now find out <em>without </em>needing to start it. We now cache the databases in your 4.x DBMSs so you can easily see which databases they contain without starting them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*jHnfciluHgfy9mXmjxr4hA@2x.png" /><figcaption>Cached databases in a stopped DBMS</figcaption></figure><p>We hope this saves you a bit of time stopping and starting DBMSs to find things.</p><h3>New UI Styling</h3><p>A few small changes to UI colors and fonts have now been made to better align with the latest Neo4j branding:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M8O2J_FIpHA7ktz0RL1Zag.png" /><figcaption>New Desktop UI Styling</figcaption></figure><h3>Sample Projects Can Now Install Plugin Dependencies</h3><p>The plugins (e.g. APOC, graph-data-science, neosemantics etc.) required by some sample projects can now be installed automatically, removing the need to do this as a manual step.</p><p>We’ve also extended the available sample projects for you to explore, available under:</p><blockquote>Projects &gt; + New &gt; Import sample project</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9pXQAaXO6pENuzXnwY3V4A.png" /><figcaption>Install sample projects (now with plugins!)</figcaption></figure><h3>Neo4j Desktop Bug Fixes and Improvements</h3><p>We’ve done a bit of cleanup since the summer, making various fixes and improvements to Neo4j Desktop thanks to the feedback we’ve received at our <a href="https://neo4j-desktop.canny.io/">Feedback page</a>.</p><p><a href="https://neo4j-desktop.canny.io/">Neo4j Desktop Feedback</a></p><ul><li>You can now view graph apps release notes from a link in the sidebar after you’ve installed them, as well as before updating them.</li><li>Desktop now allows you to create database names with hyphens.</li><li>Deleted graph apps are now removed from the disk to free up space.</li><li>Desktop now gives better OS compatibility check information for fresh installs.</li><li>In the event Desktop application metadata becomes corrupted, Desktop will now start and provide more information.</li><li>Improvements have been made to the reliability of offline bundled app installations.</li><li>Windows users will now be warned if PowerShell (required for Neo4j Desktop) is not installed.</li><li>Windows users will now only see the File Explorer presented once when using Open Data Path.</li><li>The correct Database is now dumped from started DBMSs and given the correct Database name in the dump file.</li><li>We fixed an issue that prevented graph apps from opening when they had an update pending.</li></ul><p>Thanks for reading this bumper installment and we look forward to bringing you more news from DevTools in the near future.</p><p>Stay safe, keep warm, and stay productive!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bfc93fb6cb3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo4j/brightening-up-your-development-experience-with-neo4j-devtools-2bfc93fb6cb3">Brightening Up Your Development Experience with Neo4j DevTools</a> was originally published in <a href="https://medium.com/neo4j">Neo4j Developer Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>