From a quick scan, it sounds like you re-invented a lot of the concepts of semantic data, just with different terminology and a different text format. (RDF, triples, ...)
We are aiming at roughly the same problem. Our implementation has solved some important details.
:)