Temporal reasoning and query answering with preferences and probabilities for medical decision support