From 9bfc76379fd05b801b206bc27050a77248285528 Mon Sep 17 00:00:00 2001 From: Kevin Phillips <52177911+kevinphillips81@users.noreply.github.com> Date: Thu, 8 Jun 2023 17:01:28 +0100 Subject: [PATCH 1/2] Resolved openCypher query issue Resolved "Variable `n` already declared (line 3, column 9 (offset: 46))" issue. --- .../01-Getting-Started/01-About-the-Neptune-Notebook.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graph_notebook/notebooks/01-Getting-Started/01-About-the-Neptune-Notebook.ipynb b/src/graph_notebook/notebooks/01-Getting-Started/01-About-the-Neptune-Notebook.ipynb index ea9b190f..282a5bfb 100644 --- a/src/graph_notebook/notebooks/01-Getting-Started/01-About-the-Neptune-Notebook.ipynb +++ b/src/graph_notebook/notebooks/01-Getting-Started/01-About-the-Neptune-Notebook.ipynb @@ -272,9 +272,9 @@ "source": [ "%%oc\n", "\n", - "CREATE (n:Language {name:\"Gremlin\"})\n", - "CREATE (n:Language {name:\"Cypher\"})\n", - "CREATE (n:Language {name:\"SPARQL\"})" + "CREATE (a:Language {name:\"Gremlin\"})\n", + "CREATE (b:Language {name:\"Cypher\"})\n", + "CREATE (c:Language {name:\"SPARQL\"})" ], "metadata": { "collapsed": false, From 0dc7221d9a72d0435195280a7cc436d159211e02 Mon Sep 17 00:00:00 2001 From: Kevin Phillips <52177911+kevinphillips81@users.noreply.github.com> Date: Thu, 29 Jun 2023 07:58:44 +0100 Subject: [PATCH 2/2] Update 01-Building-an-Identity-Graph-Application.ipynb Updated the install folder path for the seed data to include the gremlin folder --- .../01-Building-an-Identity-Graph-Application.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graph_notebook/notebooks/03-Sample-Applications/03-Identity-Graphs/01-Building-an-Identity-Graph-Application.ipynb b/src/graph_notebook/notebooks/03-Sample-Applications/03-Identity-Graphs/01-Building-an-Identity-Graph-Application.ipynb index d463fa1e..f49508dc 100644 --- a/src/graph_notebook/notebooks/03-Sample-Applications/03-Identity-Graphs/01-Building-an-Identity-Graph-Application.ipynb +++ b/src/graph_notebook/notebooks/03-Sample-Applications/03-Identity-Graphs/01-Building-an-Identity-Graph-Application.ipynb @@ -59,8 +59,8 @@ "%%bash\n", "\n", "GRAPH_NOTEBOOK_INSTALL_PATH=`pip show graph-notebook | grep \"Location\" | cut -d ' ' -f2`\n", - "mkdir $GRAPH_NOTEBOOK_INSTALL_PATH/graph_notebook/seed/queries/propertygraph/identity\n", - "cd $GRAPH_NOTEBOOK_INSTALL_PATH/graph_notebook/seed/queries/propertygraph/identity\n", + "mkdir $GRAPH_NOTEBOOK_INSTALL_PATH/graph_notebook/seed/queries/propertygraph/gremlin/identity\n", + "cd $GRAPH_NOTEBOOK_INSTALL_PATH/graph_notebook/seed/queries/propertygraph/gremlin/identity\n", "curl -s \"https://aws-admartech-samples.s3.amazonaws.com/identity-graph-notebook-data/idgraph.zip\" > \\\n", " ./idgraph.zip\n", "unzip ./idgraph.zip\n",