The flexibility of case grammar representations: a porting procedure for natural language interfaces