1. A method for operating a virtual assistant on an electronic device, the method comprising: receiving a textual representation of user speech; determining a primary user intent for the textual representation of user speech; identifying a first type of concept referred to by the primary user intent; identifying a first substring from the textual representation of user speech corresponding to the first type of concept; determining a secondary user intent for the first substring; and performing a task flow comprising one or more tasks based at least in part on the primary user intent for the textual representation of user speech and the secondary user intent for the first substring.