Page 179 - 《软件学报》2026年第3期
P. 179

1142                                                       软件学报  2026  年第  37  卷第  3  期


                                                表 A1    可执行语言生成示例     (续)

                           自然语言查询                查询类型                     转换后的可执行语言
                  How many POIs are there in each district of  query  district  feed  extend  [Cnt:  fun(t:  TUPLE)  poi  feed  filter
                  Nanjing?                                 [.GeoData within attr(t, GeoData)] count] consume;
                  Can you tell me the total area of the districts  query  district  feed  extend  [IntersectionArea:  area  (intersection
                  of  Nanjing  intersecting  with  the  Yangtze
                  River Basin?                  空间聚合查询 (.GeoData, Yangtze River Basin))] sum[IntersectionArea];
                                                           query  district  feed  extend  [Cnt:  fun(t:  TUPLE)  poi  feed  filter
                  Which  district  in  Nanjing  has  the  most  [.GeoData  within  attr(t,  GeoData)]  count]  sortby[Cnt  desc]  head[1]
                  POIs?
                                                           consume;

                 作者简介
                 刘孟怡, 博士生, CCF  学生会员, 主要研究领域为空间数据库.
                 许建秋, 博士, 教授, 博士生导师, CCF  高级会员, 主要研究领域为数据软件, 空间数据库, 移动对象数据库, 可扩充数据库.
                 童咏昕, 博士, 教授, 博士生导师, CCF  杰出会员, 主要研究领域为联邦学习, 时空大数据分析处理, 智慧城市, 众包计算, 群体智能, 隐私保护.
   174   175   176   177   178   179   180   181   182   183   184