symptom(runny_nose,flu).
symptom(fever,flu).
symptom(fever,hepatitis).
symptom(chills,flu).
symptom(chills,hypothermia).
symptom(aches,flu).
symptom(rash,hepatitis).

has_symptom(john,fever).
has_symptom(john,runny_nose).
has_symptom(mary,chills).
has_symptom(mary,rash).


has_condition(Person,Condition):-symptom(Symptom,Condition),has_symptom(Person,Symptom).
