this is a pretty interesting workflow. I was indeed thinking how one would integrate Souffle into a bigger application.
It illustrates how you can have the Souffle program load its data from SQLite databases, or how you can work with tuples and relations from Go.