Question parser

Prolog question parser.