Added support for relations to Vertex to allow vertices to act as

entries in a knowledge base.

Take a look at this and let me know if it seems right to you. I already tested that it compiles.