% "Learn Prolog Now!"  Exercise 2.3
% Rewritten using Definite Clause Grammar rules
% Parsing and extracting a verb from the sentence

sentence(V) --> article, noun, verb(V), article, noun.
article --> [a] | [every].
noun --> [criminal] | ['big kahuna burger'].
verb(Verb) --> [Verb].

