For each of the following groups of query rules, select the alternative that is equivalent to the first rule in the group.
|
(c) |
goal(X,Y,Z) :- p(X,Y) & q(Y) & q(Z) & q(W) |
|
|
goal(X,Y,Z) :- p(X,Y) & q(Y) & q(Z) |
|
|
goal(X,Y,Z) :- p(X,Y) & q(Y) & q(W) |
|
|
goal(X,Y,Z) :- p(X,Y) & q(Z) & q(W) |
|
|