Interpreting natural language queries into methods/functions