FactorBase: Learning Graphical Models from multi-relational data. The source code repository for the FactorBase system. The code in this repository implements the learn-and-join algorithm (see algorithm paper on ”Learning Graphical Models for Relational Data via Lattice Search”). Input: A relational schema hosted on a MySQL server. Output: A Bayesian network that shows probabilistic dependencies between the relationships and attributes represented in the database. Both network structure and parameters are computed by the system.