I just posted this on HN this morning and was looking through "new" but I'm trying to solve this exact problem:
Edit:
I truly believe this is solvable just like we're doing for natural language but with code/schema/etc! Relational, document, graph, vector!