This sounds like a challenge but also fun if you get it solved.
Let me know if the procedures in APOC for loading from relational databases and XML are helpful for you.
There are a bunch of talks that I linked in other places on this topic, that might be interesting to you: