Can we distill the story into something to feed z3 to prove there are no plot holes?
It is a systematic approach to deconstructing and composing a story through standardized schemas, and sounds like it should or would inform something like the OP's visual representation system.
"Narrative fallacies arise inevitably from our continuous attempt to make sense of the world. The explanatory stories that people find compelling are simple; are concrete rather than abstract; assign a larger role to talent, stupidity, and intentions than to luck; and focus on a few striking events that happened rather than on the countless events that failed to happen. Any recent salient event is a candidate to become the kernel of a causal narrative.” Daniel Kahnemann Thinking Fast and Slow
“The same science that reveals why we view the world through the lens of narrative also shows that the lens not only distorts what we see but is the source of illusions we can neither shake nor even correct for…all narratives are wrong, uncovering what bedevils all narrative is crucial for the future of humanity.” Alex Rosenberg How History Gets Things Wrong: The Neuroscience of Our Addiction to Stories 2018
http://inception-explained.com
It was created shortly after the film's release, about 15 years ago, and requires a desktop viewport. Highly recommended!