Patent ID: 10268756

Abstract:
An approach is provided for classifying natural language input into plurality of query processing levels. The approach involves parsing at least one natural language input into one or more words, wherein the at least one natural language input represents at least one cartographic query. The approach also involves mapping the one or more words to at least one function of a cartography system. The approach further involves determining an availability of the at least one function, one or more parameters associated with the at least one function, or a combination thereof with respect to at least one component of the cartography system. The approach also involves classifying the at least one cartographic query into at least one of a plurality of query processing levels based, at least in part, on the availability. The approach further involves initiating an execution of the at least one function at the classified at least one query processing level, wherein the execution of the at least one function generates one or more results of the at least one cartographic query based, at least in part, on the one or more parameters. The approach also involves causing, at least in part, a presentation of the one or more results as cartographic information in a user interface of the cartography system.