Graph database for reaction data