Validcc.pro Apr 2026
% This is a comment in Prolog
% Rules sibling(X, Y) :- father(Z, X), father(Z, Y), X \= Y. This example defines a simple family relationship with a fact about a father and two children, and a rule to determine if two people are siblings. validcc.pro
% Facts father(david, john). father(david, emily). % This is a comment in Prolog %