In this research, first, we reviewed main types of spatial query questions, spatial referencing, and Chinese natural language processing. Second, We collected everyday spatial query sentences, extracted the main composition elements and concluded several kinds of main query sentence type. Finally, in natural language processing, we process word segmentation by dictionary approach and set the processing semantic and syntax rules.
We take a case study on Food and Beverage service of TaiAn District in Taipei. Users can type natural language sentence and then execute spatial query. After executing word segmentation, semantic and syntax processing, the system will response user the answer by map and message on screen. If the system’s database changed, then the interface not only can be used in food and beverage service but also can be used in other kinds of service. The system was evaluated by using 30 examples and got 73% success in word segmentation and executing query. Therefore, it not only can improve the flexibly and convenience of spatial query but also has high performance in accuracy.