Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to visualize the output of a graph query (Gremlin or SPARQL) as nodes and edges in Amazon Neptune? [closed]

GREMLIN and SPARQL only define the APIs for graph queries. How do I use the API responses and and plot that as an actual graph, with edges and vertices? Is there something like MySQL Workbench for graphs?

like image 302
The-Big-K Avatar asked Oct 17 '18 05:10

The-Big-K


People also ask

How do you visualize a Neptune graph?

Neptune workbench creates a visualization of the query results for any Gremlin query that returns a path . To see the visualization, select the Graph tab to the right of the Console tab under the query after you run it.

What is Gremlin Neptune?

Amazon Neptune is a fully managed graph database service engine optimized for storing billions of relationships and querying the graph with milliseconds latency.

Is Neptune based on Neo4j?

In spite of being compatible in many ways, Neptune is not a drop-in replacement for Neo4j. Neptune is a fully managed graph database service with enterprise features like high availability and high durability that is architecturally different from Neo4j.

Which of the following query languages does Neptune support?

Neptune supports the popular graph query languages Apache TinkerPop Gremlin, the W3C's SPARQL, and Neo4j's openCypher, enabling you to build queries that efficiently navigate highly connected datasets.


1 Answers

UPDATE: As of Nov 2019, Neptune launched Workbench, which is a Jupyter based visualization for Gremlin and SPARQL.

UPDATE: As of Aug 2020, Neptune Workbench extended support for visualizing graph data as nodes and edges in addition to tabular representation that was previously supported.

https://aws.amazon.com/about-aws/whats-new/2019/12/amazon-neptune-workbench-provides-in-console-experience-to-query-your-graph/

https://aws.amazon.com/about-aws/whats-new/2020/08/amazon-neptune-announces-graph-visualization-in-neptune-workbench/

Neptune Workbench basically is a Sagemaker instance preconfigured with extensions to help execute Gremlin and SPARQL queries, as well as other Neptune APIs like /loader, /status etc. You can easily create these notebooks from the Neptune console. There are no additional charges for the workbench, apart from the Sagemaker costs incurred by the notebook. These notebooks do support Start and Stop APIs, thereby making it possible for you to enable them only when you need it.

A very recent blog post walking you through some of the features: https://aws.amazon.com/blogs/database/visualize-query-results-using-the-amazon-neptune-workbench/

SPARQL: SPARQL1 Sparql Query GREMLIN: Gremlin1 Gremlin2 Gremlin Query

like image 123
The-Big-K Avatar answered Sep 30 '22 18:09

The-Big-K