A court in Thiruvananthapuram has sentenced a 43-year-old man to 47 years of rigorous imprisonment after convicting him in a case under the POCSO Act.