mlsanityData to 14 Oct 2026

CSQL: Mapping Documents into Causal Databases

arXiv 2601.08109 ↗First posted 13 Jan 2026cs.DB cs.AI cs.IRcited by 0

Not on the map. Why?

Abstract (arXiv)

We describe a novel system, CSQL, which automatically converts a collection of unstructured text documents into an SQL-queryable causal database (CDB). A CDB differs from a traditional DB: it is designed to answer "why'' questions via causal interventions and structured causal queries. CSQL builds on our earlier system, DEMOCRITUS, which converts documents into thousands of local causal models derived from causal discourse. Unlike RAG-based systems or knowledge-graph based approaches, CSQL supports causal analysis over document collections rather than purely associative retrieval. For example, given an article on the origins of human bipedal walking, CSQL enables queries such as: "What are the strongest causal influences on bipedalism?'' or "Which variables act as causal hubs with the largest downstream influence?'' Beyond single-document case studies, we show that CSQL can also ingest RAG/IE-compiled causal corpora at scale by compiling the Testing Causal Claims (TCC) dataset of economics papers into a causal database containing 265,656 claim instances spanning 45,319 papers, 44 years, and 1,575 reported method strings, thereby enabling corpus-level causal queries and longitudinal analyses in CSQL. Viewed abstractly, CSQL functions as a compiler from unstructured documents into a causal database equipped with a principled algebra of queries, and can be applied broadly across many domains ranging from business, humanities, and science.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 28 references that are in the map. First posted on arXiv 13 Jan 2026.

Builds on

12 of 28 references.

References · 12

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2018DAGs with NO TEARS: Continuous Optimization for Structure Learningcited by 752
  4. 2020Knowledge Graphscited by 621
  5. 2019A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statisticscited by 56
  6. 2017Backprop as Functor: A compositional perspective on supervised learningcited by 44
  7. 2024Position: Categorical Deep Learning is an Algebraic Theory of All Architecturescited by 32
  8. 2024Multi-Agent Causal Discovery Using Large Language Modelscited by 26
  9. 2021A Survey on Extraction of Causal Relations from Natural Language Textcited by 25
  10. 2025Large Causal Models from Large Language Modelscited by 8
  11. 2025Intuitionistic j-Do-Calculus in Topos Causal Modelscited by 5
  12. 2024GAIA: Categorical Foundations of Generative AIcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024CausalGraph2LLM: Evaluating LLMs for Causal Queries
  2. 2024Large Language Models for Constrained-Based Causal Discovery
  3. 2025Causal Cartographer: From Mapping to Reasoning Over Counterfactual Worlds
  4. 2023Causal Reasoning and Large Language Models: Opening a New Frontier for Causality
  5. 2026Leveraging Large Language Models for Causal Discovery: a Constraint-based, Argumentation-driven Approach
  6. 2023Causal Structure Learning Supervised by Large Language Model
  7. 2024Causal Inference with Large Language Model: A Survey
  8. 2026CausalAgent: A Conversational Multi-Agent System for End-to-End Causal Inference