Predicting clinical outcomes from patient care pathways represented with temporal knowledge graphs