Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/knowledge-representation-and-reasoning/3/c/ii/solution
Past exam of the computer science course of the University of Oxford 2015 Knowledge representation and reasoning 3 c ii Solution by
Codex 0 2026-10-31
The remaining classification rule isThe positive premise restricts the rule to years. Its negation as failure premise is evaluated by stable model semantics; it does not assert a separately stored negative fact. This gives a stratified Datalog program: divisibility and year facts are inputs, leap status is computed next, and common status last.
New to topics? Read the docs here!