1. A method for operating a virtual assistant on an electronic device, the method comprising: receiving an audio input comprising user speech; converting the user speech of the audio input into a textual representation of the user speech; determining a primary user intent for the textual representation; identifying a first type of concept referred to by the primary user intent; identifying a first substring from the textual representation 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 and the secondary user intent for the first substring.