Adding recursive rules
Extend the knowledge base so that sentences can be conjoined by
and. So, Prolog should accept sentences like the nurse
whistles and the bride sleeps or the nurse whistles and
the bride sleeps and gogo fights.
Hint
Extend the knowledge base so that nouns can be modified by adjectives. That is, it should be able to handle noun phrases like
- the sharp sword
- the sharp pointy sword
- the long sharp pointy sword