Posted On: Mar 13, 2023

Amazon Neptune now supports graph summary API to help you understand important metadata about your property graphs (PG) and Resource Description Framework (RDF) graphs. Starting with engine version 1.2.1.0, you can use the graph summary API to retrieve estimated counts for your nodes, edges, and properties or incorporate the API into your graph applications for fast access to summary data about your graph.

Amazon Neptune is a fast, reliable, and fully managed service that helps you build and run applications that work with highly connected datasets, such as knowledge graphs, fraud graphs, identity graphs, and security graphs. Using the graph summary API, customers can quickly gain a high-level understanding of their data size and content by reading the count of nodes, edges, subjects, or predicates as well as labels and classes for a wide variety of graphs on Neptune. For example, you can interactively get graph summary data within a Neptune notebook using the `%summary' Neptune Workbench magic. You can also use the graph summary API response with your graph applications to improve search results by providing discovered node or edge labels as part of the search. Graph summary data is automatically generated when DFE statistics is computed by Neptune. You can also manually update the summary response using the DFE statistics API in refresh mode.

To get started, upgrade your Neptune cluster to engine version 1.2.1.0 and run the graph summary API using the Neptune Workbench or a HTTPS client. For more information about the graph summary API, check out the Amazon Neptune User Guide. There are no additional charges to use this feature, beyond what you pay for using Neptune resources. The graph summary API is available in all the Amazon Web Services regions where Amazon Neptune is available, including the Amazon Web Services China (Beijing) Region, operated by Sinnet and the Amazon Web Services China (Ningxia) Region, operated by NWCD.