20. One or more non-transitory computer-readable storage media having stored thereon computer-executable instructions which when executed by a computer cause the computer to perform a method, the method comprising: receiving natural language input at a computing device; processing the natural language input in cascaded conditional random fields comprising a linear-chain conditional random field and a skip-chain conditional random field to obtain an output from the cascaded conditional random fields, wherein: the linear-chain conditional random field is used to extract entity information; the skip-chain conditional random field is used to extract relationship information; and the skip-chain conditional random field is sequential to the linear-chain conditional random field so that an output of the linear-chain conditional random field is an input to the skip-chain conditional random field, wherein the linear-chain conditional random field and the skip-chain conditional random field are trained using a training dataset comprising entity labels and relationship labels; and based on the output from the cascaded conditional random fields, forming a database query, wherein forming the query comprises determining a query type, wherein the query type is at least one of a range query, a logical query, a join query, or an aggregate query, and wherein the query is based at least in part on the query type.
25. The computer-readable storage media of claim 20 , wherein the output comprises entity information and relationship information.