If $x$ is a possible world (relational database) and $x_l$ is the $l$th ground atom's truth value,
the pseudo-log-likelihood of $x$ given weights $w$ is