In pure Prolog, a predicate without any arguments can only work with success or failure (or fail in all).
, . , , : true/0, zero , , : false/0, . , , .
, , , .
, . , , < > . , , .
, Prolog , .
, :
, , :
cancer(Patient):-
patient_pain(Patient, strong),
patient_mood(Patient, depressed),
patient_fever(Patient, mild),
patient_bowel(Patient, bloody),
patient_miscellaneous(Patient, giddy).
, , , , .
, , , Prolog query ..
, , , patient_diagnosis/2, . , , .
: , , , , . , " " " ", , , .
. logical-purity.