weather(bad) :- temperature(low), cloud(high), visibility(low). weather(good) :- temperature(high), cloud(low), visibility(high). weather(unsure). temperature(low). cloud(high). visibility(low).