A core functionality that generate formal representation of natural language queries.