The goal is to introspect the internal predicate that stores the schema, extract the AST in graph format, and persist it to disk.