Before revision:  This is an unsupervised way to learn general-purpose graph representations, it can be used for both graph sketching and graph comparison.
After revision:  This is an unsupervised way to learn general-purpose graph representation, applicable to both graph sketching and graph comparison.