lectures(monday, nolecture).
lectures(tuesday, vp).
lectures(tuesday, se).
lectures(tuesday, ddbms).
lectures(wednessday, ds).
lectures(wednessday, mpl).
lectures(thursday, vp).
lectures(thrusday, se).
lectures(friday, ds).
lectures(friday, mpl).
lectures(saturday, ai).
lectures(saturday, ddbms).
?- lectures(friday, X), write(X),nl.
问询仅作为ds的第一记录印发,我希望在特定日即星期五印发所有记录,结果应为ds和mpl。
各位