This is a try at using the Mark Logic database. Mark Logic on the bottom, Node in the middle, and Angular on top.