|
48 | 48 | "id": "6d4a6f0f", |
49 | 49 | "metadata": {}, |
50 | 50 | "source": [ |
51 | | - "Let's start by first validating the connection by checking the status API endpoint of your graph." |
| 51 | + "Run the below commands one at a time. Let's start by first validating the connection by checking the status API endpoint of your graph." |
52 | 52 | ] |
53 | 53 | }, |
54 | 54 | { |
|
93 | 93 | "metadata": {}, |
94 | 94 | "source": [ |
95 | 95 | "## Set data source s3 bucket\n", |
96 | | - "The cell below list buckets in your Amazon S3. Please input the s3 bukcet location for the Neptune s3 bulk import." |
| 96 | + "The cell below list the Amazon S3 buckets. " |
97 | 97 | ] |
98 | 98 | }, |
99 | 99 | { |
|
109 | 109 | "!aws s3 ls" |
110 | 110 | ] |
111 | 111 | }, |
| 112 | + { |
| 113 | + "cell_type": "markdown", |
| 114 | + "id": "c68a7a0f", |
| 115 | + "metadata": {}, |
| 116 | + "source": [ |
| 117 | + "Before running the below command, please replace '<account_id>' with the aws account id. Refer the Amazon S3 bucket name from previous list command." |
| 118 | + ] |
| 119 | + }, |
112 | 120 | { |
113 | 121 | "cell_type": "code", |
114 | 122 | "execution_count": null, |
|
118 | 126 | }, |
119 | 127 | "outputs": [], |
120 | 128 | "source": [ |
121 | | - "# input your neptune bulk import data source in Amazon S3 (e.g. mfg-digitalthread-data-<account_id>)\n", |
| 129 | + "# input your neptune bulk import data source in Amazon S3 (e.g. mfg-digitalthread-data-<account_id>). Make sure to replace the <account_id>\n", |
122 | 130 | "s3_bucket = \"mfg-digitalthread-data-<account_id>\"\n", |
123 | 131 | "s3_source = f\"s3://{s3_bucket}/sample_data\"" |
124 | 132 | ] |
|
142 | 150 | "metadata": {}, |
143 | 151 | "source": [ |
144 | 152 | "## Load data \n", |
145 | | - "The cell below loads the sample into your Neptune cluster. When you run the cell it will automatically install the `mfg_digital_thread` dataset into your graph which takes a few minutes." |
| 153 | + "The cell below loads the sample digital thread data into your Neptune cluster. When you run the cell it will automatically install the `mfg_digital_thread` dataset into your graph which takes a few seconds." |
146 | 154 | ] |
147 | 155 | }, |
148 | 156 | { |
|
158 | 166 | "%load -f csv -s {s3_source}/vertices --run " |
159 | 167 | ] |
160 | 168 | }, |
| 169 | + { |
| 170 | + "cell_type": "markdown", |
| 171 | + "id": "8dc4f646", |
| 172 | + "metadata": {}, |
| 173 | + "source": [ |
| 174 | + "Please wait until the vertices are loaded successfully!!!!" |
| 175 | + ] |
| 176 | + }, |
161 | 177 | { |
162 | 178 | "cell_type": "code", |
163 | 179 | "execution_count": null, |
|
171 | 187 | "%load -f csv -s {s3_source}/edges --run" |
172 | 188 | ] |
173 | 189 | }, |
| 190 | + { |
| 191 | + "cell_type": "markdown", |
| 192 | + "id": "7b5d7c62", |
| 193 | + "metadata": {}, |
| 194 | + "source": [ |
| 195 | + "Please wait until the edges are loaded successfully!!!!" |
| 196 | + ] |
| 197 | + }, |
174 | 198 | { |
175 | 199 | "cell_type": "code", |
176 | 200 | "execution_count": null, |
|
188 | 212 | "metadata": {}, |
189 | 213 | "source": [ |
190 | 214 | "# Verify data\n", |
191 | | - "The cell below list the summary of the Neptune Graph database. Suppose the nodes and edges are successfully imported into it." |
| 215 | + "Please wait for 2 minutes before running the summary command. Summary command lists the nodes and edges imported into the Neptune Graph database. " |
192 | 216 | ] |
193 | 217 | }, |
194 | 218 | { |
|
209 | 233 | "metadata": {}, |
210 | 234 | "source": [ |
211 | 235 | "# Visualize the graph\n", |
212 | | - "The cell below try to figure out the graph with all vertices and edges with node properties. Please click on \"Graph\" tab to view the graph." |
| 236 | + "The cell below displays the graph with the vertices and edges along with the properties. Please click on \"Graph\" tab to view the graph." |
213 | 237 | ] |
214 | 238 | }, |
215 | 239 | { |
|
235 | 259 | "metadata": {}, |
236 | 260 | "source": [ |
237 | 261 | "# Query the graph\n", |
238 | | - "The cells below try to query the graph using OpenCypher." |
| 262 | + "The below opencypher queries are just sample queries. It is not mandatory to run these queries as part of this workshop." |
239 | 263 | ] |
240 | 264 | }, |
241 | 265 | { |
|
0 commit comments