首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:An Algorithm for Finding top-K Valid XPath Queries
  • 本地全文:下载
  • 作者:Kosetsu Ikeda ; Nobutaka Suzuki
  • 期刊名称:Information and Media Technologies
  • 电子版ISSN:1881-0896
  • 出版年度:2014
  • 卷号:9
  • 期号:3
  • 页码:209-221
  • DOI:10.11185/imt.9.209
  • 出版社:Information and Media Technologies Editorial Board
  • 摘要:Suppose that we have a DTD and XML documents valid against the DTD, and consider writing an XPath query to the documents. Unfortunately, a user often does not understand the entire structure of the documents exactly, especially in the case where the documents are very large and/or complex, or the DTD has been updated but the user misses it. In such cases, the user tends to write an invalid XPath query. However, it is difficult for the user to correct the query by hand due to his/her lack of exact knowledge about the entire structure of the documents. In this paper, we propose an algorithm that finds, for an XPath query q, a DTD D , and a positive integer K , top- K XPath queries most syntactically close to q among the XPath queries conforming to D , so that a user select an appropriate query among the K queries. We also present some experimental studies.
  • 关键词:XPath;DTD;XML
国家哲学社会科学文献中心版权所有