Parse and generate sqlite for weak deps. data.