Towards joint graph learning and sampling set selection from data