This diagram shows the structural relationship between web front-ends, command-line tools, Python modules, query language, and database back-ends as they all relate to the task of mining the database (querying).
Image source (OmniGraffle): workflow_query_architecture.graffle