General
Material
Lecture 1
Lecture 2
Lecture 3
Lecture 4
Lecture 5

Hint

Nouns can be modified by any number of adjectives. So, we again need recursion to model it. To come up with the rules first decide what kind of syntactic structure you would like to give to the noun phrases the red ball and the big red ball, then formulate DCG rules which correspond to this structure. There are several possibilities.

Solution

Back to the exercise.