首页> 外文期刊>Information Processing & Management >Querying XML documents using Prolog engines: When is this a good idea?
【24h】

Querying XML documents using Prolog engines: When is this a good idea?

机译:使用Prolog发动机查询XML文档:何时是一个好主意?

获取原文
获取原文并翻译 | 示例
       

摘要

XML has become a universal standard for information exchange over the Web due to features such as simple syntax and extensibility. Processing queries over these documents has been the focus of several research groups. In fact, there is broad literature in efficient XML query processing which explore indexes, fragmentation techniques, etc. However, for answering complex queries, existing approaches mainly analyze information that is explicitly defined in the XML document. A few work investigate the use of Prolog to increase the query possibilities, allowing inference over the data content. This can cause a significant increase in the query possibilities and expressive power, allowing access to non-obvious information. However, this requires translating the XML documents into Prolog facts. But for regular queries (which do not require inference), is this a good alternative? What kind of queries could benefit from the Prolog translation? Can we always use Prolog engines to execute XML queries in an efficient way? There are many questions involved in adopting an alternative approach to run XML queries. In this work, we investigate this matter by translating XML queries into Prolog queries and comparing the query processing times using Prolog and native XML engines. Our work contributes by providing a set of heuristics that helps users to decide when to use Prolog engines to process a given XML query. In summary, our results show that queries that search elements by a key value or by its position (simple search) are more efficient when run in Prolog than in native XML engines. Also, queries over large datasets, or that searches for substrings perform better when run by native XML engines.
机译:由于诸如简单的语法和可扩展性等功能,XML已成为网站上的信息交换的通用标准。处理对这些文件的查询一直是几个研究组的焦点。实际上,在有效的XML查询处理中存在广泛的文献,该处理探索索引,碎片技术等,但是对于回答复杂查询,现有方法主要分析XML文档中明确定义的信息。一些工作调查了Prolog的使用来增加查询可能性,允许推断对数据内容进行推断。这可能会导致查询可能性和富有表现力的显着增加,允许访问非明显的信息。但是,这需要将XML文档翻译成Prolog事实。但是对于定期查询(不需要推动),这是一个很好的替代方案吗?什么样的疑问可以从Prolog翻译中受益?我们可以始终使用Prolog发动机以有效的方式执行XML查询吗?采用替代方法有许多问题涉及运行XML查询。在这项工作中,我们通过将XML查询转换为Prolog查询并使用Prolog和Native XML引擎进行比较查询和比较查询处理时间来调查此问题。我们的工作通过提供一组启发式贡献,帮助用户决定何时使用Prolog引擎来处理给定的XML查询。总之,我们的结果表明,当在Prolog中运行时,搜索元素通过键值或其位置(简单搜索)的查询比在原生XML引擎中运行更有效。此外,在由本机XML引擎运行时,对大型数据集或搜索的查询会更好地执行更好。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号