Sparse Polynomial Learning and Graph Sketching