View source with
raw comments
or as
raw
1
p
(
X
)
:-
not
q
(
X
,
Y
)
.
2
q
(
X
,
Y
)
:-
not
p
(
X
)
,
s
(Y)
.
3
r
:-
q
(C, C)
.
4
s
(
_
)
.
5
:-
p
(X)
,
Z
\=
7
,
q
(Z,
0
)
.