Data-Driven Semiconducting Nanomaterials Design For Energy Applications