Embedding Knowledge Graph in Function Spaces