Objection's `insertGraph` should make this pretty straightforward, though identifying relations could be tricky?