Leveraging Knowledge Graphs and Large Language Models to Track and Analyze Learning Trajectories