Learning Role-based Graph Embeddings