Inspiration
A graph query that returns no rows leaves a simple but frustrating question: what part of the path is missing? I wanted to make that result easier to investigate. Inspired by work on query provenance and tools that explain why results exist, I explored the other side: what could explain a result that is absent?
What it does
GraphBusters checks a requested path through a graph. If the path is missing, it tests possible relationships one at a time and shows which ones would make the query return a result. Each proposed change is temporary and rolled back. The app also shows supporting edges and provenance, and can analyze graphs imported from JSON or CSV.
How we built it
The core is written in Rust. Built-in examples use Relate to create and query synthetic graphs, testing each proposed relationship in its own transaction. The browser UI is served by an Axum web server. Imported graphs are checked using temporary in-memory copies, with per-session storage in the hosted version.
Challenges I ran into
The biggest challenge was making sure a test never changed the original graph. Another was keeping candidate relationships clearly labeled as possibilities, not facts. We also had to validate imported data and use each graph’s own node IDs and labels so the path editor would not carry over stale demo values.
Accomplishments that we're proud of
Built a working CLI and browser demo with five scenarios, JSON and CSV imports, a path editor, a visual path diagnosis, and provenance for imported edges. The app is deployed on Render, and its suggested changes are tested without being saved.
What I learned
An explanation needs to show more than a possible answer. It should show the evidence, what was tested, and whether the original data stayed unchanged. We also learned to be clear about the limits: GraphBusters tests one added relationship at a time, so it cannot find explanations that require multiple changes.
What's next for Ghost Busters
We’d like to support branching paths, property filters, and multi-step explanations. We also want to add more graph rules and benchmark cases to measure how well the approach works.