UGC-NET Jun 2013 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0046

Horn clauses are special kinds of propositions which can be described as
  1. A
    Single atomic proposition on left side
  2. B
    Single or multiple atomic proposition on left side
  3. C
    A single atomic proposition on left side and a single atomic proposition on right side
  4. D
    A single atomic proposition on left side or an empty left side

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionA Horn clause has at most one positive literal. Written as a rule \(H \leftarrow B_1\wedge\dots\wedge B_n\), it has either a single atomic proposition as the head (left side), which gives a fact or rule, or an empty head, which gives a headless goal or query clause.(A) leaves out the headless case — incomplete.(B) Multiple atoms on the left side would mean more than one positive literal, which is not Horn — incorrect.(C) The right side can hold any number of atoms — incorrect.Answer: D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com