Knowledge-based Artificial Intelligence for Agroecosystem Carbon Budget and Crop Yield Estimation