Nice. I'm making this whole thing from scratch. I would consider Neo4j as a necessary component of such a relay. Can your relay be made to use it as a backend?
I plan on writing the neo4j and wot libraries in golang, but because each repository will be small and focused, it'll be easy to port to any other relay/language.