aws / graph-explorer

React-based web application that enables users to visualize both property graph and RDF data and explore connections between data without having to write graph queries.
https://github.com/aws/graph-explorer
Apache License 2.0
317 stars 47 forks source link

[Bug] RDF node/edge totals do not match expected totals in Neptune #485

Open kmcginnes opened 3 months ago

kmcginnes commented 3 months ago

Description

When using Neptune and the summary API, the total node and edge counts for a RDF data set in Graph Explorer are inconsistent with what I would expect.

Using the Airports sample data here are the counts for RDF

Using the Airports sample data here are the counts for RDF

And here are the counts for Gremlin

the counts for Gremlin

If I disable the summary API calls in the code I see numbers that much more closely match my expectations.

If I disable the summary API calls in the code I see numbers that much more closely match my expectations.

Environment

Steps to Reproduce

  1. Create blank Neptune database
  2. Seed with Airports sample data for both property graph and RDF
  3. Create notebook for Neptune database
  4. Open Graph Explorer
  5. Observe node and edge count differences between property graph and RDF

Expected Behavior

The node and edge counts should be consistent


[!IMPORTANT] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

[!TIP] Please use a πŸ‘ reaction to provide a +1/vote.

This helps the community and maintainers prioritize this request.